aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix settings callback "call" lost on rebasesapier2014-12-011-0/+3
|
* Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins2014-12-013-7/+9
| | | | | Without this patch node 0,0,0 is highlighted when enable_node_highligting is false There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887)
* Fix buildCraig Robbins2014-12-011-0/+1
| | | | Note: this does not fix the warnings generated by clang
* LuaSettings: Sanitize setting name stringskwolekr2014-11-303-1/+12
|
* Fix segfault at exit caused by non grabbed fontKahrl2014-11-301-0/+1
|
* settings: Add setting groups and multiline entrieskwolekr2014-11-303-246/+478
|
* Make hud use fontengine toosapier2014-11-3011-46/+40
| | | | | Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
* Scale form elements consistentlyZefram2014-11-303-209/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ratios between the sizes of form elements, including text, is now fixed, aside from variations caused by rounding. This makes form layout almost fully predictable, and particularly independent of player's screen size. The proportions of non-text elements are the traditional proportions. For compatibility, the way in which element positions and sizes are specified remains unchanged, in all its baroqueness, with one exception. The exception is that the position of a label[] element is now defined in terms of the vertically center of the first line of the label, rather than the bottom of the first line of the label. This change allows a label to be precisely aligned with button text or an edit box, which are positioned in a centering manner. Label positioning remains consistent with the previous system, just more precisely defined. Make multi-line label[] elements work properly. Previously the code set a bounding rectangle assuming that there would be only a single line, and as a result a multi-line label would be cut somewhere in the middle of the second line. Now multi-line labels not only work, but have guaranteed line spacing relative to inventory slots, to aid alignment. Incidentally fix tabheader[] elements which were being constrained to the wrong width. Given an unusually large form, in variable-size mode, the form rendering system now chooses a scale that will fit the entire form on the screen, if that doesn't make elements too small. Fixed-size forms, including the main menu, are have their sizes fixed in inch terms. The fixed size for fixed-size forms and the preferred and minimum sizes for variable-size forms all scale according to the gui_scaling parameter.
* Implement proper font handlingsapier2014-11-3020-194/+800
|
* noise: Throw exception on noise allocation failurekwolekr2014-11-293-9/+38
|
* Fix MSVC compiling error (argc/argv not available to pass to init_gettext)SmallJoker2014-11-291-3/+3
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix regression with command line --go optionCraig Robbins2014-11-281-3/+10
|
* Don't corrupt stepheight when setting other propertiesCiaran Gultnieks2014-11-261-2/+2
|
* Wield: always obey anisotropic_filter setting, not just for hi res texturesKahrl2014-11-261-3/+2
|
* EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or belowKahrl2014-11-261-0/+2
| | | | | This is not optimal as it will cause minor graphical glitches for Irrlicht 1.7 users, but at least it fixes the build.
* added enable_build_where_you_stand optionSokomine2014-11-272-0/+2
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Wieldmesh: don't force anisotropic filtering on, instead disable mipmapsKahrl2014-11-262-2/+6
| | | | | This should fix #1844. Thanks to oleastre for making the first version of this commit (#1848).
* Only set the camera update keymap when using a debug buildrubenwardy2014-11-261-1/+6
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix Android main menu crash, and user data directory check.Kodexky2014-11-261-0/+2
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Increase step smoothing to fit 1:1 stairs (works well on slabs too)Calinou2014-11-261-1/+1
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix client "double saving" simple singleplayer local mapsCraig Robbins2014-11-263-4/+9
|
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-252-6/+6
| | | | | | | | | | | 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>
* Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel2014-11-232-0/+654
| | | | Mesh rotation helpers.
* Fix regression with USE_REDIS (refactor_main)Craig Robbins2014-11-231-1/+1
|
* refactor main.cppCraig Robbins2014-11-231-916/+1210
|
* Fix smooth lighting (ambient occlusion)Craig Robbins2014-11-221-13/+18
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix compiling if no endian.h foundPavel Puchkin2014-11-221-0/+3
| | | | | | | | | | | | 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>
* serialize.h: use machine native byte swapping if available, fall-back to ↵Rafael Reilova2014-11-218-85/+115
| | | | | | | | | | | | | | | | | | | | | 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>
* Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins2014-11-214-22/+28
| | | | | CNodeDefManager::get() VoxelManipulator::addArea()
* Optimise getTileInfo()Craig Robbins2014-11-212-46/+40
| | | | | getTileInfo() ~1.5x faster getSmoothLight ~2.0x faster
* Mgv5 1 up 1 down overgeneration for biome surface continuityparamat2014-11-201-16/+18
|
* Mgv5 get ground level at point function. Fast spawn player versionparamat2014-11-202-4/+38
|
* Simplify loading of Android version of menuShadowNinja2014-11-203-1/+44
|
* Fix raillike bug (currently manifests itself on Android), and minor ↵Kodexky2014-11-201-7/+8
| | | | | | improvement to readability. NB: Minor edits to patch made by Zeno- (int to short and minor formatting)
* Clean up rollbackShadowNinja2014-11-1912-1215/+848
|
* Fix wallmounted mesh rotationsShadowNinja2014-11-192-3/+3
|
* Add (optional) client-side saving of server map to disksfan52014-11-193-0/+46
|
* Remove unused rangelim function (the macro still exists)Kahrl2014-11-191-9/+0
|
* Fix double free bug when server is shut downCraig Robbins2014-11-151-0/+1
| | | | Thanks @oleastre
* Fix NoisePerlin3DEased return valuekwolekr2014-11-141-1/+1
|
* Fix warnings and other misc. minor changeskwolekr2014-11-1411-64/+36
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-1412-434/+408
|
* Add option 'eased' to NoiseParamsSmallJoker2014-11-133-3/+6
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix compilation under some Linux distributionskwolekr2014-11-131-1/+1
|
* Mapgen v7: Fix uninitialized spflagskwolekr2014-11-122-5/+6
| | | | Mapgen v5: Fix minor style issue
* Add eased 3d point-value noise functionskwolekr2014-11-122-12/+24
|
* Add Generator Element Management frameworkkwolekr2014-11-1222-460/+616
| | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager
* Wielded fixes. Add shaders support.RealBadAngel2014-11-132-43/+88
|
* Fix profiler values not being updated (F6) and not being loggedCraig Robbins2014-11-111-1/+34
|
* Serverlist: announce mg_name from map_meta.txt instead of minetest.confKahrl2014-11-103-1/+4
|