aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui.cpp
AgeCommit message (Collapse)Author
2006-09-17- removes the kyra specific language flag system, and uses the language enum ↵Johannes Schickel
defined in Common for that now - also reworks the game flag system in general svn-id: r23920
2006-08-26Adds some framework for the Kyra2 intro, expands it a little bit and adds ↵Oystein Eftevaag
some static resources (strings, etc). Also adding a modified version of eriktorbjorn's '[1531929] KYRA: Kyra 2 & 3 main menu unification', with added mouse pointer and sundry. svn-id: r23766
2006-07-14More whitespace changes.Torbjörn Andersson
svn-id: r23496
2006-06-18Makes sure updateScreen() is called once in a while in the menu polling ↵Oystein Eftevaag
loop, to give backends some drawing time for virtual keyboards etc svn-id: r23169
2006-06-02Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").Johannes Schickel
svn-id: r22844
2006-06-01Call setWalkspeed() after reading config settings, and after loading savegames,Torbjörn Andersson
so that _timers[] is properly synced with _configWalkspeed. Should fix bug #1498660. svn-id: r22814
2006-05-28Another couple of fixes for the spanish floppy version (menu strings ↵Oystein Eftevaag
specifically) svn-id: r22714
2006-05-28The Kyra settings are now stored in the config file instead of the savegames.Torbjörn Andersson
The settings in older savegames are ignored. svn-id: r22705
2006-05-28Added speechEnabled() and textEnabled() to simplify the text/speech config ↵Oystein Eftevaag
checks a bit, and added checks some more places svn-id: r22703
2006-05-28Added checks for sound/text config in Brandons responses to using the amuletOystein Eftevaag
svn-id: r22699
2006-05-28Fixes bug [ 1480746 ] KYRA1: menu triggers assertion, and sets the ↵Oystein Eftevaag
text/speech config options correctly for CD versions svn-id: r22693
2006-05-21- reworks quit handling (no _system->quit() anymore)Johannes Schickel
- fixes some deinitalization problems svn-id: r22558
2006-05-08Cleanup: Use ScummVM indentation style for switch() cases. In some cases, ITorbjörn Andersson
have added or removed "break"s, but not in any way which should change the program's behaviour. I.e. I've added "break" to the final case, and after calling quitGame(), and I've removed "break" after "return". svn-id: r22383
2006-04-25Fixes some coordinate initialization in the menus, and makes sure the ↵Oystein Eftevaag
initial savegame is created when kyrandia is started for the first time svn-id: r22153
2006-04-25Adds some code to dynamically resize and readjust the menus if the text ↵Oystein Eftevaag
strings of the current language are too long, to avoid overlaps etc. svn-id: r22148
2006-04-23Uses kyra.dat for GUI strings instead of hardcoding them, which means ↵Oystein Eftevaag
localized strings are now supported for the menus. Note that the size of the menus are not yet calculated to account for the longer strings in some languages svn-id: r22105
2006-04-04Removed extra exclamation marks in warning() calls as well.Eugene Sandulenko
svn-id: r21608
2006-03-20Initialise _haveScrollButtons, since Valgrind complained about it.Torbjörn Andersson
svn-id: r21392
2006-03-19Makes sure Brandon actually dies when he turns to stone in the kyragem roomOystein Eftevaag
svn-id: r21379
2006-03-19Adds button press animations to the menu, and resets the cursor when the ↵Oystein Eftevaag
Dialog of Death pops up. Also, mouse clicks are now registered on button up instead of button down, as in the original svn-id: r21377
2006-03-18Fixes the color of the quitting dialog text after drinking a potionOystein Eftevaag
svn-id: r21358
2006-03-15Added mouse wheel scrolling to save/restore dialogs.Torbjörn Andersson
svn-id: r21314
2006-03-08Implemented the last menu (the settings screen). Walking speed, text speed,Oystein Eftevaag
and speech modes (text only, speech only, speech & text) can now be configured. Toggling music and sound in general is not enabled yet. Also formatted the static menu resources a bit differently, made sure some vars in the menu code always got initalized, and fixed a slight formatting error :). svn-id: r21145
2006-03-07Added the proper death dialog, changed the sequence skipping code a bit to avoidOystein Eftevaag
possible frame losses, and removed a (now) redundant call to showOverlay() in the debugger. svn-id: r21125
2006-02-14Made the kyra debug extensions more generic, i.e. scumm engine could replaceJohannes Schickel
their debugC calls now with the new introduced debugC calls. (A mail how to use it will follow shortly on -devel) Also now these special engine debug flags can be specified from the commandline. Also made the -c & --config parameter check more secure. svn-id: r20695
2006-02-14Reworked kyra debug output system. Now he have special kyra intern debug ↵Johannes Schickel
levels + the global debug levels, for now I enable all kyra debug levels if the global debug level is not -1. see 'toggle_debug' in the kyra debugger and kyra.h for the different levels. (This is just the beginning of it anyway, for example the sound debug level isn't used for now) svn-id: r20678
2006-02-11Moved engines to the new engines/ directoryMax Horn
svn-id: r20582