minetest/src/util
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
..
CMakeLists.txt Move scriptapi to separate folder (by sapier) 2013-05-25 00:51:02 +02:00
container.h Make MutexQueue use jsemaphore for signaling 2014-01-10 10:10:45 +01:00
directiontables.cpp Update Copyright Years 2013-02-24 20:15:24 +01:00
directiontables.h Update Copyright Years 2013-02-24 20:15:24 +01:00
mathconstants.h Define M_PI on MSVC 2012-07-21 03:36:34 +03:00
numeric.cpp Fix compiling with 32bit MinGW 2013-11-12 15:18:20 +01:00
numeric.h Remove unused rangelim function (the macro still exists) 2014-11-19 10:19:52 +01:00
pointedthing.cpp Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
pointedthing.h Update Copyright Years 2013-02-24 20:15:24 +01:00
pointer.h Bunch of small fixes (coding style, very unlikely errors, warning messages) 2014-04-19 11:56:19 +02:00
serialize.cpp Changed default settings to bring a better gameplay. 2014-11-21 20:40:08 +00:00
serialize.h Changed default settings to bring a better gameplay. 2014-11-21 20:40:08 +00:00
string.cpp Added names colours and refactored parseColorString() 2014-10-29 03:10:59 -04:00
string.h Cleanup and (mostly) document util/string.h and (very) minor refactoring 2014-11-02 18:07:20 +01:00
thread.h Make MutexQueue use jsemaphore for signaling 2014-01-10 10:10:45 +01:00
timetaker.cpp Fix unit reported by TimeTaker (was always ms) 2014-10-09 11:15:03 +02:00
timetaker.h Add varying levels of precision to TimeTaker 2013-03-29 16:53:15 -04:00