aboutsummaryrefslogtreecommitdiff
path: root/src/util/serialize.cpp
AgeCommit message (Collapse)Author
2014-11-21serialize.h: use machine native byte swapping if available, fall-back to ↵Rafael Reilova
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>
2014-03-21Fix serializing of signed numbers in serializeStructToStringShadowNinja
2014-03-15Make serializeStructToString use an ostringstreamShadowNinja
2014-03-14Revert "Use fixed-width format specifiers in serializeStructToString"ShadowNinja
This reverts commit 875f1327a47f78d783c3abc7f7acc3977dc286ec. Fixed width format specifiers are only officially availale in C99 and C++11.
2014-03-13Use fixed-width format specifiers in serializeStructToStringShadowNinja
2014-03-12Replace usage of long long with u64/s64ShadowNinja
2014-02-15Add minetest.set_noiseparam_defaults() Lua APIkwolekr
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola