aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-29noise: Throw exception on noise allocation failurekwolekr
2014-11-29Fix MSVC compiling error (argc/argv not available to pass to init_gettext)SmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-28Improve Lua API documentationCiaran Gultnieks
Changes: * Add extra documentation for remove_item. This isn't as silly as it sounds: iterate a list containing items with unique metadata each, and remove_item the first one you find, placing into a different - fine, except the remove will invariably remove the wrong one, leading to items being duplicated and others destroyed. Arguably it's a bug, and Inventory::removeItem should actually remove the item you tell it to. (i.e. if the passed ItemStack has metadata, match it). But it seems reasonable to just document the behaviour more clearly. * Improve string_to_pos documentation. * Clarify dig_node documentation (return value). * Better on_step documentation. * get_nodemeta -> get_meta. * Other minor fixes.
2014-11-28Update minetest.po (Japanese)Rui
2014-11-28Fix regression with command line --go optionCraig Robbins
2014-11-27Add minetest.copy_table(table) To get rid off the "table references"SmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Don't corrupt stepheight when setting other propertiesCiaran Gultnieks
2014-11-26Wield: always obey anisotropic_filter setting, not just for hi res texturesKahrl
2014-11-26EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or belowKahrl
This is not optimal as it will cause minor graphical glitches for Irrlicht 1.7 users, but at least it fixes the build.
2014-11-27added enable_build_where_you_stand optionSokomine
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Wieldmesh: don't force anisotropic filtering on, instead disable mipmapsKahrl
This should fix #1844. Thanks to oleastre for making the first version of this commit (#1848).
2014-11-26Fix some undeclared global variablesCraig Davison
2014-11-26Only set the camera update keymap when using a debug buildrubenwardy
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Fix Android main menu crash, and user data directory check.Kodexky
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Increase step smoothing to fit 1:1 stairs (works well on slabs too)Calinou
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Fix client "double saving" simple singleplayer local mapsCraig Robbins
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-25Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere
textures correctly According to doc/lua_api.txt if paramtype2 == "facedir" the two least significant bits of parm2 orient the texture around the axis. For dirs1 (looking at a wall) these would be 0, 1, 2, 3 and for dirs2 (looking at the ceiling) 2, 1, 0, 3
2014-11-23Make duplicate warning checks file and line specificShadowNinja
2014-11-23Fix console spaming by debug function on mod checking for global variable to ↵sapier
exist.
2014-11-23Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel
Mesh rotation helpers.
2014-11-23Fix regression with USE_REDIS (refactor_main)Craig Robbins
2014-11-23refactor main.cppCraig Robbins
2014-11-22Fix smooth lighting (ambient occlusion)Craig Robbins
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22Fix compiling if no endian.h foundPavel Puchkin
f7d6509 introduces error when no endian.h found in the system. Since "CHECK_INCLUDE_FILE" returns empty string instead of "0", when "cmake_config.h" is generated it has "#define CMAKE_HAVE_ENDIAN_H " line. Later we have "#define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H" in the "config.h", an thus "HAVE_ENDIAN_H" is also empty sting. Because of this, "#if HAVE_ENDIAN_H" is incorrect preprocessor directive. Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-21Update credits menuShadowNinja
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-21Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins
CNodeDefManager::get() VoxelManipulator::addArea()
2014-11-21Optimise getTileInfo()Craig Robbins
getTileInfo() ~1.5x faster getSmoothLight ~2.0x faster
2014-11-20Mgv5 1 up 1 down overgeneration for biome surface continuityparamat
2014-11-20Mgv5 get ground level at point function. Fast spawn player versionparamat
2014-11-20Simplify loading of Android version of menuShadowNinja
2014-11-20Fix leaking global in texture pack menuShadowNinja
2014-11-20Fix raillike bug (currently manifests itself on Android), and minor ↵Kodexky
improvement to readability. NB: Minor edits to patch made by Zeno- (int to short and minor formatting)
2014-11-19Clean up rollbackShadowNinja
2014-11-19Fix wallmounted mesh rotationsShadowNinja
2014-11-19Add strict moduleShadowNinja
Also fix leaking globals found by it.
2014-11-19Tweak core.serializeShadowNinja
This adds proper support for nested tables and improves performance a bit.
2014-11-19Add (optional) client-side saving of server map to disksfan5
2014-11-19Fix Belarusian translation headerShadowNinja
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-19Add gettext to Travis buildShadowNinja
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-19Remove unused rangelim function (the macro still exists)Kahrl
2014-11-18Fix indonesian language errorsSmallJoker
Errors found by @Sokomine.
2014-11-18Update Indonesian Languagesrifqi
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-15Fix double free bug when server is shut downCraig Robbins
Thanks @oleastre
2014-11-14Fix NoisePerlin3DEased return valuekwolekr
2014-11-14Fix warnings and other misc. minor changeskwolekr
2014-11-14Remove most exceptions from getNode() (and variants)Craig Robbins
2014-11-14Improved VoxelArea variable locality, thus performanceWouters Dorian
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-13Add option 'eased' to NoiseParamsSmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>