aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/dlg_create_world.lua
Commit message (Collapse)AuthorAge
* Make advanced settings noiseparams strings translatable (#8062)Wuzzy2019-01-20
| | | Various minor language improvements in settingtypes.txt.
* Add online content repositoryrubenwardy2018-04-19
| | | | Replaces mods and texture pack tabs with a single content tab
* Rename 'subgame' to 'game'paramat2018-03-13
|
* Fix error if setting menu_last_game is not a valid gamenOOb31672017-12-22
|
* Give subgames the ability to disallow specific mapgens (#6792)Ezhh2017-12-16
|
* Make world creation menu automatically generate a random world name (#6257)lisacvuk2017-08-18
| | | | | | * Make world creation menu automatically generate a name. * Name is now initialy empty, and generated if player tries to create a world without a name.
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Mainmenu: Standardize the menu button order and sizesSmallJoker2016-04-28
|
* Fix map_seed not changed when creating a new world after login to anotherfz722015-02-18
|
* Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr2014-12-29
| | | | Also rewrite mapgen registration for static initialization
* Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, ↵paramat2014-11-08
| | | | blobs
* Add notice when only minimal is installedrubenwardy2014-10-28
|
* Formspec escape fixed seen in world creation menuShadowNinja2014-08-05
|
* Remove indev mapgenproller2014-07-12
|
* Remove math mapgenproller2014-07-12
|
* Add formspec toolkit and refactor mainmenu to use itsapier2014-05-16
Fix crash on using cursor keys in client menu without selected server Add support for non fixed size tabviews
pan class="hl opt">= alpha + beta - 2.0f; params.b = 3.0f - 2.0f * alpha - beta; params.c = alpha; // Lighting curve parametric boost params.boost = rangelim(g_settings->getFloat("lighting_boost"), 0.0f, 0.4f); params.center = rangelim(g_settings->getFloat("lighting_boost_center"), 0.0f, 1.0f); params.sigma = rangelim(g_settings->getFloat("lighting_boost_spread"), 0.0f, 0.4f); // Lighting curve gamma correction params.gamma = rangelim(gamma, 0.33f, 3.0f); // Boundary values should be fixed light_LUT[0] = 0; light_LUT[LIGHT_SUN] = 255; for (size_t i = 1; i < LIGHT_SUN; i++) { float brightness = decode_light_f((float)i / LIGHT_SUN); // Strictly speaking, rangelim is not necessary here—if the implementation // is conforming. But we don’t want problems in any case. light_LUT[i] = rangelim((s32)(255.0f * brightness), 0, 255); // Ensure light brightens with each level if (i > 0 && light_LUT[i] <= light_LUT[i - 1]) { light_LUT[i] = std::min((u8)254, light_LUT[i - 1]) + 1; } } } #endif