Commit Graph

25 Commits

Author SHA1 Message Date
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
d49dd4e2fa Renamed some kyra3 variables to match kyra2/kyra1 names.
svn-id: r31748
2008-04-27 00:42:17 +00:00
Johannes Schickel
f6e622e303 Cleanup.
svn-id: r31745
2008-04-26 23:43:12 +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
18dde5420c Fixed hand item reset on scene enter.
svn-id: r31706
2008-04-24 21:20:32 +00:00
Johannes Schickel
ffc1e56cbd More kyra3 item drop down code.
svn-id: r31685
2008-04-24 13:05:14 +00:00
Johannes Schickel
c3cec1926f Implmenented inventory show/hide.
svn-id: r31676
2008-04-23 20:50:31 +00:00
Johannes Schickel
69bdd29976 - Implemented idle animation/talk handling in kyra3
- Implemented opcodes: 110: o3_runTemporaryScript
- fixed idle animation handling in kyra2

svn-id: r31673
2008-04-23 19:24:02 +00:00
Johannes Schickel
79d6c9f042 - Implemented opcode: 14: o3_moveCharacter
- Fixed opcode 44 and renamed it to o3_handItemSet, this fixes loads of input and enter scene facing problems.

svn-id: r31665
2008-04-23 17:08:34 +00:00
Johannes Schickel
18ed600abe Implemented some kyra3 dialog support.
- Room enter talks by malcolm should be working now
 - Zanthia should say now some lines after landing

svn-id: r31660
2008-04-22 22:36:09 +00:00
Johannes Schickel
cdfcab9315 Implemented opcodes:
- 6: o3_getCharacterFacing
 - 7: o3_getCharacterScene
 - 13: o3_trySceneChange
 - 32: o3_checkForItem
 - 46: o3_addSpecialExit
 - 63: o3_drawSceneShape
 - 75: o3_update
 - 80: o3_enterNewScene
 - 86: o3_setMalcolmPos
 - 154: o3_setupSceneAnimObject

svn-id: r31596
2008-04-20 13:44:44 +00:00
Johannes Schickel
a329be773e - Fixed some valgrind warnings.
- Little bugfix for scene shape loading.

svn-id: r31591
2008-04-20 10:39:39 +00:00
Johannes Schickel
2db899d1c7 - fixed various glitches
- implemented some input code for kyra3

svn-id: r31588
2008-04-20 02:11:10 +00:00
Johannes Schickel
4f4eb8d771 One more valgrind warning fix.
svn-id: r31580
2008-04-19 17:17:48 +00:00
Johannes Schickel
7e12a50bed - some minor renaming in TIM code
- added exists function to Resource
- started to add checks via exists to assure that important files are present

svn-id: r31572
2008-04-19 14:31:10 +00:00
Johannes Schickel
7b56734708 Properly implemented KyraEngine_v3::lineIsPassable.
svn-id: r31538
2008-04-17 15:39:34 +00:00
Johannes Schickel
66328be342 Added partial implementation of updateMouse cursor.
svn-id: r31537
2008-04-17 15:29:10 +00:00
Johannes Schickel
4685cc047d Implemented kyra3 timer code.
svn-id: r31536
2008-04-17 14:26:50 +00:00
Johannes Schickel
a2cdc5e393 - fixed bug in script interpreter code (could've also affected HoF)
- some more Kyra3 code:
  -> start sequence should show up now partially
  -> fixed a scene animation related bug
  -> a few more opcodes

svn-id: r31535
2008-04-17 13:38:44 +00:00
Johannes Schickel
7745100b8d - minor cleanup in script.cpp
- fix for memory leak in Kyra3
- fixed enterNewSceneUnk2

svn-id: r31534
2008-04-17 11:59:20 +00:00
Johannes Schickel
2b87cd1fa9 - Some more mask page handling fixes for Kyra3.
- Implemented a few scene animation opcodes
- basic run loop (all the user can do is quit though)
- music related fix
Wee you can see the squirrel animation and listen to the music now!

svn-id: r31523
2008-04-16 23:09:07 +00:00
Johannes Schickel
b2a586acb2 Fixed shape drawing in HoF (regression) and Kyra3.
svn-id: r31521
2008-04-16 22:23:09 +00:00
Johannes Schickel
57e91a6add Some more kyra3 code.
svn-id: r31519
2008-04-16 21:13:52 +00:00
Johannes Schickel
d3fe051274 Some more kyra3 code. This should show the first scene for a brief second. (and it initializes a bit more internal stuff)
svn-id: r31518
2008-04-16 20:28:27 +00:00