aboutsummaryrefslogtreecommitdiff
path: root/src/client/game.cpp
Commit message (Collapse)AuthorAge
* Input: Fix on_rightclick called when placing into airSmallJoker2020-11-29
|
* Sky: support GLES2numzero2020-11-26
| | | | IrrLicht built-in shader is broken, have to write my own
* Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo2020-11-23
|
* Joystick: Remap joystick-specific KeyTypes to generic onesMarkus Koch2020-11-09
| | | | | | | | | | | | | | According to the following table: * MOUSE_L -> DIG * MOUSE_R -> PLACE * SCROLL_UP -> HOTBAR_NEXT * SCROLL_DOWN -> HOTBAR_PREV This commit entirely removes the special KeyTypes used for joysticks. Support for the MOUSE KeyTypes had already been removed in the main game code without adapting the joystick code, breaking joystick input. This commit restores joystick functionality.
* Fix Media... 0% on loading screen (#9478)Maksim2020-10-21
|
* Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck.Lars2020-10-17
|
* Remove all bump mapping and parallax occlusion related code.Lars2020-10-17
|
* Minimap as HUD element with API controlPierre-Yves Rollo2020-10-04
| | | | | | | Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
* Add First Person Attachments (#10360)Jordan Snelling2020-10-04
| | | | | | Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
* Reduce the FPS when the window is unfocused (#8837)HybridDog2020-10-03
|
* Properly handle mod-errors in on_shutdownDesour2020-08-24
|
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
| | | | Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
* Play place_failed sound if occupied or cannot attach (#9486)Wuzzy2020-07-27
|
* Add object crosshair, disable entity selectionboxes by default (#9523)LoneWolfHT2020-07-14
| | | | Adds new object crosshair base pack texture
* Cleanup ClientLauncher structure (#10160)SmallJoker2020-07-14
| | | Remove duplicated variables and unify the startup data into a new (inherited) struct.
* Exposing the zoom key to Lua API (#9903)Lars Müller2020-06-13
| | | Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
* TouchScreenGUI: fix some bugs, cleanupMoNTE482020-06-09
|
* Value copy / allocation optimizations mostly in server, SAO and serialize codesfan52020-05-27
|
* Add chat_log_level setting (#9223)SmallJoker2020-05-14
| | | | | Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
* Server class code cleanups (#9769)Loïc Blot2020-05-07
| | | | | | | | | | | | | | | | | | | * Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
* Fix broken client if openal cannot be opened (#9804)Loïc Blot2020-05-05
|
* Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker2020-05-05
|
* Ensure game is shutdown if server throws exception (#9742)Paul Ouellette2020-04-25
|
* Add server side translations capability (#9733)EvidenceB Kidscode2020-04-25
| | | | * Add server side translations capability
* Camera: Fix shootline line offsets II (#9730)SmallJoker2020-04-23
|
* Camera: Fix shooting line offsets (#9681)SmallJoker2020-04-16
| | | | Removes duplicated offset calculations from Game and use whatever the Camera class returns. This keeps the eye position nicely in sync, and gets rid of duplicated code.
* Remove sound menu and show proper msgs if sound is off (#9069)Wuzzy2020-04-13
|
* Play 'player_jump' when player jumps (#9373)Wuzzy2020-04-12
|
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* A few initialization cleanupssfan52020-04-11
|
* Overall improvements to log messages (#9598)sfan52020-04-08
| | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
* Add comments for translators (#9510)Wuzzy2020-03-20
| | | | | * Add translator comments for "special" strings * Add translator comments for some "tricky" strings
* set_sky improvements, set_sun, set_moon and set_starsJordach2020-03-05
|
* Add z-index management to HUDPierre-Yves Rollo2019-12-06
|
* Run on_item_use CSM callback even if item is not marked usablesfan52019-11-11
| | | | | Mods may want to to handle item interaction even if the item is not marked usable (= server-side callback exists).
* Fix isDead()/autoforward crash (#9031)Paramat2019-10-09
| | | | Crash occurred in singleplayer when leaving a world with autoforward enabled then re-entering a world.
* Move Quicktune code to util/ (#8871)ANAND2019-09-29
|
* Simple shader fixes. (#8991)lhofhansl2019-09-26
| | | | | 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)
* Move the code for meta formspec into bool Game::nodePlacement(const ↵DS-Minetest2019-09-22
| | | | ItemDefinition &selected_def,
* Add support for per-player FOV overrides and multipliersAnand S2019-09-19
|
* Trigger on_place in many situations even if prediction failedDS-Minetest2019-09-19
|
* Built-in formspecs: Force version 1SmallJoker2019-09-14
|
* Formspecs: Introduce formspec_version to modsSmallJoker2019-09-14
|
* Load CSM environment after the restrictions are knownSmallJoker2019-09-14
| | | | | | | 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
* Inventory: Send dirty lists where appropriate (#8742)SmallJoker2019-08-24
| | | | | 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.
* Disable autoforward if player is deadANAND2019-08-20
|
* Better F6 profiler (#8750)SmallJoker2019-08-13
| | | | | | | 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)
* Merge pull request #8776 from osjc/FixGetNodeJozef Behran2019-08-10
| | | Finish getNode cleanup
* Game: Fix double BS multiplicationSmallJoker2019-08-07
|