Commit Graph

25054 Commits

Author SHA1 Message Date
Filippos Karapetis
9c4b451e1a Unimplemented commands and opcodes throw a warning now
svn-id: r31693
2008-04-24 14:39:01 +00:00
Filippos Karapetis
00e652f8e4 More cleanup
svn-id: r31692
2008-04-24 14:15:35 +00:00
Filippos Karapetis
068372ac94 Cleanup and simplification of the music playing code
svn-id: r31691
2008-04-24 14:12:08 +00:00
Johannes Schickel
551bd59fa8 Implemented opcodes:
- 15: o3_setCharacterFacing
 - 107: o3_waitForConfirmationClick

svn-id: r31690
2008-04-24 13:57:55 +00:00
Johannes Schickel
37d21cab59 Implemented special item string selection for french version of Kyra3.
svn-id: r31689
2008-04-24 13:27:05 +00:00
Johannes Schickel
caa7a4787c Fixed command line string when picking up item.
svn-id: r31688
2008-04-24 13:16:46 +00:00
Johannes Schickel
e360eb13f8 Fixed bug in checkCharCollision.
svn-id: r31687
2008-04-24 13:14:39 +00:00
Filippos Karapetis
68c511423e Cleanup
svn-id: r31686
2008-04-24 13:12:08 +00:00
Johannes Schickel
ffc1e56cbd More kyra3 item drop down code.
svn-id: r31685
2008-04-24 13:05:14 +00:00
Filippos Karapetis
e14746db3c Slight cleanup to o1_PLAYSND
svn-id: r31684
2008-04-24 05:17:51 +00:00
Filippos Karapetis
27d4ecb12f Updated MSVC project files of the made engine for commit #31682
svn-id: r31683
2008-04-24 05:13:21 +00:00
Benjamin Haisch
efeb8a3193 Added (early) midi player code.
Added "screen flash" effect.
Implemented opcodes:
- o1_PLAYMUS
- o1_STOPMUS
- o1_ISMUS
- o1_FLASH
- o1_LOADSND
- o1_LOADMUS

svn-id: r31682
2008-04-23 23:22:02 +00:00
Johannes Schickel
6562a7cd8a Implemented parts of item drop down code for Kyra3.
svn-id: r31681
2008-04-23 22:53:19 +00:00
Filippos Karapetis
bed4037abf Updated kyra MSVC project files for commit #31676
svn-id: r31680
2008-04-23 22:11:05 +00:00
Johannes Schickel
68613025ab Cleanup. (and little addition to showInventory)
svn-id: r31679
2008-04-23 21:07:58 +00:00
Torbjörn Andersson
97932a8f32 This memory is released with free(), so it has to be allocated with malloc(),
not new. Fixes a Valgrind warning.

svn-id: r31678
2008-04-23 21:07:11 +00:00
Torbjörn Andersson
718787d700 Fixed signed/unsigned warning.
svn-id: r31677
2008-04-23 20:56:10 +00:00
Johannes Schickel
c3cec1926f Implmenented inventory show/hide.
svn-id: r31676
2008-04-23 20:50:31 +00:00
Benjamin Haisch
d0ad5867e0 Fixed palette issues when showing the inventory and the menu.
Moved drawing code from drawFlex/drawAnimFrame to drawSurface.
Implemented opcodes:
- o1_VISUALFX
- o1_SCREENLOCK
- o1_SETTIMER
- o1_SETGROUND
- o1_SETCLIP
- o1_SETEXCLUDE

svn-id: r31675
2008-04-23 20:12:06 +00:00
Johannes Schickel
c841481aa3 Cleanup.
svn-id: r31674
2008-04-23 19:36:21 +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
Torbjörn Andersson
1267ed09db Surely, it's the "version" of Return to Zork with rtzcd.red that should have
the GF_CD_COMPRESSED flag?

svn-id: r31672
2008-04-23 19:11:13 +00:00
Johannes Schickel
6ca9b8f91d - Fixed possible memory leak.
- Corrected processNewShape implementation.

svn-id: r31671
2008-04-23 18:57:21 +00:00
Filippos Karapetis
1a6bd23780 Removed file existence checks to determine game version and added game flags instead. Added the MD5 of the English floppy version of Return to Zork
svn-id: r31670
2008-04-23 18:22:06 +00:00
Johannes Schickel
347eb2dc07 - cleanup
- some valgrind warning fixes

svn-id: r31669
2008-04-23 18:18:11 +00:00
Benjamin Haisch
4f108832c3 Loading from rtzcd.red should now actually work.
svn-id: r31668
2008-04-23 17:41:28 +00:00
Torbjörn Andersson
a643a8cc8a Fixed warning about potentially undefined behaviour.
svn-id: r31667
2008-04-23 17:39:13 +00:00
Filippos Karapetis
b69ffa922a In-game sound effects and voices should be working correctly now.
Implemented the following opcodes:
- o1_PLAYSND
- o1_ISSND
- o1_STOPSND
- o1_PLAYVOICE
- o1_SOUNDRATE
- o1_SETVOLUME

svn-id: r31666
2008-04-23 17:21:49 +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
5572f694c0 Implemented opcodes:
- 8: o3_getMalcolmsSpirit
 - 52: o3_setMalcolmsSpirit
 - 65: o3_updateConversations
 - 117: o3_runDialog

svn-id: r31664
2008-04-23 16:06:33 +00:00
Kari Salminen
4cd8f4fbb4 Update MSVC project files for MADE (Added redreader.h and redreader.cpp introduced in r31661).
svn-id: r31663
2008-04-23 14:58:30 +00:00
Johannes Schickel
d20dc45072 Implemented opcode 118: o3_malcolmRandomChat.
svn-id: r31662
2008-04-23 14:20:34 +00:00
Benjamin Haisch
6069dba988 Implemented direct loading of rtzcd.dat from the archive rtzcd.red, i.e. the game doesn't have to be installed first to get rtzcd.dat. Also added the respective detection entry.
svn-id: r31661
2008-04-23 08:08:37 +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
Eugene Sandulenko
d1d227db83 Fix initialization of Apple //gs sound
svn-id: r31659
2008-04-22 20:33:46 +00:00
Lars Persson
00de16f587 Remove line from buildscript
svn-id: r31658
2008-04-22 18:47:25 +00:00
Johannes Schickel
8a18ddb3ca Implemented opcodes:
- 32: o3_setHandItem
 - 33: o3_removeHandItem
 - 50: o3_wipeDownMouseItem
 - 116: o3_runActorScript
 - 136: o3_countItemInstances

svn-id: r31657
2008-04-22 18:08:56 +00:00
Filippos Karapetis
52f43fcff4 Fixed Return to Zork game ID
svn-id: r31656
2008-04-22 10:18:32 +00:00
Filippos Karapetis
b302ca9a7e Implemented o1_EVENTKEY. Removed some debug delays
svn-id: r31655
2008-04-22 08:08:07 +00:00
Filippos Karapetis
f1a27858d5 Added palette locking and some wip sound playing code. Some cleanup
svn-id: r31654
2008-04-22 07:40:28 +00:00
Filippos Karapetis
056547f45f Removed 2 obsolete fixmes
svn-id: r31653
2008-04-22 07:38:49 +00:00
Kari Salminen
aae2b1bab5 Update cinE.vcproj-files (Remove script.cpp, add script_fw.cpp and script_os.cpp).
svn-id: r31652
2008-04-21 21:48:36 +00:00
Eugene Sandulenko
57a9ef3a8f Patch #1941066: "CinE sprite overlay rewrite" courtsey of next_ghost
svn-id: r31651
2008-04-21 20:51:17 +00:00
Filippos Karapetis
54485c24c5 Some palette related fixes
svn-id: r31650
2008-04-21 20:20:34 +00:00
Filippos Karapetis
169bf5ddba More code merge
svn-id: r31649
2008-04-21 18:46:57 +00:00
Filippos Karapetis
36bec1d5c8 Code merge
svn-id: r31648
2008-04-21 18:40:28 +00:00
Filippos Karapetis
008c4ca9d6 Added missing ScummVM headers
svn-id: r31647
2008-04-21 17:47:00 +00:00
Max Horn
e31e1ff02c Removed unnecessary #include
svn-id: r31646
2008-04-21 17:08:34 +00:00
Max Horn
e9abc1b191 Removed some dead code
svn-id: r31645
2008-04-21 17:07:57 +00:00
Filippos Karapetis
4e62a13a67 Performed some optimizations to the PMV player
svn-id: r31644
2008-04-21 16:52:09 +00:00