aboutsummaryrefslogtreecommitdiff
path: root/src/sqlite (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-06Rewrite generate notification mechanismkwolekr19-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
2014-12-07Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins9-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
2014-12-06Add Lua helper functions vector.apply(v) math.sign(x, tolerance)SmallJoker3-0/+23
2014-12-05Add name of node 'pointed at' to debugCraig Robbins1-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.
2014-12-05Fix MSVC buildSmallJoker2-2/+2
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.RealBadAngel1-0/+2
2014-12-05(INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins2-1/+17
Until a permanent fix can be developed
2014-12-04Optimise VoxelManipulator::copyFromCraig Robbins1-7/+42
~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 Robbins2-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.
2014-12-04Make dropped items larger and rotate fasterCalinou1-12/+12
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-04Settings: Various setting group fixes and enhancementskwolekr3-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
2014-12-03Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵paramat5-16/+40
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()kwolekr1-0/+1
2014-12-02Use setting groups for NoiseParamskwolekr5-10/+103
Add format example to minetest.conf.example Add Settings::setU16() Throw exception on attempted access of NULL settings groups
2014-12-01Fix style of comment in minetest.conf.exampleKahrl1-1/+1
2014-12-01Add fontengine.cpp to Android.mkKahrl1-0/+1
2014-12-01Fix settings callback "call" lost on rebasesapier1-0/+3
2014-12-01Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins3-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)
2014-12-01Fix buildCraig Robbins1-0/+1
Note: this does not fix the warnings generated by clang
2014-11-30LuaSettings: Sanitize setting name stringskwolekr3-1/+12
2014-11-30Fix segfault at exit caused by non grabbed fontKahrl1-0/+1
2014-11-30settings: Add setting groups and multiline entrieskwolekr3-246/+478
2014-11-30Make hud use fontengine toosapier12-47/+41
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 consistentlyZefram3-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.
2014-11-30Implement proper font handlingsapier91-194/+902
2014-11-29noise: Throw exception on noise allocation failurekwolekr3-9/+38
2014-11-29Fix MSVC compiling error (argc/argv not available to pass to init_gettext)SmallJoker1-3/+3
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-28Improve Lua API documentationCiaran Gultnieks1-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.
2014-11-28Update minetest.po (Japanese)Rui1-33/+66
2014-11-28Fix regression with command line --go optionCraig Robbins1-3/+10
2014-11-27Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2-0/+14
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Don't corrupt stepheight when setting other propertiesCiaran Gultnieks1-2/+2
2014-11-26Wield: always obey anisotropic_filter setting, not just for hi res texturesKahrl1-3/+2
2014-11-26EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or belowKahrl1-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.
2014-11-27added enable_build_where_you_stand optionSokomine3-0/+5
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Wieldmesh: don't force anisotropic filtering on, instead disable mipmapsKahrl2-2/+6
This should fix #1844. Thanks to oleastre for making the first version of this commit (#1848).
2014-11-26Fix some undeclared global variablesCraig Davison2-6/+7
2014-11-26Only set the camera update keymap when using a debug buildrubenwardy1-1/+6
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Fix Android main menu crash, and user data directory check.Kodexky2-3/+5
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Increase step smoothing to fit 1:1 stairs (works well on slabs too)Calinou1-1/+1
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26Fix client "double saving" simple singleplayer local mapsCraig Robbins3-4/+9
2014-11-25Fixes for Android build errors. Enable sensor landscape rotation.KodexKy5-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>
2014-11-25Adjust the values of dirs1 and dirs2 so that rotate_and_place orients ↵dvere1-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
2014-11-23Make duplicate warning checks file and line specificShadowNinja1-6/+12
2014-11-23Fix console spaming by debug function on mod checking for global variable to ↵sapier1-2/+3
exist.
2014-11-23Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel2-0/+654
Mesh rotation helpers.
2014-11-23Fix regression with USE_REDIS (refactor_main)Craig Robbins1-1/+1
2014-11-23refactor main.cppCraig Robbins1-916/+1210
2014-11-22Fix smooth lighting (ambient occlusion)Craig Robbins1-13/+18
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22Fix compiling if no endian.h foundPavel Puchkin1-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>