Age | Commit message (Collapse) | Author |
|
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
|
|
NDEBUG is defined), replace those usages with persistent alternatives
|
|
Directely or indirectly optimises the following functions:
* MapBlockMesh::MapBlockMesh
* MapBlockMesh::getTileInfo
* MapBlockMesh::makeFastFace
* MapBlockMesh::getSmoothLightCombined
|
|
@celeron55
Before patch, function consumes up to ~8% of the main server loop. After, ~0% (below level of 2 places of significance)
|
|
See issue #2017
Applied kahrl's gist
|
|
|
|
Leads to the following increases:
getSmoothLight() approx. 40% increase
getTileInfo() approx. 25% increase
MapBlockMesh::MapBlockMesh() 25-30%
|
|
getTileInfo() ~1.5x faster
getSmoothLight ~2.0x faster
|
|
|
|
issues
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It'd take years to figure out what caused the accident.
|
|
|
|
|
|
|
|
|
|
|
|
GPLv2/later, by agreement of major contributors
|
|
light, removed footprints
|
|
legacy_wallmounted
|
|
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
|
|
|
|
|
|
|
|
|
|
|
|
node/tool/item/whatever types
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
already fucked up maps are now loaded correctly.
|
|
|
|
|
|
|
|
|
|
content_mapblock.{h,cpp}
|
|
stuff from material.cpp to content_mapnode.{h,cpp}
|
|
|