Commit Graph

25093 Commits

Author SHA1 Message Date
Johannes Schickel
2ae81f0096 Implemented opcodes:
- 76: o3_removeItemInstances
 - 94: o3_showSceneStringsMessage

svn-id: r31733
2008-04-26 19:00:22 +00:00
Johannes Schickel
3bde19a137 Fixed unitialized variable in Screen.
svn-id: r31732
2008-04-26 10:28:23 +00:00
Johannes Schickel
bba003e53a Fixed segfault when trying to start invalid gameid from command line.
svn-id: r31731
2008-04-26 10:21:53 +00:00
Johannes Schickel
61101b6dce Fixed kyra screen initialization.
svn-id: r31730
2008-04-26 10:15:54 +00:00
Jonathan Gray
0bb41c23ca Call _screen->Init(). Fixes segfaults when
trying to start via a command line.

svn-id: r31729
2008-04-26 09:52:17 +00:00
Florian Kagerer
13ef28215d minor drawShape() bug fix for Malcolm's shadow
svn-id: r31728
2008-04-25 22:38:40 +00:00
Johannes Schickel
7fb4a87c24 Implemented opcodes:
- 20: o3_setCharacterAnimFrameFromFacing
 - 61: o3_disguiseMalcolm

svn-id: r31727
2008-04-25 17:59:38 +00:00
Johannes Schickel
c10f59d358 Implemented opcodes:
- 152: o3_customChat
 - 153: o3_customChatFinish

svn-id: r31726
2008-04-25 17:43:40 +00:00
Johannes Schickel
2479b03fbf Implemented opcodes:
- 156: o3_disableTimer
 - 157: o3_enableTimer
 - 158: o3_setTimerCountdown

svn-id: r31725
2008-04-25 17:36:43 +00:00
Johannes Schickel
66518b5be0 Oops... fixes compiling.
svn-id: r31724
2008-04-25 16:09:30 +00:00
Johannes Schickel
3150313377 - Committed slightly modified patch #1951735 "kyra3: debugger and "give" command"
- Added some more commands to new kyra3 debugger
- Cleaned up some debugger code

svn-id: r31723
2008-04-25 16:02:20 +00:00
Johannes Schickel
671e475567 Implmented opcodes:
- 11: o3_getCharacterFrameFromFacing
 - 12: o3_setCharacterFacingOverwrite

svn-id: r31722
2008-04-25 15:46:07 +00:00
Johannes Schickel
425c874816 - Implemented opcodes:
-> 30: o3_addItemToCurScene
  -> 62: o3_drawSceneShape
- Fixed bug in KyraEngine_v3::exchangeMouseItem, fixes user input after combining items

svn-id: r31721
2008-04-25 15:41:06 +00:00
Johannes Schickel
fd5064b069 Renamed opcode 63 to o3_drawSceneShapeOnPage.
svn-id: r31720
2008-04-25 12:20:06 +00:00
Benjamin Haisch
3dc6263b17 Started work on text drawing code.
svn-id: r31719
2008-04-25 11:20:43 +00:00
Benjamin Haisch
134762be38 Fixed cmd_rand and cmd_randomize and some cleanup.
svn-id: r31718
2008-04-25 11:07:56 +00:00
Benjamin Haisch
5540ef2d67 Added FontResource type
svn-id: r31717
2008-04-25 11:05:56 +00:00
Benjamin Haisch
4bcf3ab823 (Poissbly) fixed sound glitches due to a non-implemented decoding variant.
svn-id: r31716
2008-04-25 11:02:37 +00:00
Filippos Karapetis
2172eee072 Center videos to screen
svn-id: r31715
2008-04-25 10:43:47 +00:00
Filippos Karapetis
9e0cd64629 Implemented cmd_rand() and cmd_randomize()
svn-id: r31714
2008-04-25 07:36:38 +00:00
Joost Peters
c622414022 add detection entry for 1.2 CD version.
the md5 of rtzcd.dat is identical to the existing entry, so no additional "unpacked" entry was added.

svn-id: r31713
2008-04-24 23:11:34 +00:00
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