Commit Graph

66 Commits

Author SHA1 Message Date
Johannes Schickel
bb03596744 - Renamed KyraEngine to KyraEngine_v1
- kyra.* -> kyra_v1.*
- scene.cpp -> scene_v1.cpp

svn-id: r32044
2008-05-11 23:16:50 +00:00
Johannes Schickel
35cc3a3d19 Committed slightly modified patch #1961830 "KYRA: Scroll wheel support for Kyra 2 and 3".
svn-id: r32016
2008-05-11 11:35:12 +00:00
Johannes Schickel
d21d9858fd - Cleaned up main menu quit handling
- Moved KyraEngine_HoF delay implementation to KyraEngine_v2

svn-id: r31987
2008-05-10 19:41:26 +00:00
Johannes Schickel
f930fff0d1 Set _quitFlag when receiving quit event in kyra2/kyra3 main menu.
svn-id: r31984
2008-05-10 18:56:00 +00:00
Johannes Schickel
2afff04468 - Added support for Kyra3 GUI (audio and game options not working yet)
- Added support for loading directly from command line for Kyra3

svn-id: r31876
2008-05-05 16:05:56 +00:00
Florian Kagerer
c0db9c0d25 fix broken save file list
svn-id: r31796
2008-05-01 11:36:00 +00:00
Johannes Schickel
ca7f7e2a3b Various cleanup.
svn-id: r31772
2008-04-29 14:33:29 +00:00
Johannes Schickel
853b6e28e9 Implemented some kyra3 code.
svn-id: r31503
2008-04-14 20:20:51 +00:00
Johannes Schickel
1f91dc0384 - some refactoring for Kyra3
- removed unneeded map code in KyraEngine_v3

svn-id: r31488
2008-04-12 23:17:21 +00:00
Johannes Schickel
c676cf560f Fixed crash when supplying illegal savefile names.
svn-id: r31402
2008-04-05 05:23:46 +00:00
Johannes Schickel
b99d5603cf - Changed quicksaves to use slots 990-998.
- Made slots 990-999 not writeable for savegames via menu.
- Temporary save in HoF now uses slot 999.

svn-id: r31400
2008-04-05 03:03:10 +00:00
Johannes Schickel
dd8676877e - cleanup
- sort savefiles in kyra from newest -> oldest

svn-id: r31397
2008-04-05 02:40:28 +00:00
Johannes Schickel
7020627572 - Implemented delete savegame menu
- Reverted hack introduced with last commit

svn-id: r31395
2008-04-05 02:22:11 +00:00
Johannes Schickel
25364dc618 Added simple hack to work around drawing of scroll button after loading game in HoF.
svn-id: r31394
2008-04-05 01:55:44 +00:00
Johannes Schickel
eac671de99 Implemented proper savefile listing, this fixes bug #1479872 "KYRA1: a small menu issue".
svn-id: r31392
2008-04-05 01:49:28 +00:00
Johannes Schickel
272fa6d578 Implemented audio menu, slider bars not moveable via mouse yet though.
svn-id: r31384
2008-04-04 18:02:50 +00:00
Johannes Schickel
3dc6f9000d Added partial support for main menu. Only load, save and resume buttons are working currently
svn-id: r31375
2008-04-04 06:24:49 +00:00
Johannes Schickel
f4e6109b33 - fixed savegame description loading in kyra1
- added Kyra2 load menu, currently just accessable from startup menu though

svn-id: r31331
2008-03-30 18:27:46 +00:00
Johannes Schickel
b910d8d9bb Refactored Kyrandia GUI code a bit.
svn-id: r31290
2008-03-28 09:00:30 +00:00
Johannes Schickel
bf5bb9280b - Restructure Kyrandia sourcecode (part 1, breaks compiling)
svn-id: r28294
2007-07-29 16:28:25 +00:00
Johannes Schickel
24344fe6ce Should fix gui strings in Italian fan translation.
svn-id: r28028
2007-07-11 13:25:21 +00:00
Johannes Schickel
c6c06a922e Little renaming.
svn-id: r27963
2007-07-08 12:50:24 +00:00
Max Horn
a041ef2317 Slightly updated key handling in BS2, Kyra, and Touche
svn-id: r27637
2007-06-22 23:03:12 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
edd9b31a48 Cleanup.
svn-id: r26604
2007-04-27 12:15:47 +00:00
Johannes Schickel
21b2c7bceb Formatting/Cleanup.
svn-id: r26511
2007-04-15 16:41:20 +00:00
Gregory Montoir
5aca9dce8c added the instance of EventManager returned by OSystem::getEventManager as a 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-04-01 17:36:13 +00:00
Johannes Schickel
d1645e2fbf Commit of patch #1686414 ("Kyra: FM-Towns music").
svn-id: r26285
2007-03-24 00:04:08 +00:00
Johannes Schickel
661944a0f9 Implemented some palette code differences for Amiga version.
svn-id: r26281
2007-03-23 16:24:28 +00:00
Max Horn
888e68f433 KYRA: Changed to use EventManager::getMousePos (should improve some things: the old code did not properly track the mouse upon click events, and KyraEngine::waitForEvent ignored _flags.useHiResOverlay)
svn-id: r26221
2007-03-18 18:27:52 +00:00
Johannes Schickel
c7c79e33db Fixed various gui strings in German floppy.
svn-id: r26211
2007-03-18 16:15:19 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class 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-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
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-17 15:44:26 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Johannes Schickel
7af17382b5 Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, modified a bit)
svn-id: r25530
2007-02-12 18:01:51 +00:00
Johannes Schickel
00d4aea7e6 Fixed GUI strings in FM-Towns version.
svn-id: r25425
2007-02-08 09:24:33 +00:00
Johannes Schickel
d3345ea7f1 oops.
svn-id: r25314
2007-01-31 18:38:22 +00:00
Johannes Schickel
d82c67b48c Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips animation").
svn-id: r25313
2007-01-31 18:35:50 +00:00
Oystein Eftevaag
7a5284922f Some adjustments to the menu code to better suit longer strings in some language versions, should take care of the issues mentioned in bug [ 1493774 ] KYRA1: Overlapping menu text in spanish version
svn-id: r25208
2007-01-26 21:47:42 +00:00
Johannes Schickel
b6a8e38726 - removes the kyra specific language flag system, and uses the language enum defined in Common for that now
- also reworks the game flag system in general

svn-id: r23920
2006-09-17 20:21:40 +00:00
Oystein Eftevaag
c47a957fb3 Adds some framework for the Kyra2 intro, expands it a little bit and adds 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-08-26 22:17:30 +00:00
Torbjörn Andersson
6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Oystein Eftevaag
499b5491eb Makes sure updateScreen() is called once in a while in the menu polling loop, to give backends some drawing time for virtual keyboards etc
svn-id: r23169
2006-06-18 10:39:57 +00:00
Johannes Schickel
6ac60c9c7b Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").
svn-id: r22844
2006-06-02 22:57:02 +00:00
Torbjörn Andersson
4c9b3ce5e3 Call setWalkspeed() after reading config settings, and after loading savegames,
so that _timers[] is properly synced with _configWalkspeed. Should fix bug
#1498660.

svn-id: r22814
2006-06-01 09:49:56 +00:00
Oystein Eftevaag
a442af2703 Another couple of fixes for the spanish floppy version (menu strings specifically)
svn-id: r22714
2006-05-28 12:10:11 +00:00
Torbjörn Andersson
b17f0e8b6d The Kyra settings are now stored in the config file instead of the savegames.
The settings in older savegames are ignored.

svn-id: r22705
2006-05-28 09:21:32 +00:00
Oystein Eftevaag
dbaf5206ae Added speechEnabled() and textEnabled() to simplify the text/speech config checks a bit, and added checks some more places
svn-id: r22703
2006-05-28 06:07:54 +00:00
Oystein Eftevaag
3a1dec3ad1 Added checks for sound/text config in Brandons responses to using the amulet
svn-id: r22699
2006-05-28 05:09:09 +00:00
Oystein Eftevaag
76d722d941 Fixes bug [ 1480746 ] KYRA1: menu triggers assertion, and sets the text/speech config options correctly for CD versions
svn-id: r22693
2006-05-28 02:51:03 +00:00