Commit Graph

72 Commits

Author SHA1 Message Date
sapier 127f354e7a Fix formspec replacement handling for in game formspecs 2014-04-22 20:59:01 +02:00
RealBadAngel e7ef4f07cb make formspec textarea wordwrap
Thats updated #795
2014-04-22 19:57:32 +02:00
sapier 5bd9c236d5 Fix double sending of chat messages 2014-03-23 19:15:38 +01:00
BlockMen e4d1970abf Fix game pause in singleplayer 2014-03-13 14:06:18 +01:00
sapier a4e2198e41 Replace pause and message menu by formspec ones 2014-03-05 18:44:14 +01:00
Kahrl 8966c16ad2 Add formspec table 2014-01-13 18:11:08 -05:00
BlockMen 38d112033b Fix formspec field labels 2013-12-17 01:13:16 +01:00
sapier 0d990bd189 Replace any direct curl usage by httpfetch 2013-12-13 18:05:46 +01:00
sapier 4ccaa6d0af Implement search tab and version picker 2013-12-11 23:07:38 +01:00
PilzAdam 6c4a8766ab Check if width, height or start index of a list[] is negative 2013-12-09 22:39:24 +01:00
PilzAdam 60113bde74 Dont move item back when not clicking on a slot 2013-12-03 18:05:36 +01:00
Kahrl 6f851c9692 Fix crash when pressing Enter key in formspec menu 2013-11-23 00:37:32 +01:00
BlockMen 3f519eb729 Fix formspec background padding when clipped 2013-11-14 19:03:55 +01:00
sapier 22a59b3912 Fix win32/msvc i18n (quite UGLY version, blame Microsoft) 2013-11-11 19:56:49 +01:00
sapier 0f9440fa61 Fix "TODO read modinfo" in modmanager to improve ui usability 2013-11-10 19:37:45 +01:00
BlockMen 5fbc39a76c Fix typo 2013-11-03 22:33:06 +01:00
BlockMen 25edae00ea Reworked formspecs and kahrl's hexcolor parser 2013-11-03 22:14:37 +01:00
Novatux 0b78889289 Send a on_receive_fields event when formspec is closed, with fields.quit = "true" 2013-11-03 11:53:59 +01:00
RealBadAngel 5598f3c81b FIx wrong error message on invalid use of the formspec element image_button 2013-10-07 22:50:26 +02:00
Kahrl 3c4734d69a 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 e8b9467905 Fix crash on lua exception 2013-09-05 00:45:00 +02:00
PilzAdam 71a6ffa762 Use wstring for vertlabels 2013-08-31 21:07:53 +02:00
BlockMen deaa8dc287 Fix gettext for tabs (windows) 2013-08-19 15:59:09 +02:00
Kahrl 8548bb75b6 GUIFormSpecMenu focus fixes 2013-08-19 15:49:36 +02:00
BlockMen 72b9b0fe3a Reenable image scaling in formspecs 2013-08-18 15:52:04 +02:00
sapier 09a50d0458 Add translation for main menu
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00
PilzAdam 1e4e64f831 Remove debug output 2013-08-16 02:48:50 +02:00
Kahrl 5e312dc40d Don't automatically scroll listbox when selecting an item in the middle 2013-08-16 00:58:03 +02:00
Kahrl d8337034b5 Formspec textlist: Black Irrlicht magic to detect fake doubleclicks 2013-08-16 00:08:19 +02:00
Novatux 7921fe2cd1 Fix formspec escaping, add escaping to info.txt for texture packs. 2013-08-15 22:12:51 +02:00
Kahrl 4e1f50035e Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
Kahrl 2ed3067bbe Fix various memory access problems detected by valgrind 2013-08-07 19:48:31 +02:00
Kahrl 7294f28c3a Fix uninitialized irr::SEvent fields in guiFormSpecMenu.cpp 2013-08-07 01:36:19 +02:00
BlockMen be4670fecf Fix formspec label issues in win builds (MSVC) 2013-08-04 20:49:23 +02:00
BlockMen a59f85c1a0 Add support of pressed_texture of image_button
Fix params number

Add pressed texture name

Fix string def

Fix syntax error
2013-07-24 01:02:43 +02:00
BlockMen 8e2467c393 Add gettext translation for image_button 2013-07-24 01:01:56 +02:00
sapier 494fa0c81a Remove lots of debug output from modmgr
Fix RUN_IN_PLACE=0 mod install (now mods are saved in user folder in that case)
Fix text of field element not unescaped correctly
2013-07-12 22:46:27 +02:00
sapier 1c7c5d571d Fix serverlist 2013-07-09 22:55:39 +02:00
kwolekr e1a13608d8 Revert "Fix serverlist not beeing escaped correctly"
This reverts commit 39d03148e5.
2013-07-08 20:21:09 -04:00
sapier 39d03148e5 Fix serverlist not beeing escaped correctly
Always use address for server
Fix first (empty) element beeing selected after deleting last world
2013-07-08 19:58:17 -04:00
sapier 88d43af276 Fix many formspec menu bugs 2013-07-07 19:49:52 -04:00
Sfan5 7e73b7cae9 Fix parseColor, change remaining colorkeys to new format, fix Contributor list 2013-07-07 19:59:18 +02:00
Sfan5 307c57dcc4 Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2013-07-06 10:32:58 +02:00
sapier 967121a34b Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00
Kahrl 8161ab573f Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture 2013-07-02 03:03:10 +02:00
Kahrl d74c377337 Formspec: Don't perform black magic if selected item fits the guess 2013-06-18 01:32:11 +02:00
Kahrl c8ed61b281 Fix calculation of selected item (for not drawing it) in formspec
The previous code did not work when the list did not start at index 0
of the inventory list (issue #779).
2013-06-18 01:18:54 +02:00
MetaDucky a61aa6690b Fix editbox default text being pre-selected in some cases 2013-06-01 01:59:48 +02:00
sapier 98182f6097 fix memory leaks introduced by invalid gettext usage 2013-04-07 22:50:53 -04:00
kwolekr ba78194636 Allow any character in formspec strings with escape char 2013-03-05 23:25:02 -05:00