aboutsummaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAge
* 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)
* Fix some reference counters (memleak) (#8981)SmallJoker2019-09-24
| | | | | Fix some reference counters (memleak) Map::dispatchEvent: Allocation safety using references
* 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
|
* Improve undersampling settingsHugo Locurcio2019-09-17
| | | | | | | | | The setting now accepts values between 1 and 8 in the Advanced Settings menu. Values 0 and 1 now behave the same way (setting it to 1 won't disable MSAA anymore), so there's no need to expose 0 as a value. This closes #8939.
* Built-in formspecs: Force version 1SmallJoker2019-09-14
|
* client.h: Add missing const'sANAND2019-09-14
|
* LocalPlayer: Fix code-styleANAND2019-09-14
|
* client.cpp: Fix code-style in Client::sendPlayerPosANAND2019-09-14
|
* Fix LocalPlayer::isDead always returning false if player is immortalANAND2019-09-14
|
* Send ActiveObjects once right after Init2ANAND2019-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
* particles.cpp: Fix code-styleANAND2019-08-31
| | | | Mainly spacing and pointer placement
* clientobject.h: Fix code-styleANAND2019-08-31
|
* Fix rotation of attached particlespawnerPedro Gimeno2019-08-31
| | | | Co-authored-by: ANAND <ClobberXD@gmail.com>
* fontengine: Fix non-gettext buildsSmallJoker2019-08-24
|
* 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.
* Occlusion: Check for light_propagates and do mapblock bounds checksSmallJoker2019-08-23
|
* Occlusion: Begin cleanupSmallJoker2019-08-23
|
* Revert "Don't send position update packet if player is dead"sfan52019-08-21
| | | | This reverts commit fb6f1fdcbe3ee2321cc33eb00f2c6da86744d00a.
* Don't send position update packet if player is deadANAND2019-08-20
|
* Disable autoforward if player is deadANAND2019-08-20
|
* Restore intended functionality to minimap markers (#8819)theviper1212019-08-19
|
* Fix unnecessary exception use in Map::getSectorXXX (#8792)Jozef Behran2019-08-13
| | | | | | | The Map::getSectorNoGenerate throws an exception but no other code is really dependent on that. Fix the odd instance of misuse in ClientMap::emergeSector and remove the exception throwing version of the method along with the "NoEx" suffixes in the names of these methods.
* 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
* Implement adding velocity to player from Luasfan52019-08-10
| | | | The intended usecase is knockback, but there's potential for more.
* Game: Fix double BS multiplicationSmallJoker2019-08-07
|
* Client::Interact: Use InteractAction enum instead of numeric constantsANAND2019-08-07
| | | | This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
* Unify wield item handling (#8677)SmallJoker2019-08-07
| | | | 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
* Hide chat when console is open (#8656)ANAND2019-08-07
|
* Fix inventory_overlay for nodes without inventory_image (#8433)DS2019-08-07
|
* Optimize usage of TOSERVER_GOTBLOCKS packetsfan52019-08-07
|
* Clean up and fix freetype=false crashes (#8641)SmallJoker2019-08-06
| | | | | A IGUIFont of type bitmap/vector cannot be converted to CGUITTFont Fixes various segfaults in gameplay Shorter font cache code, cleaned up (?)
* Unify GLES support in gui scaling filtersfan52019-08-04
|
* Unify OpenGL ES supportsfan52019-08-04
|
* Add styles to most elementsrubenwardy2019-08-03
|
* Add custom colorable GUIButton implementationrubenwardy2019-08-03
|
* Mainmenu: Use textarea in error formspecsSmallJoker2019-08-01
|
* Sky: Refactor of moon and sun drawing (#8683)Methacrylon2019-07-30
| | | Split sun and moon render parts from the main render function.
* ContentCAO: Fix broken attachments on join (#8701)SmallJoker2019-07-29
| | | | | | | | | | | | | What happened: 1) Object data is received. Client begins to read the data 2) Client initializes all its children (gob_cmd_update_infant) 3) Children try to attach to parent (yet not added) 4) Parent initializes, is added to the environment And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node. The solution here is to: 1) Use the same structure as ServerActiveObject 2) Attach all children after the parent is really initialized
* Fix missing item images clipping in formspecs (#8652)Pierre-Yves Rollo2019-07-26
| | | | | | | | * Fix clipping of itemimage * Code style * More code styling
* Optimize getting active objects a bit. #8674Lars Hofhansl2019-07-16
|
* Do predict when sneak-place to node with on_rightclickDS-Minetest2019-07-08
|
* Optimize and unify mesh processing (#7851)Vitaliy2019-06-28
|
* Add support for 9-sliced backgrounds (#8600)rubenwardy2019-06-22
| | | | | 9-slice textures are commonly used in GUIs to allow scaling them to match any resolution without distortion. https://en.wikipedia.org/wiki/9-slice_scaling
* Fix segfault on quitting with open node formspec (#8608)SmallJoker2019-06-21
|
* Formspecs: Close on metadata removal (#8348)SmallJoker2019-06-10
| | | | Formspecs will now close as soon the formspec string in the node metadata turns invalid.