Commit Graph

5 Commits

Author SHA1 Message Date
Megaf de0cbd5534 Changed default settings to bring a better gameplay.
Reduced viewing_range_nodes_max

viewing_range_nodes_max tends to actually push more than it should.

Matching the example with the default settings.

And adding a further description about it.

Missed changing curl timeout. Now set to 4000

Fix leaking global in texture pack menu

Simplify loading of Android version of menu

Mgv5 get ground level at point function. Fast spawn player version

Mgv5 1 up 1 down overgeneration for biome surface continuity

Optimise getTileInfo()

getTileInfo() ~1.5x faster
getSmoothLight ~2.0x faster

Optimise functions from CNodeDefManager and VoxelManipulator

CNodeDefManager::get()
VoxelManipulator::addArea()

serialize.h: use machine native byte swapping if available, fall-back to previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000()

nodemetadata.cpp, nodetimer.cpp
	optimzation: simpler deserialize node position method

staticobject.cpp:
	cleanup: use util/serialize.h inlines instead of its own de/serialization

serialize.cpp:
	minor optimization/cleanup: avoid generation of unneeded string temporary

CMakeLists.txt, cmake_config.h.in: detection of endian.h

config.h: added HAVE_ENDIAN_H

Commits due to feedback squashed

Signed-off-by: Craig Robbins <kde.psych@gmail.com>

Update credits menu
2014-11-21 20:40:08 +00:00
Ilya Zhuravlev 6a1670dbc3 Migrate to STL containers/algorithms. 2013-03-11 19:08:39 -04:00
Sfan5 6d0ea26c2d Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam 497ff1ecd6 Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
Perttu Ahola eca1c96412 Move util/serialize.h out from staticobject.h for smaller header dependencies 2012-11-26 11:18:34 +02:00