aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientmap.cpp
Commit message (Collapse)AuthorAge
* Keep mapblocks in memory if they're in range (#10714)hecks2021-02-26
| | | Some other minor parts of clientmap.cpp have been cleaned up along the way
* Minor profiler fixes.Lars2020-12-23
|
* Implement mapblock camera offset correctly (#10702)hecks2020-12-05
| | | | | | Implement mapblock camera offset correctly - reduce client jitter Co-authored-by: hecktest <>
* Fix camera panning glitches (partially revert 10489.)Lars2020-11-25
|
* Minor clientmap improvements.Lars2020-10-19
| | | | | | - Avoid calculating isBlockInSight for blocks without meshes. - Add metric for how many blocks the client has currently loaded. - Make some variables constant.
* Avoid drawing invisible blocks on the client.Lars2020-10-13
|
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Occlusion: Check for light_propagates and do mapblock bounds checksSmallJoker2019-08-23
|
* Occlusion: Begin cleanupSmallJoker2019-08-23
|
* 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
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
Update Android.mk Remove 'src/client' from include_directories