aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Settings: Sanitize setting name everywhere, not just LuaSettingskwolekr2014-12-09
|
* Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr2014-12-09
|
* Settings: Make setting entry group and values mutually exclusivekwolekr2014-12-09
| | | | | This greatly reduces the complexity of Settings code. Additionally, several memory leaks were fixed.
* Rewrite fs:GetDirListing(file) by kahrlSmallJoker2014-12-10
|
* Ignore .name directories and filesSmallJoker2014-12-10
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Increase performance of getLight() by at least 2xCraig Robbins2014-12-10
| | | | | | | Leads to the following increases: getSmoothLight() approx. 40% increase getTileInfo() approx. 25% increase MapBlockMesh::MapBlockMesh() 25-30%
* Fix builds failing on BSD-like (such as OSX) due to an irrlicht bug ↵Pavel Puchkin2014-12-09
| | | | | | | | | | | | | | | | | | | | | | (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.
* Noise: Update Noise::resizeNoiseBuf to account for lacunarity not equal to 2kwolekr2014-12-09
|
* Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr2014-12-09
|
* Fix compiler warning (signed vs. unsigned)Craig Robbins2014-12-08
|
* Optimize noise implementationskwolekr2014-12-08
|
* Fix struct vs. class in forward declarationsKahrl2014-12-08
|
* Fix lighting artifacts (Issue #1887).RealBadAngel2014-12-08
|
* Add flags and lacunarity as new noise parameterskwolekr2014-12-07
| | | | | | | 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
* Disable loading .mtl files. Theyre not used anyway.RealBadAngel2014-12-08
|
* Make directional fog colors respect tonemapMirceaKitsune2014-12-08
|
* Fix f6 debug/profiler displayCraig Robbins2014-12-08
| | | | After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.
* Increase third person view distanceCalinou2014-12-07
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add space between client names in status text (client)Muhammad Rifqi Priyo Susanto2014-12-07
| | | | | | | | 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}
* Restore finalColorBlend implementation in shaders.RealBadAngel2014-12-07
|
* Fix regression (increase/decrease viewing range with +/- keys)Craig Robbins2014-12-07
|
* Mapgen V5: Fix use of uninitialized value in ctorkwolekr2014-12-07
|
* Schematics: Fix minetest.place_schematic() when defined by a Lua tablekwolekr2014-12-06
|
* Add minetest.clear_registered_biomes() apikwolekr2014-12-06
|
* Ignore some mouse events sent from scrollbar to GUITableKahrl2014-12-06
| | | | Fixes #1567, #1806.
* Close settings files and save them correctlySmallJoker2014-12-06
|
* Add workaround for failing clang buildsfan52014-12-06
|
* Rewrite generate notification mechanismkwolekr2014-12-06
| | | | | | | 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-07
| | | | | 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 name of node 'pointed at' to debugCraig Robbins2014-12-05
| | | | 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-05
| | | | 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-05
|
* (INTERIM) Make sizes of the font in formspecs consistent and not so largeCraig Robbins2014-12-05
| | | | Until a permanent fix can be developed
* Optimise VoxelManipulator::copyFromCraig Robbins2014-12-04
| | | | | | ~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-04
| | | | 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.
* Settings: Various setting group fixes and enhancementskwolekr2014-12-04
| | | | | | | | - 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-03
| | | | 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-02
|
* Use setting groups for NoiseParamskwolekr2014-12-02
| | | | | | Add format example to minetest.conf.example Add Settings::setU16() Throw exception on attempted access of NULL settings groups
* Fix settings callback "call" lost on rebasesapier2014-12-01
|
* Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins2014-12-01
| | | | | 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-01
| | | | Note: this does not fix the warnings generated by clang
* LuaSettings: Sanitize setting name stringskwolekr2014-11-30
|
* Fix segfault at exit caused by non grabbed fontKahrl2014-11-30
|
* settings: Add setting groups and multiline entrieskwolekr2014-11-30
|
* Make hud use fontengine toosapier2014-11-30
| | | | | 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-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-30
|
* noise: Throw exception on noise allocation failurekwolekr2014-11-29
|
* Fix MSVC compiling error (argc/argv not available to pass to init_gettext)SmallJoker2014-11-29
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>