aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-06Close settings files and save them correctlySmallJoker
2014-12-06Add workaround for failing clang buildsfan5
2014-12-06Rewrite generate notification mechanismkwolekr
Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
2014-12-07Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins
NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released
2014-12-05Add name of node 'pointed at' to debugCraig Robbins
This is "Add name of node pointed at to debug #1677" by @rubenwardy updated to work with game.cpp after it was refactored.
2014-12-05Fix MSVC buildSmallJoker
Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
2014-12-05Recalculate normals for mesh #0. Fix for issue #1902.RealBadAngel
2014-12-05(INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins
Until a permanent fix can be developed
2014-12-04Optimise VoxelManipulator::copyFromCraig Robbins
~3-4x faster This indirectly optimises MapBlock:copyTo() which in turn improves performance of MeshMakeData::fill()
2014-12-04Right mouse button behaviour for craft/inventory If right mousebutton ↵Craig Robbins
clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item.
2014-12-04Settings: Various setting group fixes and enhancementskwolekr
- Remove blank setting values when setting has a group - Pair setting values with groups in file when possible - Preserve user-set whitespace in setting objects - Delete setting value when setting NoiseParams group - Delete overwritten groups outside of lock
2014-12-03Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵paramat
of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
2014-12-02Settings: Fix getNoiseParamsFromValue()kwolekr
2014-12-02Use setting groups for NoiseParamskwolekr
Add format example to minetest.conf.example Add Settings::setU16() Throw exception on attempted access of NULL settings groups
2014-12-01Fix settings callback "call" lost on rebasesapier
2014-12-01Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins
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)
2014-12-01Fix buildCraig Robbins
Note: this does not fix the warnings generated by clang
2014-11-30LuaSettings: Sanitize setting name stringskwolekr
2014-11-30Fix segfault at exit caused by non grabbed fontKahrl
2014-11-30settings: Add setting groups and multiline entrieskwolekr
2014-11-30Make hud use fontengine toosapier
Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
2014-11-30Scale form elements consistentlyZefram
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.
2014-11-30Implement proper font handlingsapier
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-28Fix regression with command line --go optionCraig Robbins
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-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-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-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 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