25307 Commits

Author SHA1 Message Date
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
Johannes Schickel
9b3edffa8d Implemented opcodes:
- 74: o3_setSceneAnimPosAndFrame
 - 81: o3_switchScene

svn-id: r31744
2008-04-26 23:26:47 +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
b179320edf Implemented opcode 34: o3_resetInventory.
svn-id: r31741
2008-04-26 22:33:07 +00:00
Johannes Schickel
99307976d5 Finished o3_delay implementation.
svn-id: r31740
2008-04-26 22:30:55 +00:00
Johannes Schickel
dd98898a23 Implemented opcodes:
- 78: o3_disableInventory
 - 79: o3_enableInventory

svn-id: r31739
2008-04-26 22:29:27 +00:00
Johannes Schickel
71f4dee9ae Implemented opcode 129 o3_chapterChange.
svn-id: r31738
2008-04-26 22:22:21 +00:00
Johannes Schickel
6ed2d9c287 Implemented opcodes:
- 26: o3_setInventorySlot
 - 27: o3_getInventorySlot
 - 28: o3_addItemToInventory

svn-id: r31737
2008-04-26 22:13:19 +00:00
Johannes Schickel
fa208a4386 - Implemented support for jesters staff, mood change and score displaying
- Fixed bug in KyraEngine_v3::loadMalcolmShapes

svn-id: r31736
2008-04-26 21:52:15 +00:00
Johannes Schickel
7eef295729 Added support for kyra3 inventory. (jesters staff not supported yet)
svn-id: r31735
2008-04-26 21:08:47 +00:00
Eugene Sandulenko
8c9311280f Fix Kanji rendering
svn-id: r31734
2008-04-26 20:33:59 +00:00
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