Kari Salminen
043f92cb23
Fix compilation on MSVC (Updated project files and turned a 'int forced to bool' warning off).
...
svn-id: r31840
2008-05-03 13:01:58 +00:00
Johannes Schickel
3aaff020c7
Fixed some valgrind warnings.
...
svn-id: r31839
2008-05-03 12:03:24 +00:00
Florian Kagerer
85f612076f
fix bug in hof animator (incomplete initialization of _animObjects)
...
svn-id: r31835
2008-05-02 22:24:03 +00:00
Johannes Schickel
a829244b8c
- Renamed ScreenAnimator -> Animator_v1
...
- Moved addItemToAnimList and deleteItemAnimEntry to KyraEngine_v2.
svn-id: r31831
2008-05-02 17:14:59 +00:00
Johannes Schickel
aaad3ccb3e
Added missing file.
...
svn-id: r31828
2008-05-02 16:34:46 +00:00
Johannes Schickel
416890722c
Yet more opcodes moved to KyraEngine_v2.
...
svn-id: r31826
2008-05-02 16:03:53 +00:00
Johannes Schickel
b17c6e100e
Started to move opcodes used in both kyra2 and kyra3 to KyraEngine_v2.
...
svn-id: r31825
2008-05-02 15:59:57 +00:00
Johannes Schickel
8b899207d2
Moved runSceneScript6 to KyraEngine_v2.
...
svn-id: r31823
2008-05-02 15:48:30 +00:00
Johannes Schickel
5e4fceec2e
Moved some character code from kyra2/kyra3 to KyraEngine_v2.
...
svn-id: r31822
2008-05-02 15:39:51 +00:00
Johannes Schickel
c6830b4138
- Renamed TextDisplayer_v2 to TextDisplayer_HoF
...
- Moved some character shape code to KyraEngine_v2
svn-id: r31821
2008-05-02 15:21:51 +00:00
Johannes Schickel
7566a12352
Moved common kyra2/kyra3 item to KyraEngine_v2.
...
svn-id: r31819
2008-05-02 15:08:45 +00:00
Johannes Schickel
52003bc195
Added missing files, compiling should work again.
...
svn-id: r31818
2008-05-02 14:48:19 +00:00
Johannes Schickel
4b5f3266cf
Started to refactor kyra2/kyra3 code to a common base. (regressions possible, compiling currently broken)
...
svn-id: r31817
2008-05-02 14:46:30 +00:00
Johannes Schickel
5bfc3170a3
Fixed some valgrind warnings.
...
svn-id: r31798
2008-05-01 22:42:05 +00:00
Florian Kagerer
c0db9c0d25
fix broken save file list
...
svn-id: r31796
2008-05-01 11:36:00 +00:00
Johannes Schickel
ec9a03964c
- Renamed ScriptInterpreter -> EMCInterpreter
...
- 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-29 15:12:09 +00:00
Johannes Schickel
ca7f7e2a3b
Various cleanup.
...
svn-id: r31772
2008-04-29 14:33:29 +00:00
Johannes Schickel
4d5c6d1afb
Prevent analog sound driver to be created for Kyra3.
...
svn-id: r31771
2008-04-29 14:22:04 +00:00
Johannes Schickel
a55d13e0a3
- Added volume param to KyraEngine::snd_playSoundEffect (0xFF per default as 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-29 14:08:08 +00:00
Filippos Karapetis
4893633ff5
Fixed MSVC warning
...
svn-id: r31768
2008-04-29 14:04:52 +00:00
Johannes Schickel
e588f9274e
- Implemented credits showing after finishing game
...
- Fixed bug with good conscience displaying in conscience selection scene
svn-id: r31767
2008-04-28 21:32:23 +00:00
Johannes Schickel
43c10a8cc8
- Fixed some delay times
...
- Implemented opcodes:
-> 99: o3_showGoodConscience
-> 100: o3_goodConscienceChat
-> 101: o3_hideGoodConscience
svn-id: r31766
2008-04-28 20:45:22 +00:00
Johannes Schickel
37fb65ea3c
Fixed bug in KyraEngine_v3::processDialog, should fix crash when talking to Bill in hell.
...
svn-id: r31764
2008-04-28 20:09:54 +00:00
Johannes Schickel
7577e7548c
Fixed bug in TimerManager::update, this should fix tic-tac-toe game in kyra3.
...
svn-id: r31763
2008-04-28 19:51:34 +00:00
Johannes Schickel
d02503761c
Implemented opcodes:
...
- 82: o3_getShapeFlag1
- 122: o3_setConversationState
- 125: o3_getConversationState
svn-id: r31761
2008-04-28 19:16:45 +00:00
Johannes Schickel
018b82b51e
Fixed bug in KyraEngine_v3::updateCharPal, should fix malcolms palette in scene 42.
...
svn-id: r31760
2008-04-28 19:03:11 +00:00
Johannes Schickel
bd067bffe9
Fixed bug while loading savegame.
...
svn-id: r31754
2008-04-27 14:33:03 +00:00
Johannes Schickel
77bae01195
- Fixed bug in itemInventoryMagic
...
- Fixed original game bug when creating item 7 (Bent nail-on-a-string), now it should award points when creating it with scene item and also in french version when creating it in inventory
svn-id: r31753
2008-04-27 14:03:51 +00:00
Johannes Schickel
7eef01cec4
Moved newShape code to sequences_v3.cpp
...
svn-id: r31752
2008-04-27 12:40:56 +00:00
Johannes Schickel
1aac349da4
Implemented KyraEngine_v3::eelScript.
...
svn-id: r31751
2008-04-27 12:39:16 +00:00
Johannes Schickel
1d167da633
- Implemented opcodes
...
-> 57: o3_makeSecondChanceSave
-> 98: o3_setDeathHandler
- Made game automatically reload second chance save on death for now
svn-id: r31749
2008-04-27 00:50:13 +00:00
Johannes Schickel
d49dd4e2fa
Renamed some kyra3 variables to match kyra2/kyra1 names.
...
svn-id: r31748
2008-04-27 00:42:17 +00:00
Johannes Schickel
78ee2e449e
Implemented (quick-)save/load support for kyra3.
...
svn-id: r31747
2008-04-27 00:38:01 +00:00
Johannes Schickel
f6e622e303
Cleanup.
...
svn-id: r31745
2008-04-26 23:43:12 +00:00
Johannes Schickel
9b3edffa8d
Implemented opcodes:
...
- 74: o3_setSceneAnimPosAndFrame
- 81: o3_switchScene
svn-id: r31744
2008-04-26 23:26:47 +00:00
Johannes Schickel
567c731235
Added code to play VQA files when entering new scenes.
...
svn-id: r31743
2008-04-26 23:01:06 +00:00
Johannes Schickel
c0f4b3faa7
- load new tlk file on chapter change
...
- added warning when trying to play non-existent soundfile
svn-id: r31742
2008-04-26 22:53:00 +00:00
Johannes Schickel
b179320edf
Implemented opcode 34: o3_resetInventory.
...
svn-id: r31741
2008-04-26 22:33:07 +00:00
Johannes Schickel
99307976d5
Finished o3_delay implementation.
...
svn-id: r31740
2008-04-26 22:30:55 +00:00
Johannes Schickel
dd98898a23
Implemented opcodes:
...
- 78: o3_disableInventory
- 79: o3_enableInventory
svn-id: r31739
2008-04-26 22:29:27 +00:00
Johannes Schickel
71f4dee9ae
Implemented opcode 129 o3_chapterChange.
...
svn-id: r31738
2008-04-26 22:22:21 +00:00
Johannes Schickel
6ed2d9c287
Implemented opcodes:
...
- 26: o3_setInventorySlot
- 27: o3_getInventorySlot
- 28: o3_addItemToInventory
svn-id: r31737
2008-04-26 22:13:19 +00:00
Johannes Schickel
fa208a4386
- Implemented support for jesters staff, mood change and score displaying
...
- Fixed bug in KyraEngine_v3::loadMalcolmShapes
svn-id: r31736
2008-04-26 21:52:15 +00:00
Johannes Schickel
7eef295729
Added support for kyra3 inventory. (jesters staff not supported yet)
...
svn-id: r31735
2008-04-26 21:08:47 +00:00
Johannes Schickel
2ae81f0096
Implemented opcodes:
...
- 76: o3_removeItemInstances
- 94: o3_showSceneStringsMessage
svn-id: r31733
2008-04-26 19:00:22 +00:00
Johannes Schickel
3bde19a137
Fixed unitialized variable in Screen.
...
svn-id: r31732
2008-04-26 10:28:23 +00:00
Johannes Schickel
61101b6dce
Fixed kyra screen initialization.
...
svn-id: r31730
2008-04-26 10:15:54 +00:00
Jonathan Gray
0bb41c23ca
Call _screen->Init(). Fixes segfaults when
...
trying to start via a command line.
svn-id: r31729
2008-04-26 09:52:17 +00:00
Florian Kagerer
13ef28215d
minor drawShape() bug fix for Malcolm's shadow
...
svn-id: r31728
2008-04-25 22:38:40 +00:00
Johannes Schickel
7fb4a87c24
Implemented opcodes:
...
- 20: o3_setCharacterAnimFrameFromFacing
- 61: o3_disguiseMalcolm
svn-id: r31727
2008-04-25 17:59:38 +00:00