aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/scene_v2.cpp
AgeCommit message (Collapse)Author
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-07-16Fix bug in "KyraEngine_v2::runSceneScript6", fixes text line Zanthia says, ↵Johannes Schickel
when picking up the spellbook page in the town. svn-id: r42543
2009-05-19Formatting.Johannes Schickel
svn-id: r40717
2009-05-19Remov lots of superfluous debug output.Johannes Schickel
svn-id: r40715
2008-05-19Fixed bug in KyraEngine_v2::directLinePassable. This should fix some ↵Johannes Schickel
pathfinder issues in HoF and MR. svn-id: r32190
2008-05-11- Renamed KyraEngine to KyraEngine_v1Johannes Schickel
- kyra.* -> kyra_v1.* - scene.cpp -> scene_v1.cpp svn-id: r32044
2008-05-03- Moved newShape/temporaryScript code to KyraEngine_v2.Johannes Schickel
- Renamed newShape/temporaryScript code to animationScript. svn-id: r31841
2008-05-02Moved runSceneScript6 to KyraEngine_v2.Johannes Schickel
svn-id: r31823
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-19- some minor renaming in TIM codeJohannes Schickel
- added exists function to Resource - started to add checks via exists to assure that important files are present svn-id: r31572
2008-04-06Fixed potentional crash.Johannes Schickel
svn-id: r31432
2008-04-06Implemented fadeout waiting in KyraEngine_v2::enterNewScene for AdLib.Johannes Schickel
svn-id: r31424
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-27fix for bug 1922560 (HoF: wheels entrance gfx wrong)Florian Kagerer
svn-id: r31273
2008-03-26Fix bug #1923638 "HoF: Marco missing animation frames".Johannes Schickel
svn-id: r31243
2008-03-19- fixed numerous graphics glitchesJohannes Schickel
-> fixed bug in o2_stopSceneAnimation -> fixed bug in KyraEngine_v2::freeSceneAnims svn-id: r31196
2008-03-18Fixed some warnings, so that I too may bask in the glory of Kyrandia 2.Torbjörn Andersson
svn-id: r31188
2008-03-18- started to add debugC calls to methodsJohannes Schickel
- implemented some missing bits in itemDropDown svn-id: r31187
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-18Fixed pathfinder post processing in HoF, this should smooth walk paths a lot.Johannes Schickel
svn-id: r31179
2008-03-17Fixed KyraEngine_v2::initSceneScreenJohannes Schickel
svn-id: r31153
2008-03-17- implement debugger commands: gamespeed and pass_codesFlorian Kagerer
- 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-16- implement zanthIdleChat()Florian Kagerer
- bug fix for zanthRandomChat() svn-id: r31147
2008-03-16Reworked skipFlag handling.Johannes Schickel
svn-id: r31143
2008-03-16- fixed mouse position in Kyra1 after savegame loadingJohannes Schickel
- enabled some code in KyraEngine_v2::enterNewScene svn-id: r31137
2008-03-16- add opcode 146 - resetInputColorCode()Florian Kagerer
- add updateWaterFlasks() - some fixes for mouse pointer positioning in sjis mode - bug fix for tim player svn-id: r31136
2008-02-22two more opcodes (Zanthia's random chats and mushroom drug effects) and some ↵Florian Kagerer
cleanup svn-id: r30914
2008-02-18some more opcodes (the fly tree is now operational) and some bug fixesFlorian Kagerer
svn-id: r30903
2008-02-17Added newline at end of file again (fixes compiling with -Werror for me).Johannes Schickel
svn-id: r30888
2008-02-17committing patch 1891492 : dialogue (dlg/tim) support for HoFFlorian Kagerer
- talking to NPCs is now possible. - Zanthia's talks when entering a new scene for the first time now work - using items on Zanthia is now possible. svn-id: r30886
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
2008-01-27Commit patch #1869752 "KYRA: HoF startup patch for towns and floppy". ↵Johannes Schickel
(Slightly modified) svn-id: r30645
2007-12-24Cleanup(/formatting).Johannes Schickel
svn-id: r29983
2007-11-09Implemented idle script handling.Johannes Schickel
svn-id: r29460
2007-10-13- moved some voice functionallity from KyraEngine_v1 to KyraEngineJohannes Schickel
HoF: - added voice support - implemented opcodes -> o2_setVocHigh 167 -> o2_getVocHigh 168 -> o2_isVoiceEnabled 170 -> o2_isVoicePlaying 171 -> o2_stopVoicePlaying 172 -> o2_getGameLanguage 173 svn-id: r29201
2007-10-12HoF:Johannes Schickel
- added some _skipFlag and _quitFlag handling - extended Screen::fadePal to take an functor for update purposes - changed KyraEngine_v2::fadeScenePal to use Screen::fadePal with a functor svn-id: r29188
2007-10-10- Made some sound functions a bit more generic for use with Kyra1 and Kyra2Johannes Schickel
HoF: - Added sound support (sfx sound wrong currently though) - Implemented opcodes: -> o2_loadMusicTrack -> o2_playWanderScoreViaMap -> o2_playSoundEffect -> o2t_playSoundEffect svn-id: r29183
2007-10-09HoFJohannes Schickel
- fixed o2_runTemporaryScript - fixed trySceneChange, now stopping movement should work correctly svn-id: r29179
2007-10-09HoF:Johannes Schickel
- More input handling (should be rather complete now, not finished but nearlly) - Implemented the following opcodes: -> o2_trySceneChange 0x0d -> o2_setHandItem 0x2a -> o2_handItemSet 0x2c -> o2_setCharPalEntry 0x3c -> o2_drawSceneShape 0x3e -> o2_update 0x4b -> o2_fadeScenePal 0x4d -> o2_enterNewSceneEx 0x50 -> o2_setZanthiaPos 0x56 -> o2_runTemporaryScript 0x6e -> o2t_defineNewShape 0x00 -> o2t_setCurrentFrame 0x01 -> o2t_setShapeFlag 0x04 svn-id: r29178
2007-10-09HoF:Johannes Schickel
- added support for dropping items into scenes - added const to some static data - implemented opcode 0x55 o2_setLayerFlag - fixed a bug in Screen_v2::drawShape svn-id: r29175
2007-10-07- little bit more input handlingJohannes Schickel
- implemented item pickup svn-id: r29160
2007-09-24- added a new generic debugger command 'facings'Johannes Schickel
- added a few new kyra2 specific debugger commands svn-id: r29094
2007-09-24- reworked input handlingJohannes Schickel
- implement changing movement destination while moving svn-id: r29093
2007-07-29Fixed some warningsMax Horn
svn-id: r28308
2007-07-29- Kyrandia 1 works againJohannes Schickel
- Added timer class for timer handling - Little bit more resturcturing - A little bit (almost nothing but a start!) Kyrandia 2 support svn-id: r28297