aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-10Ignore .name directories and filesSmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10Increase performance of getLight() by at least 2xCraig Robbins
Leads to the following increases: getSmoothLight() approx. 40% increase getTileInfo() approx. 25% increase MapBlockMesh::MapBlockMesh() 25-30%
2014-12-09Fix builds failing on BSD-like (such as OSX) due to an irrlicht bug ↵Pavel Puchkin
(temporary fix) Details: - https://sourceforge.net/p/irrlicht/bugs/433/ - https://github.com/minetest/minetest/issues/1687#issuecomment-61368769 - https://forum.minetest.net/viewtopic.php?f=42&t=9190&start=125#p159364 In case when "settings.h" is included from "emerge.cpp" or "environment.cpp", u64 type has "unsigned long" length because previously <stdint> was included. When "settings.h" is included from "settings.cpp", u64 has "unsigned long long" length because no <stdint> was included previously. This leads to different signatures of "setU64" method and linker cannot find appropriate symbol. The best fix of this bug should be done in the Irrlicht, but as hotfix I think this is OK and better than types changing. Previously this bug didn't appear because there was no "settings.cpp" file and implementation of all methods was done in the header file.
2014-12-09Noise: Update Noise::resizeNoiseBuf to account for lacunarity not equal to 2kwolekr
2014-12-09Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr
2014-12-08Fix compiler warning (signed vs. unsigned)Craig Robbins
2014-12-08Optimize noise implementationskwolekr
2014-12-08Fix struct vs. class in forward declarationsKahrl
2014-12-08Fix lighting artifacts (Issue #1887).RealBadAngel
2014-12-07Add flags and lacunarity as new noise parameterskwolekr
Add 'absolute value' option to noise map functions Extend persistence modulation to 3D noise Extend 'eased' option to noise2d_perlin* functions Some noise.cpp formatting fixups
2014-12-08Disable loading .mtl files. Theyre not used anyway.RealBadAngel
2014-12-08Make directional fog colors respect tonemapMirceaKitsune
2014-12-08Fix f6 debug/profiler displayCraig Robbins
After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.
2014-12-07Increase third person view distanceCalinou
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-07Add space between client names in status text (client)Muhammad Rifqi Priyo Susanto
Before: Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1,user2,user3,user4,user5,foobar,userplayedminetestthismorning} After: Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1, user2, user3, user4, user5, foobar, userplayedminetestthismorning}
2014-12-07Restore finalColorBlend implementation in shaders.RealBadAngel
2014-12-07Fix regression (increase/decrease viewing range with +/- keys)Craig Robbins
2014-12-07Mapgen V5: Fix use of uninitialized value in ctorkwolekr
2014-12-06Schematics: Fix minetest.place_schematic() when defined by a Lua tablekwolekr
2014-12-06Add minetest.clear_registered_biomes() apikwolekr
2014-12-06Ignore some mouse events sent from scrollbar to GUITableKahrl
Fixes #1567, #1806.
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.