83 Commits

Author SHA1 Message Date
kwolekr
de76e0253e EmergeManager: Fix Lua mapgen override param handling 2013-12-08 01:31:06 -05:00
sapier
396602432c Cleanup jthread and fix win32 build 2013-12-01 16:25:46 +01:00
kwolekr
76f37cadb0 Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
2013-11-17 01:59:04 -05:00
kwolekr
d970581efd Accept hexadecimal and string values for seeds 2013-11-04 23:59:26 -05:00
kwolekr
d8e65be2d3 Weather: Clean up getHeat/getHumidity somewhat 2013-09-16 23:33:53 -04:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
proller
cdb2b82262 Weather support 2013-07-27 23:21:48 +04:00
kwolekr
5f60730da4 Apply various fixes to several things 2013-06-27 22:35:35 -04:00
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
kwolekr
f9c5ed3c7b Add minetest.get_mapgen_object to API 2013-06-27 22:35:35 -04:00
proller
cc19db315c New math mapgen with fractal based worlds 2013-06-23 18:07:10 +04:00
kwolekr
210f7364f3 Decoration, Ore: Resolve node names on Mapgen init 2013-06-17 18:51:29 -04:00
kwolekr
1a8f453958 Add initial Decoration support, many misc. improvements & modifications 2013-06-17 03:21:36 -04:00
sapier
2dceda8890 Move scriptapi to separate folder (by sapier)
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.

Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
Kahrl
87b03bbb00 Fix EmergeThread names in log
Concatenate the thread id as string instead of adding it to the pointer
2013-05-19 19:58:01 +02:00
kwolekr
767f979585 Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapgen V7 2013-04-21 01:06:19 -04:00
kwolekr
e527cd84e6 Fix double free, null texture drop 2013-04-12 17:20:05 -04:00
sapier
70baa66262 fix emergemanager memory leaks 2013-04-09 02:34:11 -04:00
kwolekr
a9216c42aa Fix crash on creating map with invalid mg_name 2013-04-07 01:50:20 -04:00
kwolekr
6d9ff57f15 Add Mapgen V7, reorganize biomes 2013-04-07 00:50:21 -04:00
Perttu Ahola
1fe999e3c1 Add singlenode mapgen; generates solely the node 'mapgen_singlenode', defaults to air 2013-03-22 19:16:51 +02:00
proller
8fce2af76b initial mapgen indev version with farscale feature and huge caves 2013-03-16 21:48:32 -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
kwolekr
6291bf3953 Remove dead code, relocate some code 2013-02-25 23:11:12 -05:00
kwolekr
cb816057a7 Fix selection of # threads, set default to 1 thread 2013-02-25 23:11:00 -05:00
kwolekr
1d61a13bb4 Tune queue limits, some other adjustments 2013-02-25 23:08:41 -05:00
kwolekr
7bd58eed32 Misc. cleanup and minor fixes 2013-02-25 23:08:33 -05:00
kwolekr
775c1f4836 Add multi-Emerge thread support 2013-02-25 23:08:26 -05:00
kwolekr
945c7e9cf1 Add emerge queue limit configuration 2013-02-25 22:59:17 -05:00
kwolekr
01a0b6647f Fix EmergeThread hang on exit 2013-02-25 22:58:24 -05:00
kwolekr
4c634210d1 Add global and per-peer queue limits 2013-02-25 22:58:11 -05:00
kwolekr
e2466d6b69 Add emerge.cpp, initial EmergeThread changes
- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue.  Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
2013-02-25 22:56:18 -05:00