kwolekr
4119cf9f6d
Settings: Sanitize setting name everywhere, not just LuaSettings
2014-12-09 23:52:13 -05:00
kwolekr
bb90f4a321
Settings: Make setting entry group and values mutually exclusive
...
This greatly reduces the complexity of Settings code.
Additionally, several memory leaks were fixed.
2014-12-09 23:29:34 -05:00
kwolekr
22b22968a1
Add flags and lacunarity as new noise parameters
...
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-07 21:59:32 -05:00
SmallJoker
30a051a904
Fix MSVC build
...
Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
2014-12-05 16:09:53 +10:00
kwolekr
b932f38797
Settings: Various setting group fixes and enhancements
...
- 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-04 03:20:07 -05:00
kwolekr
3eee8323c9
Use setting groups for NoiseParams
...
Add format example to minetest.conf.example
Add Settings::setU16()
Throw exception on attempted access of NULL settings groups
2014-12-02 04:03:37 -05:00
kwolekr
fa458443f0
settings: Add setting groups and multiline entries
2014-11-30 16:11:21 -05:00
Kahrl
c33891174d
Implement WieldMeshSceneNode which improves wield mesh rendering
...
- Don't create and cache an extruded mesh for every (non-node) item.
Instead use a single one per image resolution.
- For cubic nodes reuse a single wield mesh too
- Improve lighting of the wielded item
- Increase far value of wield mesh scene camera, fixes #1770
- Also includes some minor refactorings of Camera and GenericCAO.
2014-11-08 23:11:57 +01:00
Craig Robbins
ab8deee11a
Cleanup and (mostly) document util/string.h and (very) minor refactoring
...
Updated: Incorporated feedback from 'kahrl'
Updated: Moved MinetestApp::boolToCStr() from game.cpp into string.h renaming it bool_to_cstr()
2014-11-02 18:07:20 +01:00
Craig Robbins
68c5101db3
Fix unit tests failing if IPv6 not available
...
See:
https://github.com/minetest/minetest/issues/1526
https://github.com/minetest/minetest/issues/793
2014-11-02 02:27:26 -05:00
ShadowNinja
dbf9e444b1
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
sapier
19ef2554b6
Don't handle lack of IPv6 as fatal in unit tests
2014-06-20 22:35:50 +02:00
ShadowNinja
24cc512b16
Add the option to bind to a specific address
2014-02-05 21:24:46 +01:00
Kahrl
7b8553cacf
Implement urlencode and urldecode
2013-12-13 18:05:35 +01:00
Kahrl
ee90d438b8
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
proller
f821824943
Weather backward compatibility
2013-08-02 00:51:36 +04:00
Kahrl
03631ae5f7
Change ContentFeatures array to a vector
2013-07-14 23:06:31 +02:00
PilzAdam
aa0b76636f
Settings: everything != 0 equals true; remove .asm shaders
2013-07-08 01:58:49 +02:00
sapier
62794622d6
Replace C++ mainmenu by formspec powered one
2013-07-02 19:58:20 -04:00
proller
06ddcb4b1e
Add support for IPv6
...
Two new configuration options are added:
- "enable_ipv6" to enable/disable the overall use of IPv6
- "ipv6_server" to enable/disable the use of IPv6 sockets when running
a server (when "enable_ipv6" is enabled)
2013-06-23 11:31:22 +04:00
Kahrl
ffac1bef30
Extend a delay in TestConnection from 50 to 100 milliseconds.
...
The 50 ms delay causes frequent test failures on certain systems with
slow network stacks, these failures go away with the 100 ms variant.
2013-06-17 02:09:50 +02:00
kwolekr
76c6a6c017
Fix nearly all warnings
2013-05-19 21:26:56 -04:00
PilzAdam
fd1b6c39a4
Fix memory leak in run_tests()
2013-05-14 12:29:30 +02:00
sapier
5a10a4657a
fix various memory leaks
2013-04-09 02:23:07 -04:00
Ilya Zhuravlev
a12df55f29
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
kwolekr
2de944c208
Fix most warnings, re-fix MSVC compile error
2013-02-26 01:57:59 -05:00
Sfan5
3fab3825aa
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
Perttu Ahola
d0dff79761
Ranged support of protocol version on server side
2012-11-29 22:08:25 +02:00
Perttu Ahola
cfba662b99
unit test: TestNodedefSerialization
2012-11-29 22:08:25 +02:00
Ilya Zhuravlev
d7cc000a0c
Add InventoryList width property & allow custom crafting grids.
2012-09-01 10:01:41 +03:00
Perttu Ahola
56e361e135
Fix terrible grammar in comment!
2012-07-22 20:36:06 +03:00
Perttu Ahola
d6998afda6
Test zlib wrapper's handling of large data
2012-07-22 20:27:55 +03:00
Perttu Ahola
390efc1c99
Tweak test.c overally a bit
2012-07-22 20:26:54 +03:00
Kahrl
05d8ea0ebb
Custom boxy nodes (stairs, slabs) and collision changes
2012-06-17 16:34:39 +03:00
Perttu Ahola
ede1480ae9
Optimize headers
2012-06-17 04:03:39 +03:00
Perttu Ahola
ec937ecdd8
Properly and efficiently use split utility headers
2012-06-17 02:40:36 +03:00
Perttu Ahola
e05f1af484
Initially split utility.h to multiple files in util/
2012-06-17 01:29:13 +03:00
Perttu Ahola
92b131d6d1
Node texture animation
2012-06-16 16:47:28 +03:00
Perttu Ahola
e70b6545b1
Switch the license to be LGPLv2/later, with small parts still remaining as GPLv2/later, by agreement of major contributors
2012-06-05 18:54:07 +03:00
Perttu Ahola
e7551505dd
Add a bit of unit test for inventory
2012-06-03 22:31:02 +03:00
Perttu Ahola
17266c7fd2
voxalgo::clearLightAndCollectSources
2012-03-27 19:01:51 +03:00
Perttu Ahola
7bd2ea010c
Implement propagateSunlight for VoxelManipulator
2012-03-27 19:01:50 +03:00
Perttu Ahola
6b63e47aa6
Add removeStringEnd()
2012-03-25 14:48:14 +03:00
Perttu Ahola
d81e783665
Clean unit test output
2012-03-10 17:10:16 +02:00
Perttu Ahola
562ac3bce9
Digging time groups WIP
2012-03-10 11:28:12 +02:00
Perttu Ahola
24b1008d56
Remove unnecessary delays from large data transfer unit test
2012-01-24 12:50:10 +02:00
Perttu Ahola
a387c9b95d
Fix "illegal escape sequence" in MSVC (actually not illegal)
2012-01-22 22:00:29 +02:00
Kahrl
157a4cf18c
Node placement / mineral / serialization / iron freq / node_dig callback
...
- Node placement code moved to Lua
- Mineral system removed (added default:stone_with_coal and default:stone_with_iron).
- MapBlock and MapNode serialization updated.
- Mapgen: Frequency of iron increased.
- node_dig callback and related changes.
2012-01-22 17:24:50 +02:00
Kahrl
6a76c226e1
The huge item definition and item namespace unification patch (itemdef), see http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2012-01-12 06:10:39 +01:00