aboutsummaryrefslogtreecommitdiff
path: root/src/constants.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-10Biome API: Reduce heat and humidity persistences to 0.5paramat1-2/+2
2014-12-10Add support for lacunarity in legacy NoiseParams string formatkwolekr2-5/+9
2014-12-10Add paste command (Ctrl-V) in GUIChatConsoleKahrl3-1/+24
2014-12-10Remove get_noiseparams function. read_noiseparams should be used from now onkwolekr7-26/+21
2014-12-10Noise: Create a deep copy of NoiseParamskwolekr9-91/+91
2014-12-09Settings: Sanitize setting name everywhere, not just LuaSettingskwolekr4-14/+12
2014-12-09Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparamskwolekr3-29/+16
2014-12-09Settings: Make setting entry group and values mutually exclusivekwolekr3-209/+112
This greatly reduces the complexity of Settings code. Additionally, several memory leaks were fixed.
2014-12-10Rewrite fs:GetDirListing(file) by kahrlSmallJoker1-47/+15
2014-12-10Ignore .name directories and filesSmallJoker3-82/+77
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10Increase performance of getLight() by at least 2xCraig Robbins3-2/+29
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 Puchkin1-2/+11
(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 2kwolekr1-4/+4
2014-12-09Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr6-19/+18
2014-12-08Fix compiler warning (signed vs. unsigned)Craig Robbins1-1/+2
2014-12-08Optimize noise implementationskwolekr2-107/+106
2014-12-08Fix struct vs. class in forward declarationsKahrl5-6/+6
2014-12-08Fix lighting artifacts (Issue #1887).RealBadAngel1-9/+4
2014-12-08Always escape user provided data in mainmenu fieldsKahrl3-10/+16
2014-12-07Add flags and lacunarity as new noise parameterskwolekr16-213/+305
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.RealBadAngel1-0/+2
2014-12-08Make directional fog colors respect tonemapMirceaKitsune1-4/+21
2014-12-08Fix f6 debug/profiler displayCraig Robbins2-6/+20
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 distanceCalinou1-1/+1
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-07Add space between client names in status text (client)Muhammad Rifqi Priyo Susanto1-1/+1
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.RealBadAngel3-13/+69
2014-12-07Fix regression (increase/decrease viewing range with +/- keys)Craig Robbins2-6/+2
2014-12-07Mapgen V5: Fix use of uninitialized value in ctorkwolekr2-3/+3
2014-12-06Schematics: Fix minetest.place_schematic() when defined by a Lua tablekwolekr2-5/+8
2014-12-06Add minetest.clear_registered_biomes() apikwolekr6-19/+51
2014-12-06Ignore some mouse events sent from scrollbar to GUITableKahrl1-0/+8
Fixes #1567, #1806.
2014-12-06Close settings files and save them correctlySmallJoker1-2/+5
2014-12-06Add workaround for failing clang buildsfan51-0/+5
2014-12-06Build for win32 & win64 on Travis toosfan56-12/+97
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