Johannes Schickel
b54b9b34b4
- Updated debug output for KyraEngine::snd_playTheme
...
- cleanup
svn-id: r31464
2008-04-10 15:41:06 +00:00
Johannes Schickel
1c8aa0c807
Set opcode 31 (o2_limitMouseRrange) to o2_dummy for now.
...
Also added a comment about that.
svn-id: r31427
2008-04-06 14:16:27 +00:00
Johannes Schickel
2755727249
Cleanup.
...
svn-id: r31426
2008-04-06 14:13:14 +00:00
Johannes Schickel
22992f4aa5
Implemented opcode 33 o2_loadSoundfile.
...
svn-id: r31425
2008-04-06 14:11:43 +00:00
Johannes Schickel
21a66f12ba
- Fixed HACKs in o2_getMusicDriver and o2_getSfxDriver
...
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing)
- Added music/sfx type to Sound class
svn-id: r31423
2008-04-06 13:32:41 +00:00
Johannes Schickel
5fd6af3071
Finished o2_delay implementation.
...
svn-id: r31284
2008-03-28 01:10:58 +00:00
Johannes Schickel
615a40d19c
Oops fixed wrong o2_delaySecs.
...
svn-id: r31283
2008-03-28 01:07:16 +00:00
Johannes Schickel
98f9a47619
Implemented opcodes:
...
- 38: o2_countItemsInScene
- 57: o2_setTimerDelay
- 84: o2_getSceneExitToFacing
- 137: o2_removeItemFromScene
svn-id: r31279
2008-03-28 00:13:43 +00:00
Johannes Schickel
72484b204b
- Implemented opcodes:
...
-> 51: o2_getElapsedSecs
-> 52: o2_getTimerDelay
- Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions
svn-id: r31277
2008-03-27 23:53:49 +00:00
Johannes Schickel
bf26f82cbb
Implemented opcode 74: o2_setSceneAnimPos2.
...
svn-id: r31276
2008-03-27 23:46:30 +00:00
Johannes Schickel
7a683ae436
Implemented opcodes:
...
- 164: o2_getSfxDriver
- 165: o2_getVocSupport
- 166: o2_getMusicDriver
svn-id: r31275
2008-03-27 23:12:45 +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
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
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
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
07bb52b78e
Fix for bug #1922521 "HoF: mountaineer sprite vanishes".
...
svn-id: r31217
2008-03-22 00:33:05 +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
cc3b30d1cd
Possible fix for graphics glitches when showing letters.
...
svn-id: r31199
2008-03-20 11:32:06 +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
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
Johannes Schickel
8e98e35b56
Fixed bug in o2_setupSceneAnimation. (should fix some lockups)
...
svn-id: r31181
2008-03-18 14:27:22 +00:00
Florian Kagerer
68a603139d
-missed animator_v2.cpp in last commit
...
svn-id: r31171
2008-03-17 23:45:33 +00:00
Florian Kagerer
760b44da10
- implement opcode 29: o2_drawShape
...
svn-id: r31170
2008-03-17 23:32:26 +00:00
Johannes Schickel
845d65d8b7
Implemented opcode 98: o2_setDeathHandlerFlag
...
svn-id: r31168
2008-03-17 23:27:33 +00:00
Johannes Schickel
1042c6dccf
Implemented opcodes:
...
- 70: o2_backUpInventoryGfx
- 71: o2_disableSceneAnim
- 72: o2_enableSceneAnim
- 73: o2_restoreInventoryGfx
svn-id: r31167
2008-03-17 23:01:50 +00:00
Johannes Schickel
8752939fe4
Implemented opcodes:
...
- 91: o2_blockInRegion
- 92: o2_blockOutRegion
svn-id: r31166
2008-03-17 22:42:12 +00:00
Johannes Schickel
f6f61a5bc3
- Fixed opcode 115 (fixed dragon scene)
...
- renamed opcode 155 to o2_addToSceneAnimPosAndUpdate
svn-id: r31165
2008-03-17 22:32:30 +00:00
Florian Kagerer
d71523ae15
remove unnecessary code duplication
...
svn-id: r31163
2008-03-17 21:15:24 +00:00
Florian Kagerer
b9339221e4
- implement debugger commands: gamespeed and pass_codes
...
- implement opcode 151: meanWhileScene()
- fix dragon flight scene: this is still totally messed up, but at least the screen doesn't stay blank any more
svn-id: r31152
2008-03-17 01:34:24 +00:00
Johannes Schickel
6c672d92f0
Changed Kyra2 script debug printfs to be consistent with Kyra1 ones.
...
svn-id: r31150
2008-03-16 18:42:29 +00:00
Johannes Schickel
18fa238cd3
- implemented skip flag handling in wsa related opcodes
...
- implemented skip flag handling in o2_isVoicePlaying
- fixed skip flag handling when making the cauldron appear.
svn-id: r31149
2008-03-16 18:24:45 +00:00
Johannes Schickel
79cc924d0e
Implemented opcode 16: o2_soundFadeOut
...
svn-id: r31146
2008-03-16 15:35:12 +00:00
Johannes Schickel
042666ca04
Implemented opcode 34: o2_removeItemSlotFromInventory
...
svn-id: r31145
2008-03-16 15:30:57 +00:00
Johannes Schickel
2bbaadbf95
Implemented opcodes:
...
- 15: o2_customCharacterChat
- 18: o2_restoreTalkTextMessageBkgd
- 94: o2_setCauldronState
- 154: o2_setupSceneAnimation
svn-id: r31144
2008-03-16 15:28:05 +00:00
Johannes Schickel
ef72d8e7bf
Moved KyraEngine_v2::setupOpcodeTable from kyra_v2.cpp to script_v2.cpp
...
svn-id: r31141
2008-03-16 13:40:54 +00:00
Johannes Schickel
3bfa70bc3e
Implemented opcode 30: o2_addItemToCurScene
...
svn-id: r31140
2008-03-16 13:39:40 +00:00
Johannes Schickel
2a95c653eb
- Impelemented opcode 155: o2_stopSceneAnimation
...
- fixed crash while switching chapters
svn-id: r31139
2008-03-16 13:31:18 +00:00
Florian Kagerer
b75c790c7a
- add opcode 146 - resetInputColorCode()
...
- add updateWaterFlasks()
- some fixes for mouse pointer positioning in sjis mode
- bug fix for tim player
svn-id: r31136
2008-03-16 02:00:14 +00:00
Torbjörn Andersson
7074132276
Fixed warning about unused variable.
...
svn-id: r31135
2008-03-15 21:33:01 +00:00
Johannes Schickel
db3e317ab3
Implemented opcodes:
...
- 27: o2_displayWsaSequence
- 99: o2_setDrawNoShapeFlag
- 129: o2_chapterChange
- 159: o2_processPaletteIndex
svn-id: r31133
2008-03-15 21:03:35 +00:00
Florian Kagerer
fd7ed046bb
- some more opcodes for wsa and tim sequences
...
- adding some code to inputSceneChange
svn-id: r31132
2008-03-15 20:24:26 +00:00
Johannes Schickel
f88a2923cd
Implemented opcodes:
...
- 36: o2_removeItemFromInventory
- 64: o2_disableAnimObject
- 65: o2_enableAnimObject
- 101: o2_showLetter
- 115: o2_setSceneAnimPosAndUpdate
svn-id: r31131
2008-03-15 19:55:05 +00:00
Florian Kagerer
dc319c719f
- implement opcode 127 (entering the color code for the skull in the rat cave now works)
...
- minor bug fix for mouse cursor (which sometimes would show when it shouldn't)
svn-id: r31129
2008-03-15 14:40:00 +00:00
Johannes Schickel
850868536b
Fixed bug in o2_countItemInInventory.
...
svn-id: r31126
2008-03-15 10:55:32 +00:00