Commit Graph

276 Commits

Author SHA1 Message Date
Johannes Schickel
04503d462d Use the FS Api to load all .PAK and .APK files. (I just made a few quick tests, but before this should be integrated to branch-0-9-0 there should be a test for it on *every* platform, since I'm not quite sure if FilesystemNode::displayName is useable for this...)
svn-id: r23511
2006-07-15 20:30:36 +00:00
Johannes Schickel
a8e3e929e8 A little cleanup (merges kyra1_games, kyra2_games, kyra3_games into kyra_games)
svn-id: r23510
2006-07-15 20:09:45 +00:00
Johannes Schickel
f5d8055777 Changes names of Kyra2 and Kyra3 detected games.
svn-id: r23509
2006-07-15 20:00:08 +00:00
Torbjörn Andersson
6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Johannes Schickel
db2ffa4285 Changes init error handling of kyra engine (engine fails at Engine_KYRA_create now instead of KyraEngine::init, also adds check for invalid game path like the scumm
engine does).

svn-id: r23426
2006-07-08 14:51:26 +00:00
Johannes Schickel
abdebd3bfd - fixes some c/p errors from my last commit
- fixes embedded pak loading

svn-id: r23425
2006-07-08 14:25:23 +00:00
Johannes Schickel
57621c9245 Implements loading of 'westwood.001' for kyra3 (no need to run the installer anymore).
(thanks to eriktorbjorn for his code to extract files from westwood.001)

svn-id: r23423
2006-07-08 13:56:56 +00:00
Johannes Schickel
93e9dee0d1 Adds a message dialog if kyra.dat is missing which tells the user to download the kyra.dat file.
svn-id: r23421
2006-07-08 12:23:44 +00:00
Johannes Schickel
ac8607f433 Fixes save/load of kyra engine.
svn-id: r23287
2006-06-24 12:03:30 +00:00
Max Horn
ff15667544 These FIXME comments can go, I think :)
svn-id: r23277
2006-06-24 09:34:24 +00:00
Max Horn
ca2a6d7cd1 Fixing a leak in the Kyra engine (the savefile manager allocated by class Engine was never freed)
svn-id: r23276
2006-06-24 09:29:57 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +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
9dd02260a6 removes _selectedMenuItem again.
svn-id: r22944
2006-06-05 19:43:44 +00:00
Chris Apers
81e0a00966 Fixed PalmOS ARM crashes
svn-id: r22942
2006-06-05 19:33:10 +00:00
Johannes Schickel
8b24dc9bdf wrong palettes should be really fixed now.
svn-id: r22912
2006-06-04 12:30:29 +00:00
Johannes Schickel
c590229796 Should fix strange palettes in some rooms.
svn-id: r22910
2006-06-04 12:16:12 +00:00
Torbjörn Andersson
7b2362702f This hack is no longer needed to make the mouse cursor visible on the Kyra 3
main menu.

svn-id: r22905
2006-06-03 19:43:57 +00:00
Johannes Schickel
392fe0cad1 Don't allow creation of save file when the user quits the game while the intro.
svn-id: r22904
2006-06-03 18:38:36 +00:00
Johannes Schickel
4a6b2a3276 Fixes visible mouse cursor in the intro with classic theme.
svn-id: r22903
2006-06-03 18:34:57 +00:00
Johannes Schickel
35e7eacc3f Changes some char* usage to Common::String.
svn-id: r22902
2006-06-03 18:30:07 +00:00
Johannes Schickel
6cfb416d44 - Replaces usage of PAKChunk* with PAKChunk for Common::List, should solve some strange MSVC6 warnings/(errors).
svn-id: r22900
2006-06-03 17:58:13 +00:00
Johannes Schickel
369e79bfba Implements cmd_fadeEntirePalette, should fix some missing palette fades.
svn-id: r22888
2006-06-03 15:13:18 +00:00
Johannes Schickel
48af506189 Fix for bug # 1497965 ("KYRA1: Skipping dialogue requires two clicks").
svn-id: r22848
2006-06-03 00:30:28 +00:00
Johannes Schickel
97b3b74ea1 Oops. sfx should be on per default.
svn-id: r22845
2006-06-02 23:01:33 +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
Lars Persson
44d48ed594 GCC 2.9x fix for Symbian OS, for accessing class within Common namespace
svn-id: r22807
2006-05-31 19:55:29 +00:00
Torbjörn Andersson
2ce9edd7f7 Fixed subtitles Y coordinate in characterSays(). I have no way of confirming
this, but it seems obvious to me that it's trying to subtract the character's
scaled height, and this is how that's calculated elsewhere as far as I can see.

svn-id: r22769
2006-05-30 12:13:34 +00:00
Oystein Eftevaag
5d562eb3c5 Committed patch [ 1496602 ] KYRA: typo on Kyra2 file list
, thanks to Bellut

svn-id: r22729
2006-05-29 01:55:42 +00:00
Torbjörn Andersson
bc5b877aa9 Got rid of _selectedMenuItem to make LordHoto happier.
svn-id: r22725
2006-05-28 16:29:31 +00:00
Torbjörn Andersson
e4989b37b7 Mock-up version of the Kyra 3 main menu. Just enough to be able to select the
intro cutscene.

svn-id: r22724
2006-05-28 16:22:12 +00:00
Johannes Schickel
28114e3007 Sets a blank palette at startup.
svn-id: r22719
2006-05-28 12:33:41 +00:00
Johannes Schickel
d28d6fe4fb cleanup
svn-id: r22717
2006-05-28 12:23:49 +00:00
Johannes Schickel
1750be5b5a - makes Screen::getPagePtr private
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling)
- moves KyraEngine::loadBitmap to Screen

svn-id: r22716
2006-05-28 12:19:45 +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
Johannes Schickel
a822d8e6e0 adds GF_ITALIAN to the list of language flags.
svn-id: r22713
2006-05-28 11:55:42 +00:00
Johannes Schickel
a02f239659 cleanup
svn-id: r22712
2006-05-28 11:53:20 +00:00
Johannes Schickel
1d969e8acd removes some tabs.
svn-id: r22710
2006-05-28 11:48:14 +00:00
Johannes Schickel
6552881322 This could fix detecting unknown non-english versions which contain a MAIN_ENG.CPS and a language specific image.
svn-id: r22709
2006-05-28 11:46:22 +00:00
Johannes Schickel
727f66de39 Commits Chriliths patch for fixing Kyra on PalmOS.
svn-id: r22708
2006-05-28 11:43:04 +00:00
Johannes Schickel
073f859de9 Fixes bug # 1494945 ("KYRA1: Actor disappearing in an animation").
svn-id: r22707
2006-05-28 11:33:17 +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
8161aa8adb Adding a safety check before the stopHandle call().. May or may not be necessary.
svn-id: r22698
2006-05-28 04:53:22 +00:00
Oystein Eftevaag
77910d4163 Fix for [ 1472007 ] KYRA1: Bypassing cutscenes with ESC doesn't stop speech
svn-id: r22697
2006-05-28 04:46:34 +00:00
Oystein Eftevaag
9a7f92d558 Kyra.dat wasn't being loaded for the kyra1 demo (which is needed). Fixed.
svn-id: r22696
2006-05-28 04:08:25 +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