Commit Graph

1129 Commits

Author SHA1 Message Date
Johannes Schickel
0bd8493e7c Formatting.
svn-id: r32113
2008-05-14 13:57:22 +00:00
Johannes Schickel
7fd9e149f9 Possibly fixed bug #1963700 "KYRA2: Nonresponsive clicks".
svn-id: r32112
2008-05-14 13:52:24 +00:00
Torbjörn Andersson
97855800b6 Oops, I definitely meant for that to be '==', not '='. I guess this is what it
should look like, but I can't actually test (or even compile) it right now.

svn-id: r32103
2008-05-14 09:43:41 +00:00
Filippos Karapetis
ec0e836925 Added a FIXME regarding commit #32096
svn-id: r32102
2008-05-14 07:27:31 +00:00
Torbjörn Andersson
6a9429613b Added the animation speed workaround for the sheriff animation as well. (See
bug #1926838, "HoF: Animation plays too fast".)

svn-id: r32096
2008-05-14 03:35:06 +00:00
Florian Kagerer
231ef79de2 fix engine destructor for non interactive hof demo
svn-id: r32093
2008-05-13 21:39:18 +00:00
Johannes Schickel
6f14d88138 More descriptive error message when encountering invalid font data.
svn-id: r32092
2008-05-13 21:17:46 +00:00
Johannes Schickel
e99c9048a8 Formatting.
svn-id: r32078
2008-05-12 22:37:21 +00:00
Florian Kagerer
6b5709be14 remove useless double check on sound list entries
svn-id: r32076
2008-05-12 22:13:33 +00:00
Florian Kagerer
c630fbde6a fix valgrind warning and some cleanup
svn-id: r32075
2008-05-12 21:52:44 +00:00
Johannes Schickel
13b60eeb32 Don't restart music while changing music volume in Hof and MR.
svn-id: r32069
2008-05-12 19:29:14 +00:00
Johannes Schickel
08c601ad97 Yet another valgrind warning fixed.
svn-id: r32067
2008-05-12 17:46:15 +00:00
Johannes Schickel
de6e6408b6 Fixed some valgrind warnings.
svn-id: r32065
2008-05-12 17:23:28 +00:00
Johannes Schickel
289f96d37c More naming consistency fixes (fixes old TODO).
svn-id: r32062
2008-05-12 14:52:18 +00:00
Florian Kagerer
bde4fa1e9b fix for kyra 3 sfx (broken by last commit)
svn-id: r32061
2008-05-12 14:22:27 +00:00
Johannes Schickel
0b9a3f2208 Added assert to snd_playSoundEffect.
svn-id: r32060
2008-05-12 13:50:59 +00:00
Florian Kagerer
771854bdd9 move some kyra 3 static resources to kyra.dat
svn-id: r32058
2008-05-12 13:35:58 +00:00
Johannes Schickel
4db0bd9046 Two more KyraEngine_LoK opcodes renamed.
svn-id: r32057
2008-05-12 13:19:11 +00:00
Johannes Schickel
56d2603d4f - Some more opcodes moved to KyraEngine_v1
- Yet more naming consistency fixes

svn-id: r32056
2008-05-12 13:11:42 +00:00
Johannes Schickel
1a52c5283a - Yet more opcodes moved to KyraEngine_v1
- Renamed some opcodes inside KyraEngine_LoK

svn-id: r32055
2008-05-12 12:57:42 +00:00
Johannes Schickel
279987c181 Oops forgot to commit module.mk
svn-id: r32054
2008-05-12 12:43:52 +00:00
Johannes Schickel
574af78acb - Moved some opcodes to KyraEngine_v1
- Little variable renaming

svn-id: r32053
2008-05-12 12:42:10 +00:00
Torbjörn Andersson
65e41486f4 Added do { ... } while (0) to the GUI_V* macros, so that they will work as
expected if, for instance, someone writes "if (...) GUI_V1_MENU_ITEM( ... );"
I don't expect anyone will want to write statements like that, but just to
avoid nasty surprises...

svn-id: r32049
2008-05-12 04:33:30 +00:00
Torbjörn Andersson
3763c2799d Renamed preprocessor constants to match file names.
svn-id: r32047
2008-05-12 04:17:51 +00:00
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
6e0c569966 Consisteny fixes:
- Renamed classes *_v1 -> *_LoK
 - Renamed files *_v1.* -> *_lok.*
 - Renamed WSAMovieV1 -> WSAMovie_v1
 - Renamed WSAMovieV2 -> WSAMovie_v2

svn-id: r32042
2008-05-11 22:32:37 +00:00
Johannes Schickel
1d018f6046 Formatting.
svn-id: r32037
2008-05-11 21:09:16 +00:00
Johannes Schickel
4b21c2958d Implemented helium mode support for Kyra3.
svn-id: r32028
2008-05-11 17:50:13 +00:00
Johannes Schickel
825e3b5136 - Added support for original kyra3 save files
- Added TalkObject::sceneId in savegames

svn-id: r32027
2008-05-11 17:20:23 +00:00
Johannes Schickel
a6ccfa4f09 Added saving of current album page of kyra3 like the original did.
svn-id: r32025
2008-05-11 16:56:19 +00:00
Johannes Schickel
61a105c9ba Updated pathfinder debug output.
svn-id: r32024
2008-05-11 16:48:54 +00:00
Johannes Schickel
35d01db1aa Implemented page switch animation in kyra3 album.
svn-id: r32023
2008-05-11 15:57:50 +00:00
Johannes Schickel
4932660f13 - Implemented kyra3 album (page switch animation not yet implemented)
- Implemented opcode 25: o3_showAlbum

svn-id: r32022
2008-05-11 15:24:25 +00:00
Florian Kagerer
5f9c533446 stop music playback when skipping (parts of) the HOF intro
svn-id: r32019
2008-05-11 12:58:54 +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
Torbjörn Andersson
d7fc8fd7be Use less CPU when reading the spell book.
svn-id: r32009
2008-05-11 10:48:22 +00:00
Torbjörn Andersson
b2defd0eac Fixed warning.
svn-id: r31988
2008-05-10 19:57:49 +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
5082419fe9 Fixed bug in Screen_v2::makeShapeCopy.
svn-id: r31986
2008-05-10 19:29:13 +00:00
Johannes Schickel
7c7e9b831f Implemented pausing of timers, this should fix some minor glitches.
svn-id: r31985
2008-05-10 19:20:38 +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
a00df8dff1 Renamed opcode 163: o2_getBoolFromStack to o2_midiSoundFadeout and updated implementation.
svn-id: r31981
2008-05-10 18:39:03 +00:00
Johannes Schickel
9b2c63550f Implemented opcode 106: o2_playFireflyScore.
svn-id: r31980
2008-05-10 18:30:20 +00:00
Johannes Schickel
8d6048a9fa - Added small delay to GUI_v2::getInput
- Prevent kyra3 background music from stopping while menu is open

svn-id: r31979
2008-05-10 18:23:11 +00:00
Johannes Schickel
6b51580bb1 Consume less cpu time when Zanthia/Malcolm are walking.
svn-id: r31978
2008-05-10 18:14:57 +00:00
Florian Kagerer
3ee96f2fe3 fix missing animation for golden neck ring
svn-id: r31977
2008-05-10 17:51:57 +00:00
Johannes Schickel
95a85a8984 Simplification in updateItemAnimations in KyraEngine_HoF and KyraEngine_MR.
svn-id: r31976
2008-05-10 17:41:34 +00:00
Florian Kagerer
870a330c66 (hopefully) fix bug in last commit
svn-id: r31975
2008-05-10 15:31:11 +00:00
Florian Kagerer
8bbf257525 implement item animations for MR
svn-id: r31973
2008-05-10 14:12:48 +00:00
Johannes Schickel
a83d79bafd Fixed typos.
svn-id: r31965
2008-05-09 13:33:31 +00:00