aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Ignore some mouse events sent from scrollbar to GUITableKahrl2014-12-061-0/+8
| | | | Fixes #1567, #1806.
* Close settings files and save them correctlySmallJoker2014-12-061-2/+5
|
* Add workaround for failing clang buildsfan52014-12-061-0/+5
|
* Build for win32 & win64 on Travis toosfan52014-12-066-12/+97
|
* Rewrite generate notification mechanismkwolekr2014-12-0619-327/+434
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins2014-12-079-28/+105
| | | | | 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
* Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker2014-12-063-0/+23
|
* Add name of node 'pointed at' to debugCraig Robbins2014-12-051-5/+20
| | | | This is "Add name of node pointed at to debug #1677" by @rubenwardy updated to work with game.cpp after it was refactored.
* Fix MSVC buildSmallJoker2014-12-052-2/+2
| | | | Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
* Recalculate normals for mesh #0. Fix for issue #1902.RealBadAngel2014-12-051-0/+2
|
* (INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins2014-12-052-1/+17
| | | | Until a permanent fix can be developed
* Optimise VoxelManipulator::copyFromCraig Robbins2014-12-041-7/+42
| | | | | | ~3-4x faster This indirectly optimises MapBlock:copyTo() which in turn improves performance of MeshMakeData::fill()
* Right mouse button behaviour for craft/inventory If right mousebutton ↵Craig Robbins2014-12-042-1/+21
| | | | 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.
* Make dropped items larger and rotate fasterCalinou2014-12-041-12/+12
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Settings: Various setting group fixes and enhancementskwolekr2014-12-043-65/+195
| | | | | | | | - 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
* Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵paramat2014-12-035-16/+40
| | | | of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
* Settings: Fix getNoiseParamsFromValue()kwolekr2014-12-021-0/+1
|
* Use setting groups for NoiseParamskwolekr2014-12-025-10/+103
| | | | | | Add format example to minetest.conf.example Add Settings::setU16() Throw exception on attempted access of NULL settings groups
* Fix style of comment in minetest.conf.exampleKahrl2014-12-011-1/+1
|
* Add fontengine.cpp to Android.mkKahrl2014-12-011-0/+1
|
* 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-3012-47/+41
| | | | | 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-3091-194/+902
|
* 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>
* Improve Lua API documentationCiaran Gultnieks2014-11-281-5/+11
| | | | | | | | | | | | | | | | | | | | | 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.
* Update minetest.po (Japanese)Rui2014-11-281-33/+66
|
* Fix regression with command line --go optionCraig Robbins2014-11-281-3/+10
|
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-272-0/+14
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* 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-273-0/+5
| | | | 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).
* Fix some undeclared global variablesCraig Davison2014-11-262-6/+7
|
* 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-262-3/+5
| | | | 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-255-14/+15
| | | | | | | | | | | 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>
* Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere2014-11-251-2/+2
| | | | | | 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
* Make duplicate warning checks file and line specificShadowNinja2014-11-231-6/+12
|
* Fix console spaming by debug function on mod checking for global variable to ↵sapier2014-11-231-2/+3
| | | | exist.
* Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel2014-11-232-0/+654
| | | | Mesh rotation helpers.