aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_v2.cpp
AgeCommit message (Collapse)Author
2010-10-22KYRA: A little refactoring (name change).Johannes Schickel
svn-id: r53695
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2008-05-12- Yet more opcodes moved to KyraEngine_v1Johannes Schickel
- Renamed some opcodes inside KyraEngine_LoK svn-id: r32055
2008-05-12- Moved some opcodes to KyraEngine_v1Johannes Schickel
- Little variable renaming svn-id: r32053
2008-05-04Yet more opcodes moved to KyraEngine_v2.Johannes Schickel
svn-id: r31861
2008-05-04Moved more opcodes to KyraEngine_v2.Johannes Schickel
svn-id: r31859
2008-05-03Moved more opcodes to KyraEngine_v2.Johannes Schickel
svn-id: r31845
2008-05-03Moved some more opcodes to KyraEngine_v2.Johannes Schickel
svn-id: r31843
2008-05-03- Moved newShape/temporaryScript code to KyraEngine_v2.Johannes Schickel
- Renamed newShape/temporaryScript code to animationScript. svn-id: r31841
2008-05-02Yet more opcodes moved to KyraEngine_v2.Johannes Schickel
svn-id: r31826
2008-05-02Started to move opcodes used in both kyra2 and kyra3 to KyraEngine_v2.Johannes Schickel
svn-id: r31825
2008-05-02Started to refactor kyra2/kyra3 code to a common base. (regressions ↵Johannes Schickel
possible, compiling currently broken) svn-id: r31817
2008-04-29- Renamed ScriptInterpreter -> EMCInterpreterJohannes Schickel
- Renamed ScriptState -> EMCState, ScriptData -> EMCData - Removed 'Script' from function names inside EMCInterpreter - Fixed KyraEngine::readSettings and KyraEngine::writeSettings for kyra3 svn-id: r31773
2008-04-20- moved kyra functor code to common/func.hJohannes Schickel
- adapted debugger code to use functor code from common/func.h - adapted kyra engine to use functor code from common/func.h svn-id: r31614
2008-04-20Fixed bad usage of functor objects.Johannes Schickel
svn-id: r31607
2008-04-19- reworked tim handlingJohannes Schickel
- moved tim interpreter to new class TIMInterpreter svn-id: r31569
2008-04-18- complete support for the playable HOF demoFlorian Kagerer
svn-id: r31560
2008-04-10- Updated debug output for KyraEngine::snd_playThemeJohannes Schickel
- cleanup svn-id: r31464
2008-04-06Set opcode 31 (o2_limitMouseRrange) to o2_dummy for now.Johannes Schickel
Also added a comment about that. svn-id: r31427
2008-04-06Cleanup.Johannes Schickel
svn-id: r31426
2008-04-06Implemented opcode 33 o2_loadSoundfile.Johannes Schickel
svn-id: r31425
2008-04-06- Fixed HACKs in o2_getMusicDriver and o2_getSfxDriverJohannes Schickel
- Implemented missing bits in KyraEngine_v2::enterNewScene for MIDI (AdLib code still missing) - Added music/sfx type to Sound class svn-id: r31423
2008-03-28Finished o2_delay implementation.Johannes Schickel
svn-id: r31284
2008-03-28Oops fixed wrong o2_delaySecs.Johannes Schickel
svn-id: r31283
2008-03-28Implemented opcodes:Johannes Schickel
- 38: o2_countItemsInScene - 57: o2_setTimerDelay - 84: o2_getSceneExitToFacing - 137: o2_removeItemFromScene svn-id: r31279
2008-03-27- Implemented opcodes:Johannes Schickel
-> 51: o2_getElapsedSecs -> 52: o2_getTimerDelay - Added warnings to o2_delaySecs and o2_delay for unimplemented subfunctions svn-id: r31277
2008-03-27Implemented opcode 74: o2_setSceneAnimPos2.Johannes Schickel
svn-id: r31276
2008-03-27Implemented opcodes:Johannes Schickel
- 164: o2_getSfxDriver - 165: o2_getVocSupport - 166: o2_getMusicDriver svn-id: r31275
2008-03-27Update hack comment in o2_updateSceneAnim.Johannes Schickel
svn-id: r31263
2008-03-27Fix for bug #1926838 "HoF: Animation plays too fast".Johannes Schickel
svn-id: r31262
2008-03-26- reworked skip flag handling in some places againJohannes Schickel
- hopefully fixed tons of warnings related to stackPosString svn-id: r31253
2008-03-26Set delay time for the hack in o2_updateSceneAnim to the value Raziel^ suggests.Johannes Schickel
svn-id: r31251
2008-03-26Possible fix for part 1 of bug #1926547 "HoF: Right mouse button messes up ↵Johannes Schickel
gameplay". svn-id: r31250
2008-03-26Added a simple hack which adds delay between animation frames of some scene ↵Johannes Schickel
animations, this prevents some animations from running too fast. See for example bug #1923638 "HoF: Marco missing animation frames". svn-id: r31245
2008-03-22Fix for bug #1922521 "HoF: mountaineer sprite vanishes".Johannes Schickel
svn-id: r31217
2008-03-21- Implemented opcode 97: o2_isAnySoundPlayingJohannes Schickel
- reworked sound channel handling in HoF => fixed some voice related bugs svn-id: r31209
2008-03-20Possible fix for graphics glitches when showing letters.Johannes Schickel
svn-id: r31199
2008-03-19- fixed numerous graphics glitchesJohannes Schickel
-> fixed bug in o2_stopSceneAnimation -> fixed bug in KyraEngine_v2::freeSceneAnims svn-id: r31196
2008-03-18Implemented showing of credits after completing game.Johannes Schickel
svn-id: r31186
2008-03-18Renamed opcode 95 to o2_showItemString.Johannes Schickel
svn-id: r31185
2008-03-18- Impelemented opcodes:Johannes Schickel
-> 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- Implemented opcodes:Johannes Schickel
-> 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- Implemented opcodes:Johannes Schickel
-> 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-18Fixed bug in o2_setupSceneAnimation. (should fix some lockups)Johannes Schickel
svn-id: r31181
2008-03-17-missed animator_v2.cpp in last commitFlorian Kagerer
svn-id: r31171
2008-03-17- implement opcode 29: o2_drawShapeFlorian Kagerer
svn-id: r31170
2008-03-17Implemented opcode 98: o2_setDeathHandlerFlagJohannes Schickel
svn-id: r31168
2008-03-17Implemented opcodes:Johannes Schickel
- 70: o2_backUpInventoryGfx - 71: o2_disableSceneAnim - 72: o2_enableSceneAnim - 73: o2_restoreInventoryGfx svn-id: r31167
2008-03-17Implemented opcodes:Johannes Schickel
- 91: o2_blockInRegion - 92: o2_blockOutRegion svn-id: r31166
2008-03-17- Fixed opcode 115 (fixed dragon scene)Johannes Schickel
- renamed opcode 155 to o2_addToSceneAnimPosAndUpdate svn-id: r31165