Commit Graph

44 Commits

Author SHA1 Message Date
BlockMen 0092022c14
Don't remove background of games in submenus 2022-05-21 16:11:11 +02:00
Nathanaël Courant 9c171de1c7
Move new core devs to the "Core Developpers" section of mainmenu. 2022-05-21 16:11:10 +02:00
Kahrl 8cfbc4cd0b
Change mainmenu texture handling + small misc changes
Texture names must now be escaped in formspec elements image[],
background[], image_button[], image_button_exit[].

Instead of special-case handling of texture loading (and unloading
which was missing) in guiFormSpecMenu.cpp, use the newly created
ISimpleTextureSource interface which is a minimal subset of
ITextureSource. There is an implementation of this interface
used by GUIEngine (MenuTextureSource).

Fix an off-by-one bug in unescape_string; it caused requests for a
texture called "\0".
2022-05-21 16:11:07 +02:00
PilzAdam 4b683f9296
Use engine.is_yes() in mainmenu 2022-05-21 16:11:06 +02:00
sapier 019f1b3fd6
Add backtrace to error function 2022-05-21 16:11:04 +02:00
Ilya Zhuravlev 84615ffdd5
Add escaping to world list in main menu (fixes #896). 2022-05-21 16:11:04 +02:00
Kahrl ec8e09a1f9
World config dialog: Use engine determined path for game mods 2022-05-21 16:11:03 +02:00
sapier 243ff49bf2
Add translation for main menu Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp 2022-05-21 16:11:02 +02:00
PilzAdam e95f47a818
Add ability to activate mods with doubleclick (remove old_style_mod_selection) 2022-05-21 16:11:00 +02:00
Nathanaël Courant 4f2c21b25d
Fix formspec escaping, add escaping to info.txt for texture packs. 2022-05-21 16:11:00 +02:00
Kahrl 88e3c9e930
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2022-05-21 16:11:00 +02:00
Ilya Zhuravlev 4ce777f98d
Fix my name. 2022-05-21 16:10:59 +02:00
PilzAdam e142c50d59
Fix worldlist in servertab being filtered by selected game 2022-05-21 16:10:58 +02:00
PilzAdam 45babc32a3
Dont show gamefilter in TP tab 2022-05-21 16:10:57 +02:00
Nathanaël Courant ab5646888b
Add texture pack selection to main menu 2022-05-21 16:10:56 +02:00
PilzAdam 7f3cd9bacc
Play sounds/main_menu.ogg in menu 2022-05-21 16:10:55 +02:00
sapier f177a87516
Show portnumber for ip adresses only 2022-05-21 16:10:54 +02:00
sapier 559cda3eff
Fix bug in world creation Add old style mod selection in worldconfig dialog 2022-05-21 16:10:53 +02:00
sapier 453cdb6d13
Remove debug output 2022-05-21 16:10:52 +02:00
sapier ed6ecbaa29
Fix background/overlay/footer/header handling Add missing file headers 2022-05-21 16:10:51 +02:00
sapier 6f906b4b81
Add playernumber to favorites list 2022-05-21 16:10:50 +02:00
sapier 625443d3da
filterlist api cleanup 2022-05-21 16:10:50 +02:00
sapier b55441026c
Add port to favorites if not 30000 Major modmgr overhaul Add missing formspec checkbox doc 2022-05-21 16:10:50 +02:00
sapier 47388da94f
Replace worldlist by generic filterlist implementation 2022-05-21 16:10:49 +02:00
sapier beffeef6c9
Swap name/password <-> server description 2022-05-21 16:10:48 +02:00
sapier 04af68e39e
Revert "Fix serverdescription and name not beeing saved to local serverlist"
This reverts commit 7dbbbfc665e285cc9eb9d750c3a449d7da178d4f.
(was added twice)
2022-05-21 16:10:48 +02:00
sapier b4d6ffd39c
Don't show flags in local favorites 2022-05-21 16:10:47 +02:00
sapier 652fcba2a0
Fix bug server name set to address field when using up/down keys Show server description above connect button instead of in favorites list 2022-05-21 16:10:46 +02:00
sapier c7974fc6fd
Add missing server flags in public serverlist 2022-05-21 16:10:46 +02:00
sapier afba78a47f
Fix serverdescription and name not beeing saved to local serverlist 2022-05-21 16:10:45 +02:00
sapier 046dcff30e
Worldlist fixes Add alphabeticaly sorted worldlists Select world after creation Move worldlist handling to separate file Merge world selection of singleplayer/server tab Remove some useless code 2022-05-21 16:10:44 +02:00
sapier 0e66db8f95
Fix serverlist 2022-05-21 16:10:44 +02:00
proller 47d555563a
Public server checkbox 2022-05-21 16:10:43 +02:00
kwolekr 97c03436f6
Revert "Fix serverlist not beeing escaped correctly"
This reverts commit 39d03148e5d98ef5f9a31b131a79ff2bbd71a877.
2022-05-21 16:10:43 +02:00
sapier 6a3d716bf7
Fix header not beeing shown except on singleplayer tab 2022-05-21 16:10:42 +02:00
sapier 32cf551e9d
Fix serverlist not beeing escaped correctly Always use address for server Fix first (empty) element beeing selected after deleting last world 2022-05-21 16:10:42 +02:00
sapier c82ccfcf2d
fix crash on play/start with empty world list make enter button work in create world dialog 2022-05-21 16:10:41 +02:00
kwolekr 356c2b5def
Lua main menu: Fix world creation dialog 2022-05-21 16:10:40 +02:00
PilzAdam 08d7219736
Set numeric locale in Lua in main menu 2022-05-21 16:10:40 +02:00
sapier 8b89cf28fa
Fix many formspec menu bugs 2022-05-21 16:10:39 +02:00
sfan5 7ecd865028
Fix parseColor, change remaining colorkeys to new format, fix Contributor list 2022-05-21 16:10:39 +02:00
sfan5 5d8ea4dc07
Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2022-05-21 16:10:38 +02:00
kwolekr 5864868a03
Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index 2022-05-21 16:10:37 +02:00
sapier eb5a9131cc
Replace C++ mainmenu by formspec powered one 2022-05-21 16:10:37 +02:00