1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

configuration updates; making to build on msvc

This commit is contained in:
Perttu Ahola 2011-01-17 23:35:09 +02:00
parent 7dc6b03f31
commit a35d8dabcf
5 changed files with 40 additions and 71 deletions

View file

@ -221,6 +221,8 @@ TODO: Map generator version 2
FIXME: The new pre-sunlight-propagation code messes up with initial
water lighting
TODO: Remove HMParams
Doing now:
======================================================================
@ -1269,10 +1271,10 @@ int main(int argc, char *argv[])
// Read map parameters from settings
HMParams hm_params;
hm_params.blocksize = g_settings.getU16("heightmap_blocksize");
/*hm_params.blocksize = g_settings.getU16("heightmap_blocksize");
hm_params.randmax = g_settings.get("height_randmax");
hm_params.randfactor = g_settings.get("height_randfactor");
hm_params.base = g_settings.get("height_base");
hm_params.base = g_settings.get("height_base");*/
MapParams map_params;
map_params.plants_amount = g_settings.getFloat("plants_amount");