25222 Commits

Author SHA1 Message Date
Filippos Karapetis
673784e6ef Typo
svn-id: r31712
2008-04-24 23:07:22 +00:00
Filippos Karapetis
8b7486b5ca Implemented opcodes o1_DROPSHADOW, o1_TEXTCOLOR, o1_OUTLINE. Added some initial code for opcode o1_TEXTRECT
svn-id: r31711
2008-04-24 23:06:21 +00:00
Johannes Schickel
c05d16826d - implemented opcode 90: o3_getScore
- opcode 103 is yet another dummy opcode

svn-id: r31710
2008-04-24 21:48:04 +00:00
Johannes Schickel
a546869dac Implemented opcode temporary 4: o3t_setNewShapeFlag.
svn-id: r31709
2008-04-24 21:38:08 +00:00
Johannes Schickel
2b9a786e79 Opcode 53 is o3_playSoundEffect.
svn-id: r31708
2008-04-24 21:34:07 +00:00
Johannes Schickel
44d44ddf05 Added screen update in KyraEngine_v3::drawScoreCounting.
svn-id: r31707
2008-04-24 21:27:27 +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
f0cbfff93e Implemented opcode 60: o3_removeItemsFromScene.
svn-id: r31705
2008-04-24 21:18:10 +00:00
Johannes Schickel
1c660c4524 Implemented opcode 56: o3_updateScore.
svn-id: r31704
2008-04-24 21:11:55 +00:00
Lars Persson
604ce476e4 Add textstrings for MADE and M4 engines.
svn-id: r31702
2008-04-24 20:15:42 +00:00
Kari Salminen
9ba0aa01fa Cleanup & typo.
- Use sizeof(_name) instead of magic number 10 with memset
- 'usually' instead of 'ussually'
- 'delete[]' instead of 'delete []'
- Fixed parameter name discrepancy between loadResource's definition and declaration

svn-id: r31701
2008-04-24 20:04:53 +00:00
Eugene Sandulenko
c376414771 Comment patch #1949695
svn-id: r31700
2008-04-24 20:04:32 +00:00
Eugene Sandulenko
80c4249f79 Patch #1949695: "set defaultTo1XScaler depending on width with CJK mode"
svn-id: r31699
2008-04-24 20:02:01 +00:00
Filippos Karapetis
b861f38d10 Some initial code for font loading
Implemented opcode o1_LOADANIM

svn-id: r31698
2008-04-24 18:45:11 +00:00
Torbjörn Andersson
dd1ae2dd4f Fixed warning.
svn-id: r31697
2008-04-24 17:50:15 +00:00
Filippos Karapetis
5cf618937f Fixed regression: CINE games crashed when a message box appeared (patch by next_ghost)
svn-id: r31696
2008-04-24 17:32:24 +00:00
Johannes Schickel
103e944fa4 Output error message when kyra.dat initialization fails because of old version or missing entries.
svn-id: r31695
2008-04-24 15:49:41 +00:00
Johannes Schickel
b50948b60c Fixed bug in loadMalcolmShapes.
svn-id: r31694
2008-04-24 15:04:12 +00:00
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