12 Commits

Author SHA1 Message Date
BlockMen
18314f400f Reworked formspecs and kahrl's hexcolor parser 2013-11-03 22:14:37 +01:00
Kahrl
fb1f510c3f 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".
2013-09-11 00:08:56 +02:00
sapier
281dc6a502 Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00
Novatux
7f3fc3e73e Fix modstore pagecount 2013-08-16 17:54:19 +02:00
Novatux
1f022dc08b Use get_texturepath() instead of get_gamepath()/../textures 2013-08-16 17:44:39 +02:00
Novatux
c0a089d4ac Fix formspec escaping, add escaping to info.txt for texture packs. 2013-08-15 22:12:51 +02:00
PilzAdam
6fa83cb84f Dont download modstore info if its isnt needed 2013-08-10 13:35:38 +02:00
sapier
27ea0e8e32 Remove debug output 2013-07-22 18:10:00 +02:00
sapier
3447aa0cdc Add support for modstore screenshots
Add error output on invalid mmdb entries
2013-07-22 18:09:59 +02:00
sapier
4f7abcbafa Fix many formspec menu bugs 2013-07-07 19:49:52 -04:00
Sfan5
67b58fa494 Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2013-07-06 10:32:58 +02:00
sapier
62794622d6 Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00