1861 Commits

Author SHA1 Message Date
Perttu Ahola
bb4eb5f069 Remove unnecessary debug output 2012-03-29 01:38:13 +03:00
Perttu Ahola
771c7e02e6 Area-based MapEditEvent ignore and that put to use for on_generate too 2012-03-29 01:22:08 +03:00
Perttu Ahola
5994593a0c Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed 2012-03-29 00:28:48 +03:00
Perttu Ahola
868f2594be Fix on_generate minp/maxp (was broken due to chunkymapgen) 2012-03-28 23:11:28 +03:00
Perttu Ahola
c6f1ccf309 Add EnvRef:set_node() 2012-03-28 22:50:08 +03:00
Perttu Ahola
e9909970d8 Add range option to PseudoRandom:next() 2012-03-28 22:01:23 +03:00
Perttu Ahola
a4c01db175 Add blockseed to on_generated 2012-03-28 22:01:21 +03:00
Perttu Ahola
4f9903d767 Default to having fancy trees and 3d clouds turned on 2012-03-28 14:10:54 +03:00
Perttu Ahola
0a9aee3883 Add minetest.is_singleplayer() 2012-03-28 13:22:48 +03:00
Perttu Ahola
7d89880d38 doc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath() 2012-03-28 13:01:35 +03:00
Perttu Ahola
1a52f5273c Correctly lock mutexes when the server sends MapEditEvents (could cause memory corruption) 2012-03-28 12:51:47 +03:00
Perttu Ahola
b7f290614c No occlusion culling when free_move is on and camera is inside ground 2012-03-28 12:19:25 +03:00
Perttu Ahola
92bd7394a2 Make mapgen use mapgen_* node aliases rather than the LEGN macro 2012-03-28 01:26:15 +03:00
Perttu Ahola
7242af8105 Add PseudoRandom in Lua API 2012-03-28 00:38:20 +03:00
Perttu Ahola
cf795a1149 Tune skybox 2012-03-27 23:30:41 +03:00
Perttu Ahola
49b527e785 Try to make background/fog/sky color selection work better 2012-03-27 22:41:07 +03:00
Perttu Ahola
cebd50b960 Set default minimum viewing range of 35 nodes 2012-03-27 19:57:24 +03:00
Perttu Ahola
389bd28188 Unrelated, but anyway: tune light levels again 2012-03-27 19:25:25 +03:00
Perttu Ahola
2de5b2a6a6 Tune caves 2012-03-27 19:09:08 +03:00
Perttu Ahola
210ef77028 Fix deep ground cave generation a bit 2012-03-27 19:09:08 +03:00
Perttu Ahola
1dd95b61aa Fix mapgen block_is_underground heuristic 2012-03-27 19:09:07 +03:00
Perttu Ahola
fd3a78452f Tune mapgen 2012-03-27 19:09:07 +03:00
Perttu Ahola
8286175d21 Set default maximum viewing range to a bit more than default server send range to make fog work well 2012-03-27 19:09:07 +03:00
Perttu Ahola
9a562b5ca5 Re-implement and re-tune mapgen v2 2012-03-27 19:05:59 +03:00
Perttu Ahola
6982a2cc0c Tune generation responsiveness and cheat inhibition on server 2012-03-27 19:05:59 +03:00
Perttu Ahola
9140d81d0a Increase maximum generate distance now that generation might actually keep up with it 2012-03-27 19:04:59 +03:00
Perttu Ahola
9d59b2ddf7 Remove usage of mapgen::add_random_objects(block) 2012-03-27 19:01:52 +03:00
Perttu Ahola
afd76c203d Remove no-op mapgen::add_random_objects 2012-03-27 19:01:52 +03:00
Perttu Ahola
eadbaf57e6 Fix inexistent_top_provides_sunlight heuristic in make_block and remove clitch-causing optimization 2012-03-27 19:01:52 +03:00
Perttu Ahola
58e03a30f4 Remove some debug output 2012-03-27 19:01:52 +03:00
Perttu Ahola
2bd8891ed5 Tune block fetching to clients on server 2012-03-27 19:01:52 +03:00
Perttu Ahola
eb016208ee Do post-mapgen lighting using the VoxelManipulator-based functions (causes glitches currently) 2012-03-27 19:01:51 +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
bf26e3e70d Fix tree generation density for different mapgen chunk sizes 2012-03-27 18:52:36 +03:00
Perttu Ahola
0f02346e93 Post-mapgen lighting optimization 2012-03-27 18:52:36 +03:00
Perttu Ahola
48e063c6f5 Make mapgen generate stuff in chunks of 3^3 mapblocks 2012-03-27 18:52:36 +03:00
Perttu Ahola
cb5968ec8d Update minetest.conf.example and defaultsettings.cpp 2012-03-27 18:51:21 +03:00
Perttu Ahola
5e9e763b6f Increase vertical FOV on lower aspect ratios (<16:10) 2012-03-27 18:39:21 +03:00
Perttu Ahola
29fd099991 Fix minetest_game installation and don't fail if it doesn't exist 2012-03-27 17:33:51 +03:00
Perttu Ahola
f4d02a8459 Fix and extend minetest.after(time, func, param) 2012-03-27 08:17:42 +03:00
Perttu Ahola
0b73397203 Add minetest.after(time, func) 2012-03-27 00:37:31 +03:00
Perttu Ahola
a59def914e Update version number to 0.4.dev-20120326 because much has changed from the previous one 2012-03-27 00:07:25 +03:00
Perttu Ahola
2ed270a8ed Do a dumb-ass static string copy for const-incorrect old versions of ov_fopen 2012-03-27 00:06:26 +03:00
Perttu Ahola
d80029b3c8 Move games/minetest to games/minimal and update README.txt 2012-03-26 23:28:19 +03:00
Perttu Ahola
a85c5cd0b8 Prefer _game postfix in game names (to be squashed to the previous commit) 2012-03-26 23:17:29 +03:00
Perttu Ahola
ae9fcf3cfc Support _game postfix in game names, taking it out to make the gameid 2012-03-26 23:16:02 +03:00
Perttu Ahola
c5b8bdd694 Add game.conf check in subgame.cpp 2012-03-26 23:02:12 +03:00
Perttu Ahola
44b23b40c8 New world removal GUI code 2012-03-26 08:37:15 +03:00
Perttu Ahola
70ae1d65ae Better file/directory removal platform code and utilities 2012-03-26 08:36:59 +03:00