aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mainmenu.cpp
AgeCommit message (Collapse)Author
2017-03-13[CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot
* squashed: CSM: Implement register_globalstep * Re-use fatal error mechanism from server to disconnect client on CSM error * Little client functions cleanups * squashed: CSM: add core.after function * core.after is shared code between client & server * ModApiUtil get_us_time feature enabled for client
2017-02-03Serverlist: Add ping indicators (#5164)kilbith
2016-10-31Add version APIShadowNinja
2016-07-03Mapgen: Refactor mapgen creation and managementkwolekr
- Move mapgen creation logic out of EmergeManager and into Mapgen - Internally represent mapgen type as an enum value, instead of a string - Remove the need for a MapgenFactory per mapgen
2016-03-15Add option to not send pre v25 init packetest31
The legacy init packet (pre v25) sends information about the client's password that a server could use to log in to other servers if the username and password are the same. All the other benefits of SRP of protocol v25 are missed if the legacy init packet is still sent during connection creation. This patch adds an option to not send the v25 init packet. Not sending the v25 packet means breaking compat with pre v25 servers, but as the option is not enabled by default, no servers are affected unless the user explicitly flips the switch. More than 90% of the servers on the serverlist support post v25 protocols. The patch also fixes a bug with greying out of non compliant servers being done wrongly, the min and max params were mixed.
2015-10-18Remove wstrgettextest31
Everywhere where wstrgettext was used, its output was converted back to utf8. As wstrgettext internally converts the return value from utf8 to wstring, it has been a waste. Remove the function, and use strgettext instead.
2015-10-04Hide mapgens from main menu not intended for end userskwolekr
2015-10-04Add emerge completion callback mechanismkwolekr
Major refactor of emerge.cpp and Map::init/finishBlockMake
2015-07-23Optional reconnect functionalityest31
Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2015-07-08Use UTF-8 instead of narrowest31
Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.
2015-06-13Use utf-8 in formspecsIlya Zhuravlev
2015-05-16Add core.get_dir_listShadowNinja
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-29Fix typoCraig Robbins
2015-03-28Add Lua function get_video_modes() for main menuCraig Robbins
Also updates and uses porting::getSupportedVideoModes()
2015-03-27Clean up and tweak build systemShadowNinja
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
2015-03-18Fix game minetest.conf default settingsest31
This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-02-18Server: announce MIN/MAX protocol version supported to serverlist. Client: ↵est31
check serverlist Client now informs about incompatible servers from the list, this permits to prevent the protocol movements. Server announces its supported protocol versions to master server
2015-02-12Fix .zip extraction (mod store)ngosang
2015-02-05Reduce gettext wide/narrow and string/char* conversionsShadowNinja
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
2015-01-18Reorganize supported video driver query mechanismskwolekr
2014-12-29Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr
Also rewrite mapgen registration for static initialization
2014-08-23Add video driver selection to settings menu (based uppon idea from ↵sapier
webdesigner97)
2014-08-15Fix the *CDP displaySmallJoker
2014-06-19Remove a lot of superfluous ifndef USE_CURL checkssapier
2014-06-14Fix regression dirt texture not beeing default in non cloud menusapier
2014-05-07Organize builtin into subdirectoriesShadowNinja
2014-04-27Fix code style of async APIShadowNinja
2014-04-27Remove dependency on marshal and many other async changesShadowNinja
This makes a number of changes: * Remove the dependency on marshal by using string.dump and loadstring. * Use lua_tolstring rather than having Lua functions pass string lengths to C++. * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs. * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality. * Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.) * Pop more unused items from the stack * Code style fixes * Other misc changes
2014-04-27Add support for dpi based HUD scalingsapier
Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
2014-04-09Minor fixes for file/modlist download in mainmenusapier
2014-02-07Fix invalid check for fread error on extracting zipsapier
2014-01-13Add formspec tableKahrl
2014-01-05Fix absence of images when compiled with RUN_IN_PLACE=0.Ilya Zhuravlev
2013-12-11Implement search tab and version pickersapier
2013-11-29Fix modstore/favourites hang by adding asynchronous lua job supportsapier
2013-11-11Fix invalid usage of temporary object in mainmenu json conversionsapier
2013-09-28Show git hash in version string at top left corner of windowKahrl
2013-08-19Fix umlauts/special character issue in lua gettextBlockMen
2013-08-19Allow SIGINT to kill mainmenu againKahrl
2013-08-17Add translation for main menusapier
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl