aboutsummaryrefslogtreecommitdiff
path: root/src/util
AgeCommit message (Collapse)Author
2014-11-25Fixes for Android build errors. Enable sensor landscape rotation.KodexKy
Fix typo in Android Makefile ndk path. Fix touchscreen parts of game.cpp to work after Zeno's refactor. Fix isdigit and isspace overload conflict with Android Irrlicht in string.h Enable sensor landscape rotation in Android Manifiest. Add mapgen v5 to Android build. Fix Makefile not checking leveldb. Signed-off-by: Craig Robbins <kde.psych@gmail.com>
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-11-19Remove unused rangelim function (the macro still exists)Kahrl
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
2014-11-02Cleanup and (mostly) document util/string.h and (very) minor refactoringCraig Robbins
Updated: Incorporated feedback from 'kahrl' Updated: Moved MinetestApp::boolToCStr() from game.cpp into string.h renaming it bool_to_cstr()
2014-10-29Fix bug introduced by me (Zeno)Craig Robbins
2014-10-29Added names colours and refactored parseColorString()Craig Robbins
2014-10-29Refactor decoration-related codekwolekr
Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
2014-10-09Fix unit reported by TimeTaker (was always ms)Kahrl
2014-10-05Add [colorize modifierBlockMen
2014-10-03Fix misc. style issueskwolekr
2014-09-28Standardize tooltip row detectionBlockMen
2014-09-21Use const references for Settings methodsShadowNinja
Also check for (this == &other) before locking mutexes.
2014-06-29Add support for Android 2.3+sapier
There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
2014-06-29Fix msvc2012 buildsapier
2014-06-29Add formspec api versioningsapier
2014-04-19Bunch of small fixes (coding style, very unlikely errors, warning messages)sapier
2014-04-12Fix write and read S32 vectorsBlockMen
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
2014-02-09Add capability to read table flag fields from Lua APIkwolekr
2014-02-08Make flag strings clear specified flag with 'no' prefixkwolekr
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
2014-02-05Revert "Fix settings to honor numeric conversion errors"kwolekr
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-04Fix settings to honor numeric conversion errorssapier
Rename try* non exceptioning functions to *NoEx
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-13Implement urlencode and urldecodeKahrl
2013-12-13Implement httpfetch module and initialize it from main()Kahrl
Add curl_parallel_limit setting that will replace media_fetch_threads in a later commit. Fix a typo in MutexedQueue::pop_back() that made it impossible to compile code that used this function. (Noticed this while implementing httpfetch.)
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-17Add missing RequestQueue docsapier
2013-11-17Fix multicaller support in RequestQueuesapier
2013-11-12Fix compiling with 32bit MinGWSfan5
2013-11-11Fix win32/msvc i18n (quite UGLY version, blame Microsoft)sapier
2013-11-04Accept hexadecimal and string values for seedskwolekr
2013-09-15Always use builtin JThread librarykwolekr
2013-09-11Change mainmenu texture handling + small misc changesKahrl
Texture names must now be escaped in formspec elements image[], background[], image_button[], image_button_exit[]. Instead of special-case handling of texture loading (and unloading which was missing) in guiFormSpecMenu.cpp, use the newly created ISimpleTextureSource interface which is a minimal subset of ITextureSource. There is an implementation of this interface used by GUIEngine (MenuTextureSource). Fix an off-by-one bug in unescape_string; it caused requests for a texture called "\0".
2013-09-09Add dummy and LevelDB database backendsIlya Zhuravlev
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-04Add texture pack selection to main menuNovatux
2013-07-27Weather supportproller
2013-07-08Settings: everything != 0 equals true; remove .asm shadersPilzAdam
2013-07-07include mathconstants.h in numerics.cppVincent Heuken
2013-06-22Decoration: Add Schematic decoration typekwolekr
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-18Fix math for isBlockInSight. Fixes #718 (client-side).Aaron Suen
2013-03-29Add varying levels of precision to TimeTakerkwolekr