| Commit message (Collapse) | Author | Age |
|
|
| |
Some other minor parts of clientmap.cpp have been cleaned up along the way
|
| |
|
|
|
|
|
|
| |
Implement mapblock camera offset correctly - reduce client jitter
Co-authored-by: hecktest <>
|
| |
|
|
|
|
|
|
| |
- Avoid calculating isBlockInSight for blocks without meshes.
- Add metric for how many blocks the client has currently loaded.
- Make some variables constant.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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)
|
|
|
| |
Finish getNode cleanup
|
|
Update Android.mk
Remove 'src/client' from include_directories
|