aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui.cpp
AgeCommit message (Collapse)Author
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-04-27Cleanup.Johannes Schickel
svn-id: r26604
2007-04-15Formatting/Cleanup.Johannes Schickel
svn-id: r26511
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2007-03-24Commit of patch #1686414 ("Kyra: FM-Towns music").Johannes Schickel
svn-id: r26285
2007-03-23Implemented some palette code differences for Amiga version.Johannes Schickel
svn-id: r26281
2007-03-18KYRA: Changed to use EventManager::getMousePos (should improve some things: ↵Max Horn
the old code did not properly track the mouse upon click events, and KyraEngine::waitForEvent ignored _flags.useHiResOverlay) svn-id: r26221
2007-03-18Fixed various gui strings in German floppy.Johannes Schickel
svn-id: r26211
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-02-12Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, ↵Johannes Schickel
modified a bit) svn-id: r25530
2007-02-08Fixed GUI strings in FM-Towns version.Johannes Schickel
svn-id: r25425
2007-01-31oops.Johannes Schickel
svn-id: r25314
2007-01-31Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips ↵Johannes Schickel
animation"). svn-id: r25313
2007-01-26Some adjustments to the menu code to better suit longer strings in some ↵Oystein Eftevaag
language versions, should take care of the issues mentioned in bug [ 1493774 ] KYRA1: Overlapping menu text in spanish version svn-id: r25208
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