aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
AgeCommit message (Collapse)Author
2019-12-06Add z-index management to HUDPierre-Yves Rollo
2019-11-11Run on_item_use CSM callback even if item is not marked usablesfan5
Mods may want to to handle item interaction even if the item is not marked usable (= server-side callback exists).
2019-10-09Fix isDead()/autoforward crash (#9031)Paramat
Crash occurred in singleplayer when leaving a world with autoforward enabled then re-entering a world.
2019-09-29Move Quicktune code to util/ (#8871)ANAND
2019-09-26Simple shader fixes. (#8991)lhofhansl
1. Pass current camera offset to shader, so shader have access to the global coordinates 2. Pass animation timer to fragment shader. C++ code is already there, just wasn't declared in the shader 3. Delay animation timer wrap-around (from 100s to about 16 minutes)
2019-09-22Move the code for meta formspec into bool Game::nodePlacement(const ↵DS-Minetest
ItemDefinition &selected_def,
2019-09-19Add support for per-player FOV overrides and multipliersAnand S
2019-09-19Trigger on_place in many situations even if prediction failedDS-Minetest
2019-09-14Built-in formspecs: Force version 1SmallJoker
2019-09-14Formspecs: Introduce formspec_version to modsSmallJoker
2019-09-14Load CSM environment after the restrictions are knownSmallJoker
Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors
2019-08-24Inventory: Send dirty lists where appropriate (#8742)SmallJoker
This change reduces the amount of sent data towards clients. Inventory lists that are already known to the player are skipped, saving quite some data over time. Raises protocol version to 38 to ensure correct backwards-compatible code.
2019-08-20Disable autoforward if player is deadANAND
2019-08-13Better F6 profiler (#8750)SmallJoker
Update the profiler names to make more sense of what they actually represent Move the profiler code from header to its source file Use monospace font to align lines Format the statistics line to align better with surrounding values Refresh the profiler each 3 seconds (roughly)
2019-08-10Merge pull request #8776 from osjc/FixGetNodeJozef Behran
Finish getNode cleanup
2019-08-07Game: Fix double BS multiplicationSmallJoker
2019-08-07Client::Interact: Use InteractAction enum instead of numeric constantsANAND
This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
2019-08-07Unify wield item handling (#8677)SmallJoker
This moves the wield item functions to Player and the tool utils for range calculation Also 'local_inventory' was removed due to redundancy in Client
2019-08-07Hide chat when console is open (#8656)ANAND
2019-08-01Mainmenu: Use textarea in error formspecsSmallJoker
2019-07-08Do predict when sneak-place to node with on_rightclickDS-Minetest
2019-06-10Formspecs: Close on metadata removal (#8348)SmallJoker
Formspecs will now close as soon the formspec string in the node metadata turns invalid.
2019-05-21Make autoforward simulate the 'up' key (#8249)DS
2019-04-27Use player as starting point instead of camera when pointing node (#8261)Muhammad Rifqi Priyo Susanto
Same pointing area on both camera modes. This fix is inapplicable for non-crosshair input.
2019-04-19Android: Clear chat open flag on cancel or completion (#8478)stujones11
2019-03-12Drop GUIConfirmRegistration::m_address unused fieldLoïc Blot
2019-02-23Remove 's' from 'automatic forwards' (#8272)ANAND
2019-01-03CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)Paramat
Previously, when the CSM restriction 'LOAD_CLIENT_MODS' was used a client was still able to add CSM code to 'builtin' to bypass that restriction, because 'builtin' is not yet verified. Until server-sent CSM and verifying of 'builtin' are complete, make 'LOAD_CLIENT_MODS' disable the loading of builtin. Clarify code comments and messages to distinguish between client-side modding and client-side scripting. 'Scripting' includes 'builtin', 'modding' does not.
2018-12-31Extend pitch fly mode to swimming (#7943)random-geek
2018-12-13Make showOverlayMessage strings translatable (#7964)Wuzzy
2018-12-02Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg
add associated keybinding options update docs and settingtypes
2018-12-01Added pitch fly mode (#7817)Gaël C
In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly. It allows smoother and more complex movements. Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories