Commit Graph

779 Commits

Author SHA1 Message Date
Johannes Schickel
165c937e20 Enabled gamespeed debug command also for Kyra1.
svn-id: r31267
2008-03-27 16:12:48 +00:00
Johannes Schickel
3e98286af9 Fixed palette loading debug command for amiga version.
svn-id: r31266
2008-03-27 15:32:20 +00:00
Johannes Schickel
4d4fbc9e97 Added debugger command to set screen palette.
svn-id: r31265
2008-03-27 15:27:31 +00:00
Johannes Schickel
9eb279e1b6 Update hack comment in o2_updateSceneAnim.
svn-id: r31263
2008-03-27 14:55:52 +00:00
Johannes Schickel
57b80a79ab Fix for bug #1926838 "HoF: Animation plays too fast".
svn-id: r31262
2008-03-27 14:51:33 +00:00
Florian Kagerer
c4f15a7076 this should fix item #1926532 (HoF: ScummVM quits on ESCaping "Virgin" and "Westwood" logo)
svn-id: r31259
2008-03-26 23:42:47 +00:00
Johannes Schickel
a2053c0815 Prevents adding of events to input queue, which will not be processed anyway.
svn-id: r31258
2008-03-26 23:21:44 +00:00
Torbjörn Andersson
762398376f Fixed GCC warning. It warns about "if (a = b)" unless you put an extra set of
parentheses around the assignment.

svn-id: r31255
2008-03-26 21:58:56 +00:00
Johannes Schickel
bf71af3c91 Fixed typo.
svn-id: r31254
2008-03-26 21:56:20 +00:00
Johannes Schickel
db1b4f0e14 - reworked skip flag handling in some places again
- hopefully fixed tons of warnings related to stackPosString

svn-id: r31253
2008-03-26 21:52:28 +00:00
Johannes Schickel
f919b26875 - fixed multiple voices playing at once (see bug #1926547 "HoF: Right mouse button messes up gameplay").
- fixed crash while uninitializing AdLib driver

svn-id: r31252
2008-03-26 21:39:44 +00:00
Johannes Schickel
e962640411 Set delay time for the hack in o2_updateSceneAnim to the value Raziel^ suggests.
svn-id: r31251
2008-03-26 21:28:26 +00:00
Johannes Schickel
c9b9398561 Possible fix for part 1 of bug #1926547 "HoF: Right mouse button messes up gameplay".
svn-id: r31250
2008-03-26 21:24:22 +00:00
Johannes Schickel
7c33605761 Added support for HoF savefile from the original interpreter.
svn-id: r31249
2008-03-26 21:17:07 +00:00
Johannes Schickel
4b0bdc7a08 Extended savegame type checks.
svn-id: r31246
2008-03-26 20:28:31 +00:00
Johannes Schickel
c2df92a9b5 Added a simple hack which adds delay between animation frames of some scene animations, this prevents some animations from running too fast. See for example bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31245
2008-03-26 19:58:33 +00:00
Johannes Schickel
afed582280 Fix bug #1923638 "HoF: Marco missing animation frames".
svn-id: r31243
2008-03-26 16:11:47 +00:00
Florian Kagerer
1bb41bf225 fixed skip flag reset for sequence player
svn-id: r31232
2008-03-24 23:01:51 +00:00
Florian Kagerer
6dafd78b56 improved skip flag handling for intro and outro (see tracker item #1922556)
svn-id: r31231
2008-03-24 14:21:06 +00:00
Johannes Schickel
00033ff747 Respect text/voice settings in Kyrandia 1 Intro/Outro.
svn-id: r31228
2008-03-23 20:55:42 +00:00
Johannes Schickel
46376d38a9 - fixed bug in Sound::voiceIsPlaying
- fixed speech animation duration in Kyra1

svn-id: r31221
2008-03-22 14:29:30 +00:00
Johannes Schickel
df78d4d484 Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".
svn-id: r31220
2008-03-22 12:43:23 +00:00
Johannes Schickel
07bb52b78e Fix for bug #1922521 "HoF: mountaineer sprite vanishes".
svn-id: r31217
2008-03-22 00:33:05 +00:00
Johannes Schickel
7c57c127ea Oops removing debug output.
svn-id: r31216
2008-03-21 23:57:05 +00:00
Johannes Schickel
5107404089 - improved timer information output in debugger
- fixed timer data loading

svn-id: r31215
2008-03-21 23:54:47 +00:00
Johannes Schickel
2a4aa9c379 Removed some unneeded waiting for voice to finish.
svn-id: r31212
2008-03-21 17:09:45 +00:00
Johannes Schickel
dea50612cb - disabled some old warnings
- removed waiting for voice to finish in o1_restoreCustomPrintBackground

svn-id: r31211
2008-03-21 16:54:08 +00:00
Johannes Schickel
b615eb177b Cleanup.
svn-id: r31210
2008-03-21 16:21:27 +00:00
Johannes Schickel
a169619526 - Implemented opcode 97: o2_isAnySoundPlaying
- reworked sound channel handling in HoF
  => fixed some voice related bugs

svn-id: r31209
2008-03-21 16:18:27 +00:00
Johannes Schickel
88069c943a Proper fix for bug #1920869 "HoF: palette artifacts in inventory".
svn-id: r31208
2008-03-21 12:51:03 +00:00
Florian Kagerer
2f7b59d3e2 - fix skip flags for non-playable demo
svn-id: r31207
2008-03-20 20:36:36 +00:00
Johannes Schickel
cb22a83034 - made Screen_v2::applyOverlay support dirty rect handling
- fixed copyRegion flags in KyraEngine_v2::scrollInventoryWheel

svn-id: r31206
2008-03-20 12:29:35 +00:00
Travis Howell
91a33d4d63 Add HoF CD demo.
svn-id: r31205
2008-03-20 12:10:30 +00:00
Johannes Schickel
558625ff45 Fixed bug #1920869 "HoF: palette artifacts in inventory".
svn-id: r31204
2008-03-20 12:07:06 +00:00
Torbjörn Andersson
4669f2a659 Fixed compilation.
svn-id: r31203
2008-03-20 11:58:18 +00:00
Johannes Schickel
e69532bff2 Fixed loading of 'filedata.fdt' in HoF demo from Malcolm's Revenge CD.
svn-id: r31202
2008-03-20 11:55:52 +00:00
Johannes Schickel
e70790c610 Enabled some cursor related commented out code.
svn-id: r31201
2008-03-20 11:42:02 +00:00
Johannes Schickel
01a24e5a6f Supply correct flags to copyRegion when displaying spellbook pages.
svn-id: r31200
2008-03-20 11:37:10 +00:00
Johannes Schickel
cc3b30d1cd Possible fix for graphics glitches when showing letters.
svn-id: r31199
2008-03-20 11:32:06 +00:00
Johannes Schickel
6d1cf23322 Made sure mouse is visible after savegame loading.
svn-id: r31198
2008-03-20 10:27:39 +00:00
Johannes Schickel
93a10bd0bd Fixed cauldron/spellbook graphics on savegame load.
svn-id: r31197
2008-03-20 10:11:57 +00:00
Johannes Schickel
24fe9e42d7 - fixed numerous graphics glitches
-> fixed bug in o2_stopSceneAnimation
 -> fixed bug in KyraEngine_v2::freeSceneAnims

svn-id: r31196
2008-03-19 17:13:31 +00:00
Johannes Schickel
48dc290b6c Bugfix for dropping items off scene.
svn-id: r31189
2008-03-18 19:32:00 +00:00
Torbjörn Andersson
12bfc644f4 Fixed some warnings, so that I too may bask in the glory of Kyrandia 2.
svn-id: r31188
2008-03-18 19:31:38 +00:00
Johannes Schickel
f1b11fdff9 - started to add debugC calls to methods
- implemented some missing bits in itemDropDown

svn-id: r31187
2008-03-18 19:27:21 +00:00
Johannes Schickel
cbc4c789da Implemented showing of credits after completing game.
svn-id: r31186
2008-03-18 19:06:53 +00:00
Johannes Schickel
80a73d4ae6 Renamed opcode 95 to o2_showItemString.
svn-id: r31185
2008-03-18 18:20:13 +00:00
Johannes Schickel
9dc4bcb407 - Impelemented opcodes:
-> 95: o2_showPickUpString
  -> 107: o2_waitForConfirmationClick
  -> 161: o2_getRainbowRoomData
  -> 162: o2_drawSceneShapeEx
- Did I mention that HoF is completable now?

svn-id: r31184
2008-03-18 18:07:05 +00:00
Johannes Schickel
83390027c2 - Implemented opcodes:
-> 12: o2_setCharacterFacing
  -> 14: o2_moveCharacter
  -> 61: o2_loadZShapes
  -> 83: o2_setPathfinderFlag
  -> 90: o2_setSceneAnimPos
  -> 160: o2_updateTwoSceneAnims
- Implemented dino riding sequence
- Fixed bug in KyraEngine_v2::initSceneScreen which caused some gfx glitches

svn-id: r31183
2008-03-18 17:00:26 +00:00
Johannes Schickel
2af4fc1034 - Implemented opcodes:
-> 21: o2_backUpScreen
  -> 22: o2_restoreScreen
  -> 28: o2_addItemToInventory
  -> 50: o2_wipeDownMouseItem
  -> 67: o2_loadPalette384
  -> 68: o2_setPalette384
  -> 165: o2_disableTimer
  -> 166: o2_enableTimer
  -> 167: o2_setTimerCountdown
- renamed some timer functions

svn-id: r31182
2008-03-18 15:50:43 +00:00