aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/kyra_v2.cpp
AgeCommit message (Collapse)Author
2008-05-02Moved common kyra2/kyra3 item to KyraEngine_v2.Johannes Schickel
svn-id: r31819
2008-05-02Added missing files, compiling should work again.Johannes Schickel
svn-id: r31818
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-29Various cleanup.Johannes Schickel
svn-id: r31772
2008-04-29- Added volume param to KyraEngine::snd_playSoundEffect (0xFF per default as ↵Johannes Schickel
in original) - Renamed KyraEngine_v3::playSoundEffect to KyraEngine_v3::snd_playSoundEffect - Renamed KyraEngine_v3::playMusicTrack to KyraEngine_v3::snd_playWanderScoreViaMap - Renamed KyraEngine_v3::o3_playMusicTrack to KyraEngine_v3::o3_playWanderScoreViaMap svn-id: r31770
2008-04-26Fixed kyra screen initialization.Johannes Schickel
svn-id: r31730
2008-04-26Call _screen->Init(). Fixes segfaults whenJonathan Gray
trying to start via a command line. svn-id: r31729
2008-04-23Cleanup.Johannes Schickel
svn-id: r31674
2008-04-23- Implemented idle animation/talk handling in kyra3Johannes Schickel
- Implemented opcodes: 110: o3_runTemporaryScript - fixed idle animation handling in kyra2 svn-id: r31673
2008-04-23- Fixed possible memory leak.Johannes Schickel
- Corrected processNewShape implementation. svn-id: r31671
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-12Cleanup.Johannes Schickel
svn-id: r31495
2008-04-12- some refactoring for Kyra3Johannes Schickel
- removed unneeded map code in KyraEngine_v3 svn-id: r31488
2008-04-08- Set language to Common::UNK_LANG for multilanguage games (kyra2cd and ↵Johannes Schickel
kyra3) in detection code - Save language changes done in menu in HoF to the config file svn-id: r31454
2008-04-06Implemented support for Towns (and hopefully DOS floppy too) menus.Johannes Schickel
svn-id: r31438
2008-04-06Oops. that shouldn't have been reverted by last committ.Johannes Schickel
svn-id: r31433
2008-04-06svn-id: r31431Florian Kagerer
2008-04-06Fixed crash on startup when running japanese versions of Kyrandia.Johannes Schickel
svn-id: r31428
2008-04-06Fixed various bugs in GUI_v2::processButtonList.Johannes Schickel
This fixes bugs: - #1935827 "HoF: Buttons pressed state not available" - #1935219 "HoF: artefact after loading game" svn-id: r31422
2008-04-05- Changed quicksaves to use slots 990-998.Johannes Schickel
- Made slots 990-999 not writeable for savegames via menu. - Temporary save in HoF now uses slot 999. svn-id: r31400
2008-04-04Implemented game options menu.Johannes Schickel
svn-id: r31378
2008-04-04cleanupFlorian Kagerer
svn-id: r31374
2008-04-02Implemented death menu. This also fixes bug #1926892 "HoF: Odd behaviour ↵Johannes Schickel
when Zanthia gets killed(?)". svn-id: r31360
2008-03-30Don't enter run loop when quit flag is set.Johannes Schickel
svn-id: r31337
2008-03-30- fixed savegame description loading in kyra1Johannes Schickel
- added Kyra2 load menu, currently just accessable from startup menu though svn-id: r31331
2008-03-28Changed HoF GUI code to use common GUI code now.Johannes Schickel
svn-id: r31295
2008-03-28Implemented command text fadeout.Johannes Schickel
svn-id: r31285
2008-03-28- Clear input queue after loading game via hotkeys.Johannes Schickel
- Fixed bug which caused the need for clicking twice to change pages in spellbook. svn-id: r31282
2008-03-28Implemented savegame loading via command line params -x/--save-slot.Johannes Schickel
svn-id: r31281
2008-03-28Properly set sfx flag when playing digital SFX.Johannes Schickel
svn-id: r31280
2008-03-28- some accuracy changes for KyraEngine_v2::snd_playSoundEffect()Florian Kagerer
- fix one more skip flag bug in the sequence player - fix SoundTowns_v2::voicePlay() svn-id: r31278
2008-03-27Implemented opcode 74: o2_setSceneAnimPos2.Johannes Schickel
svn-id: r31276
2008-03-26Prevents adding of events to input queue, which will not be processed anyway.Johannes Schickel
svn-id: r31258
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-26- fixed multiple voices playing at once (see bug #1926547 "HoF: Right mouse ↵Johannes Schickel
button messes up gameplay"). - fixed crash while uninitializing AdLib driver svn-id: r31252
2008-03-22Fix for bug #1922514 "HoF: palette artifacts when abom. snowman".Johannes Schickel
svn-id: r31220
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-20Add HoF CD demo.Travis Howell
svn-id: r31205
2008-03-20Enabled some cursor related commented out code.Johannes Schickel
svn-id: r31201
2008-03-18Implemented showing of credits after completing game.Johannes Schickel
svn-id: r31186
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-18Completed implementation of KyraEngine_v2::inputSceneChange.Johannes Schickel
svn-id: r31178
2008-03-18Fixed input bug causing Zanthia not to move sometimes.Johannes Schickel
svn-id: r31177
2008-03-18Fixed bug preventing movement.Johannes Schickel
svn-id: r31172
2008-03-17Oops forgot to enable some code.Johannes Schickel
svn-id: r31169
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