Commit Graph

25354 Commits

Author SHA1 Message Date
Johannes Schickel
5bfc3170a3 Fixed some valgrind warnings.
svn-id: r31798
2008-05-01 22:42:05 +00:00
Sven Hesse
a666136b8e Fixing object video related segfault
svn-id: r31797
2008-05-01 18:38:36 +00:00
Florian Kagerer
c0db9c0d25 fix broken save file list
svn-id: r31796
2008-05-01 11:36:00 +00:00
Sven Hesse
455a167b9d Fixing the object video offsets
svn-id: r31795
2008-05-01 03:00:51 +00:00
Benjamin Haisch
7509d66caf Implemented savegame loading/saving and sprite clipping
Fixed bug in Screen::printTextEx
Implemented opcodes:
- o1_DRAWTEXT
- o1_DRAWMENU
- o1_MENUCOUNT
- o1_SAVEGAME
- o1_LOADGAME
- o1_GAMENAME

svn-id: r31794
2008-04-30 20:36:19 +00:00
Sven Hesse
e866aefdfd Fixing path finding in Woodruff
svn-id: r31793
2008-04-30 20:08:08 +00:00
Sven Hesse
ea5482e6b1 Changed signess of some drawing order related vars, fixing a drawing glitch in Gob3
svn-id: r31792
2008-04-30 20:07:33 +00:00
Sven Hesse
4d67fb84e5 Reverting accidently made revert of the gob3 walk fix
svn-id: r31791
2008-04-30 18:07:22 +00:00
Travis Howell
e5dc44507c Update AGOS section in NEWS.
svn-id: r31789
2008-04-30 14:13:40 +00:00
Travis Howell
d8bbcd9211 Fix subtitle regressions in The Dig.
svn-id: r31788
2008-04-30 12:54:07 +00:00
Travis Howell
5e52a8e533 Fix cycling of speech and subtitle options via Ctrl t.
svn-id: r31787
2008-04-30 12:53:05 +00:00
Travis Howell
21dc872873 Ooops, missed one difference.
svn-id: r31786
2008-04-30 04:42:53 +00:00
Travis Howell
acc232718f Revert string clipping changes, as they only applied to The Dig (Second release) and COMI.
svn-id: r31785
2008-04-30 04:39:58 +00:00
Travis Howell
bad36eaa61 The Dig (Second release) used similar charset code to COMI. This could cause regressions, if there are differences between the two releases of The Dig.
svn-id: r31784
2008-04-30 04:38:29 +00:00
Travis Howell
97d2d16757 Add language.bnd size, for the Japanese version of The Dig.
svn-id: r31783
2008-04-30 01:31:41 +00:00
Travis Howell
125d0a138d Add extra hard coded strings translations, from second release of The Dig.
svn-id: r31782
2008-04-30 01:29:17 +00:00
Benjamin Haisch
9605e28f7b Fixed bug in o1_READMENU where an incorrect string length was returned.
Also fixed o1_EVENT to return the correct event number when a key was pressed and removed the debug code there.

svn-id: r31781
2008-04-29 21:56:13 +00:00
Benjamin Haisch
e0b964b527 Turned printf into warning.
svn-id: r31780
2008-04-29 21:52:26 +00:00
Benjamin Haisch
5975956f2c Fixed possible endian problems in getObjectPropertyPtr.
svn-id: r31779
2008-04-29 21:51:55 +00:00
Max Horn
01dcd766af Fix warning
svn-id: r31778
2008-04-29 21:27:16 +00:00
Filippos Karapetis
b804175684 Update AGI timers while waiting for a key to be pressed (e.g. when showing blocking text windows). Fixes bugs #1935909 and #1943872
svn-id: r31777
2008-04-29 18:50:17 +00:00
Filippos Karapetis
0de56ea1f9 Fix for original game bug #1942476 - "AGI: Fan(Get Outta SQ) - Score is lost on restart"
svn-id: r31776
2008-04-29 16:24:54 +00:00
Filippos Karapetis
14523bd3bb Fixed crash that occurred when skipping a video while MIDI music was active
svn-id: r31775
2008-04-29 15:51:22 +00:00
Filippos Karapetis
42412ad2c6 Fixed crash that occurred when Ms Peeper's test started
svn-id: r31774
2008-04-29 15:41:12 +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
de1da38e90 Updated the MSVC kyra project files
svn-id: r31769
2008-04-29 14:05:49 +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
Eugene Sandulenko
e95a4b42ac Narrow corrections to clipping code introduced with commit r31757 to
SCUMM 6+ as pointed out by Fingolfin

svn-id: r31759
2008-04-28 18:57:17 +00:00
Eugene Sandulenko
3af2d8d0fd Fix compilation
svn-id: r31758
2008-04-28 16:10:40 +00:00
Eugene Sandulenko
0ca949db2a Fix Kanji text positioning in DIG. Constants based on disassembly, but
it can bring some regressions to subtitles.

svn-id: r31757
2008-04-28 15:21:36 +00:00
Benjamin Haisch
fc6fe46951 Implemented text drawing and cleanup.
svn-id: r31756
2008-04-28 10:56:21 +00:00
Nicola Mettifogo
6d3a7e4f6b Moved some static members into Parallaction class.
svn-id: r31755
2008-04-28 09:42:29 +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
Sven Hesse
ab1a3b0cc8 Implemented support for VMDs substituting object animations.
Still far from being complete (and correct), but it's a start...

- Only VMD "command" -3 is followed
- Not all animation types are working
- Timing is still off in most cases
- Offsets are generally OK, but not always
- No sound yet
- Shouldn't segfault randomly, but I'm not entirely sure ;)

svn-id: r31750
2008-04-27 03:19:19 +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