Commit Graph

1076 Commits

Author SHA1 Message Date
Johannes Schickel
627d30d389 Fixed bug when starting new game from load menu.
svn-id: r31935
2008-05-07 22:48:44 +00:00
Johannes Schickel
a7320fb4dc Implemented KyraEngine_MR::timerFleaDeath.
svn-id: r31934
2008-05-07 21:12:26 +00:00
Florian Kagerer
37c04c28a8 Fix invalid memory access bug in the library sequence (original static data seems to be bugged here)
svn-id: r31933
2008-05-07 21:04:06 +00:00
Johannes Schickel
3d9ea59616 Changed kyra to use delete[] instead of delete [].
svn-id: r31925
2008-05-07 14:20:37 +00:00
Johannes Schickel
10b73b474f Fixed crash when qutting kyra2 main menu.
svn-id: r31909
2008-05-06 22:05:26 +00:00
Johannes Schickel
5abc85bd0e Fixed possible crash in Debugger_v2 when using 'give'.
svn-id: r31907
2008-05-06 20:55:33 +00:00
Johannes Schickel
11f891963b Implemented Engine::getDebugger for KyraEngine.
svn-id: r31906
2008-05-06 20:50:27 +00:00
Johannes Schickel
3e7f66da89 Cleanup.
svn-id: r31905
2008-05-06 17:44:00 +00:00
Johannes Schickel
2ee01bf757 - Fixed valgrind warnings in HoF
- Fixed memory leaks in HoF

svn-id: r31903
2008-05-06 17:30:31 +00:00
Johannes Schickel
2976f961fe - Fixed some memory leaks in kyra3
- Fixed valgrind warnings in GUI_v2 code

svn-id: r31902
2008-05-06 16:57:07 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Johannes Schickel
0faf76bfac Removed delay from KyraEngine_MR::npcChatSequence, since it's doing delay script internally. This fixes some chat animation speeds.
svn-id: r31884
2008-05-05 21:57:26 +00:00
Johannes Schickel
874be3cfb4 Implemented opcode 91: o3_daggerWarning.
svn-id: r31882
2008-05-05 18:50:42 +00:00
Johannes Schickel
c26e62e288 - Implemented Kyra3 audio options menu, Helium mode still missing.
- Fixed unitialized variable

svn-id: r31881
2008-05-05 17:56:39 +00:00
Johannes Schickel
f42d222069 Got rid of some code duplication.
svn-id: r31880
2008-05-05 17:18:11 +00:00
Johannes Schickel
81cfd2a716 Implemented support for Kyra3 game options menu (including studio audience and skip flag options).
svn-id: r31879
2008-05-05 17:12:48 +00:00
Johannes Schickel
0f62fb0a88 - Little mouse visibility fix
- Cleanup

svn-id: r31878
2008-05-05 16:18:54 +00:00
Johannes Schickel
37459e6e75 - Fixed some palette fade times in Kyra3
- Changed behavior to match original when playing Kyra3 for the first time
- Fixed typo

svn-id: r31877
2008-05-05 16:14:45 +00:00
Johannes Schickel
2afff04468 - Added support for Kyra3 GUI (audio and game options not working yet)
- Added support for loading directly from command line for Kyra3

svn-id: r31876
2008-05-05 16:05:56 +00:00
Johannes Schickel
e45a9d42e2 - Shared checkInput code between kyra2 and kyra3
- Debugger related cleanup

svn-id: r31868
2008-05-04 15:56:28 +00:00
Johannes Schickel
c15ad0e373 Initial common base between kyra2 and kyra3 GUI code.
svn-id: r31867
2008-05-04 15:37:41 +00:00
Johannes Schickel
f71b4afcfa Renamed kyra2 and kyra3 gui files.
svn-id: r31866
2008-05-04 15:18:46 +00:00
Johannes Schickel
09b0f12852 Yet more opcodes moved to KyraEngine_v2.
svn-id: r31861
2008-05-04 13:25:03 +00:00
Johannes Schickel
7342629944 Cleanup.
svn-id: r31860
2008-05-04 13:11:17 +00:00
Johannes Schickel
c43cbeae96 Moved more opcodes to KyraEngine_v2.
svn-id: r31859
2008-05-04 13:07:13 +00:00
Johannes Schickel
7e3ce73a58 Moved more opcodes to KyraEngine_v2.
svn-id: r31845
2008-05-03 20:02:51 +00:00
Johannes Schickel
f6239f1db6 Moved some more opcodes to KyraEngine_v2.
svn-id: r31843
2008-05-03 19:47:07 +00:00
Johannes Schickel
895adc75fa Cleanup.
svn-id: r31842
2008-05-03 19:32:45 +00:00
Johannes Schickel
d5545bd8c5 - Moved newShape/temporaryScript code to KyraEngine_v2.
- Renamed newShape/temporaryScript code to animationScript.

svn-id: r31841
2008-05-03 19:23:45 +00:00
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