Commit Graph

131 Commits

Author SHA1 Message Date
Sven Hesse
46681407ab Fixing compilation
svn-id: r32676
2008-06-12 18:33:34 +00:00
Benjamin Haisch
fb31c62ad8 - Added support for Rodney's Fun Screen
- Added audio cd playback (still kinda broken though)
- Renamed getObjectPropertyPtr to findObjectProperty

svn-id: r32669
2008-06-12 11:09:04 +00:00
Benjamin Haisch
555ddf9f95 Updated script dumper to show opcode offset.
svn-id: r32668
2008-06-12 11:01:08 +00:00
Benjamin Haisch
b9776d46b2 - Implemented opcodes: sfHomeText, sfDrawAnimPic
- Comments on unneeded opcodes
- Simplified getting/setting strings in Objects

svn-id: r32361
2008-05-29 12:57:11 +00:00
Filippos Karapetis
b844e4bd5a Implemented visual effects 11 and 13 (inverse of 10 and 12)
svn-id: r32356
2008-05-28 23:17:10 +00:00
Sven Hesse
ab6c82a850 Silenced a signed/unsigned comparison warning
svn-id: r32355
2008-05-28 22:42:15 +00:00
Benjamin Haisch
4afd19ad0f Fixed premature stopping of sounds/voices.
svn-id: r32354
2008-05-28 22:15:10 +00:00
Benjamin Haisch
885fa54f28 Split Object/GameDatabase into engine version specific classes
svn-id: r32349
2008-05-28 20:16:22 +00:00
Benjamin Haisch
df0e072a1b Fixed a crash in LGOP2 when attempting to get a sprite item from an empty array.
svn-id: r32348
2008-05-28 20:12:01 +00:00
Jordi Vilalta Prat
c6e29f4e4d Disable Drascula's and MADE's dummy fallbackDetect.
svn-id: r32297
2008-05-26 18:18:38 +00:00
Kari Salminen
bff1bcd329 Silence MSVC warning C4800.
svn-id: r32288
2008-05-26 12:40:42 +00:00
Benjamin Haisch
23da4c5fa2 Fixed graphics decoding bug in Manhole: N&E
svn-id: r32281
2008-05-26 11:07:18 +00:00
Benjamin Haisch
aa02a6758a - Hopefully fixed 'responsiveness' of the mouse cursor/event handling
- Disabled auto dirty rects which caused major gfx problems
- Added default mouse cursor for Manhole: N&E
- Fixed sound rate for Manhole: N&E
- Don't automatically show mouse cursor when a new cursor was loaded

svn-id: r32279
2008-05-26 07:27:46 +00:00
Benjamin Haisch
365513d9e4 Implemented visual effects 2 and 15
svn-id: r32278
2008-05-26 07:20:23 +00:00
Benjamin Haisch
4074d49844 - Moved event polling from sfPollEvent to runScript
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position

svn-id: r32205
2008-05-21 10:07:33 +00:00
Benjamin Haisch
529800e172 Removed obsolete comment and code in ScriptInterpreter::dumpScript
svn-id: r32204
2008-05-21 07:16:12 +00:00
Benjamin Haisch
828a217a03 - Implemented "stand-alone" script dumper/disassembler; it can be enabled by defining DUMP_SCRIPTS in script.h and starting with at least debug level 1.
- Commented which script opcodes and extended functions are actually used or not.

svn-id: r32202
2008-05-20 20:00:10 +00:00
Benjamin Haisch
11697c0eb2 Delete animation frames in AnimationResource destructor.
svn-id: r32201
2008-05-20 19:56:49 +00:00
Filippos Karapetis
970f7e7c93 Some updates to the script dumper
svn-id: r32200
2008-05-20 18:56:22 +00:00
Filippos Karapetis
141215136f Documented what screen effects 10 and 12 are doing
svn-id: r32199
2008-05-20 18:30:26 +00:00
Filippos Karapetis
bf52cc2186 Clarification about the weird sound frequencies in PMV videos
svn-id: r32198
2008-05-20 18:20:17 +00:00
Filippos Karapetis
e20abe228d Silenced an MSVC warning
svn-id: r32197
2008-05-20 18:19:32 +00:00
Benjamin Haisch
eb354bbe02 Implemented visual effects 10 and 12
svn-id: r32196
2008-05-20 18:01:26 +00:00
Benjamin Haisch
520af7d4bb RtZ: Fixed a bug where sounds were cut off prematurely.
svn-id: r32188
2008-05-19 21:32:37 +00:00
Torbjörn Andersson
7d28b65172 Removed unused variable.
svn-id: r32187
2008-05-19 21:22:59 +00:00
Benjamin Haisch
cefff90ac6 RtZ: Fixed bug which caused PMV videos to look odd (noticeable in the intro movie) and optimized frame decompression code.
svn-id: r32182
2008-05-19 19:34:55 +00:00
Filippos Karapetis
0c81b70ba3 Rewrote the MADE script dumper, hopefully in a more efficient way
svn-id: r32167
2008-05-18 10:57:58 +00:00
Filippos Karapetis
84610606c1 Slight cleanup and small bugfix for dumpScript()'s cmd_call
svn-id: r32151
2008-05-17 14:47:30 +00:00
Filippos Karapetis
25e7e1999a Initial incomplete version of a MADE script dumper
svn-id: r32150
2008-05-17 13:35:57 +00:00
Filippos Karapetis
2ceb1b2577 Documented screen effects
svn-id: r32148
2008-05-17 10:17:35 +00:00
Filippos Karapetis
66ecacc7c3 Screen mask is now only used for V2 games
svn-id: r32147
2008-05-17 09:06:54 +00:00
Filippos Karapetis
f1b099cb0c Added entries for the unpacked (*.dat) English and German CD versions of RtZ 1.2
svn-id: r32126
2008-05-14 21:10:41 +00:00
Filippos Karapetis
d35600db72 Added Return to Zork German CD version 1.2
Updated comment about *.red and *.dat

svn-id: r32124
2008-05-14 20:24:22 +00:00
Filippos Karapetis
e279d9693a Some comments to opcodes sfGetMusicBeat and sfSetTextRect
svn-id: r32123
2008-05-14 20:12:58 +00:00
Benjamin Haisch
6c1cee1a1d Forgot the makefile, sorry
svn-id: r32107
2008-05-14 11:21:33 +00:00
Benjamin Haisch
a896272b1f Deleting obsolete files
svn-id: r32106
2008-05-14 11:21:09 +00:00
Benjamin Haisch
4a0b936495 Merged the three ScriptFunctionsXXX classes into ScriptFunctions
svn-id: r32105
2008-05-14 11:19:31 +00:00
Benjamin Haisch
0ec51de272 - Added some visual effects (palette fading etc.)
- Moved Screen::getAnimFrameCount directly into o1_GETFRAMECOUNT
- Renamed variables/cleanup

svn-id: r32104
2008-05-14 09:54:15 +00:00
Filippos Karapetis
c3bdf1c75f Removed obsolete file
svn-id: r32101
2008-05-14 07:17:27 +00:00
Filippos Karapetis
3c119e17cb Added a sanity check to o1_LOADCURSOR to prevent LGoP2 from crashing when the save/load menu is opened during character selection
svn-id: r32089
2008-05-13 16:12:37 +00:00
Benjamin Haisch
3db45cc0c8 Implemented savegame saving/loading for LGOP2.
svn-id: r32081
2008-05-13 08:21:28 +00:00
Benjamin Haisch
f03a27747c Hide the mouse cursor while a movie plays.
svn-id: r32080
2008-05-13 08:19:15 +00:00
Benjamin Haisch
16ac1bcebf Changed clipping rectangles to use Common::Rect (thanks to [md5]/thebluegr)
svn-id: r32077
2008-05-12 22:28:52 +00:00
Benjamin Haisch
f54036b6a4 Implemented o1_EXCLUDEAREA for RtZ
svn-id: r32074
2008-05-12 21:47:38 +00:00
Sven Hesse
f833cf4c61 Muting "comparing signed and unsigned values" compiler warning
svn-id: r32072
2008-05-12 20:17:54 +00:00
Benjamin Haisch
9b911cadcd Fixed printTextEx segment fault bug.
svn-id: r32071
2008-05-12 20:14:07 +00:00
Benjamin Haisch
3e133f3a9f Fixed o1_DRAWTEXT in LGOP2
svn-id: r32070
2008-05-12 19:29:46 +00:00
Benjamin Haisch
31a8d984a4 Sanity checks in RtZ: o1_PLAYMUS and o1_STOPMUS
svn-id: r32068
2008-05-12 17:48:56 +00:00
Benjamin Haisch
11e6527674 Implemented o1_ADDMASK and o1_SETMASK for LGOP2
svn-id: r32066
2008-05-12 17:43:33 +00:00
Benjamin Haisch
c3b1b9bf82 Fixed timer resolution/conversion; now the vulture in the first scene of RtZ lands on the sign, and the thunder sound is in sync with the flash screen effect in the Infocom logo screen.
svn-id: r32063
2008-05-12 16:10:13 +00:00