Benjamin Haisch
6cd612d359
Fix regression introduced by r44459; LGoP2 crashed after Infocom logo
...
svn-id: r44688
2009-10-06 07:35:21 +00:00
Filippos Karapetis
decdc5771a
Applied patch #2872409 "MADE engine fixes" by agent-q, with one small modification (initialized _soundStarted in the ScriptFunctions constructor)
...
svn-id: r44589
2009-10-04 09:31:37 +00:00
Benjamin Haisch
af4c6c5f5b
Fixed bug #2868938
...
svn-id: r44459
2009-09-29 08:18:40 +00:00
Benjamin Haisch
0335a37b05
Fixed clipping-related bug (bug #2826036 )
...
svn-id: r44439
2009-09-28 07:28:20 +00:00
Filippos Karapetis
a983c88e37
Reverted parts of revisions #44292 , #44293 , #44295 and #44296 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44312
2009-09-24 17:24:42 +00:00
Filippos Karapetis
c91f5759b9
MADE: Fixed some warnings about unreachable code
...
svn-id: r44296
2009-09-24 09:51:26 +00:00
Matthew Hoops
e858994060
Fix bug #2843050 (RTZ: Crash to desktop with demo). Don't assert out when a resource slot can't be found.
...
svn-id: r43676
2009-08-23 21:15:47 +00:00
Benjamin Haisch
0762bb7cf6
- PMV player: Use frame count from PVM file and fix incorrect "invalid chunk type" warning
...
- Fix sprite drawing glitch with vertically flipped sprites (bug #2825925 )
svn-id: r43521
2009-08-18 19:42:13 +00:00
Johannes Schickel
b33b90ecd0
Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
...
svn-id: r43512
2009-08-18 15:31:26 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
1bd6f6c99f
Added game GUI options to advancedDetector and updated all engines
...
svn-id: r41272
2009-06-06 17:56:41 +00:00
Max Horn
7140dda5e5
MADE: cleanup
...
svn-id: r41070
2009-05-31 15:07:55 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Filippos Karapetis
8b725eef83
Reduced the CPU load of screen effects, by reducing the number of palette changes. The visual differences are negligible, but CPU load went down by around 10%.
...
svn-id: r39404
2009-03-14 19:47:23 +00:00
Filippos Karapetis
79d8432128
Simplified screen effects. Removed copyRect() and reposition()
...
svn-id: r39401
2009-03-14 17:32:43 +00:00
Filippos Karapetis
6852080916
Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class
...
svn-id: r39396
2009-03-14 15:43:37 +00:00
Filippos Karapetis
498a355a74
Reduced CPU usage of the MADE engine by about 10% (by profiling the code)
...
- Added delays in places where the screen gets updated
- Moved event polling inside sfPollEvent() (cause that's where events are polled), instead of after each opcode
svn-id: r39392
2009-03-14 14:58:19 +00:00
Filippos Karapetis
6225bf905f
Do not update the screen while waiting
...
svn-id: r39390
2009-03-14 13:42:43 +00:00
Filippos Karapetis
7da95bbd00
Pushed up the simple script stack function in the header file (this helps isolate them too, so that script.cpp only contains script command functions now)
...
svn-id: r39389
2009-03-14 12:23:35 +00:00
Filippos Karapetis
5b8cdd502f
Added file sizes of the various CD versions of Return to Zork to the detector, as supplied in patch #2629804 . Also, updated the game descriptions to provide more information on the version detected
...
svn-id: r39360
2009-03-12 17:32:13 +00:00
Filippos Karapetis
a784baaae9
Added the Italian and French versions of Return to Zork, as supplied in bug report #2685032
...
svn-id: r39359
2009-03-12 17:07:13 +00:00
Filippos Karapetis
fd14ebba14
PMV player: stop reallocating the frame buffer on every frame, if its size hasn't been changed
...
svn-id: r39354
2009-03-12 08:14:05 +00:00
Benjamin Haisch
f525575495
- Applied patch #2668849 by sunmax
...
svn-id: r39271
2009-03-09 18:19:53 +00:00
Benjamin Haisch
72897a4b09
Added LGOP2 detection entries:
...
- German, supplied by windlepoons (bug tracker #2675695 )
- French and Spanish, supplied by goodoldgeorg (bug tracker #2675759 )
svn-id: r39270
2009-03-09 18:03:46 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Benjamin Haisch
ee1cae3ebc
Removed unused variable
...
svn-id: r38372
2009-02-16 15:50:27 +00:00
Benjamin Haisch
22812367aa
- Fixed/completed cd audio support (sfPlayCd and sfGetCdTime) for Manhole:N&E and RtZ CD
...
svn-id: r36217
2009-02-04 19:15:12 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Filippos Karapetis
79709646fb
Added some unused opcodes in Rodney
...
svn-id: r36057
2009-01-25 10:46:48 +00:00
Filippos Karapetis
3fb9e1e23a
Added some information on sfPlayNote, sfStopNote, sfPlayTele, sfStopTele
...
svn-id: r36056
2009-01-25 10:16:00 +00:00
Filippos Karapetis
e46c1100a0
Removed leftover debug code
...
svn-id: r36055
2009-01-25 09:37:53 +00:00
Benjamin Haisch
6297561f7c
- Implemented sound decompression for Manhole EGA
...
svn-id: r36048
2009-01-25 01:58:16 +00:00
Kari Salminen
dfab0ee6d0
Initialize variables that might not be initialized but still used later on line 422 in a debug function call (Fixes MSVC's warnings about 'potentially uninitialized local variable').
...
svn-id: r36031
2009-01-24 05:02:08 +00:00
Filippos Karapetis
17b82253e9
Removed leftover test code for MADE V1, used in Manhole EGA (though the sound effects in Manhole EGA are still not working)
...
svn-id: r36028
2009-01-24 01:03:06 +00:00
Benjamin Haisch
a8562cf64b
- Implemented sfGetMusicBeat (used in several games as some kind of timer)
...
svn-id: r36023
2009-01-23 12:17:12 +00:00
Filippos Karapetis
ba469d3cbb
Silenced MSVC warnings
...
svn-id: r36002
2009-01-22 19:09:05 +00:00
Max Horn
6692330c41
Fix warning
...
svn-id: r36000
2009-01-22 18:33:02 +00:00
Benjamin Haisch
5b8105afb3
- Added support for The Manhole EGA version
...
- Support for 'chunked' picture resources and EGA pictures
- Improved the mouth sync in RtZ (still not perfect, though)
- Removed obsolete TODOs
- Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie
svn-id: r35997
2009-01-22 13:04:29 +00:00
Paul Gilbert
df6aa6361d
Slight changes to fx method #9 to more correctly match the original game
...
svn-id: r35893
2009-01-18 09:29:22 +00:00
Torbjörn Andersson
eb0ea6a297
Make sure that "quit" events are handled immediately. This fixes a warning - or
...
possibly worse - about an invalid opcode when quitting the game.
svn-id: r35879
2009-01-17 04:50:13 +00:00
Filippos Karapetis
68a20e2aba
- Removed _gameVersion, engine versions are set in the game detection entries now
...
- Renamed ProjectReader -> ResourceReader
- Added some WIP code for the EGA version of the Manhole (still not working/disabled)
- The resource reader now closes the files it has opened correctly when it's deleted
svn-id: r35877
2009-01-16 23:20:17 +00:00
Filippos Karapetis
405680af6d
Game database headers are verified now
...
svn-id: r35861
2009-01-14 11:18:14 +00:00
Torbjörn Andersson
b0fb307978
Fixed warnings.
...
svn-id: r35859
2009-01-14 05:49:18 +00:00
Filippos Karapetis
fa755b3729
Some updates/observations on script functions
...
svn-id: r35850
2009-01-13 21:08:22 +00:00
Filippos Karapetis
0ecaa8c4fd
- PMV video headers are evaluated correctly now
...
- PMV video is now stopped correctly if the end of the video has been reached. Removed a relevant hack, which was caused due to an invalid memory read
svn-id: r35849
2009-01-13 20:36:52 +00:00
Filippos Karapetis
305954d34a
Save game headers are now verified
...
svn-id: r35848
2009-01-13 19:29:55 +00:00
Filippos Karapetis
470b07004a
Added a possible FIXME
...
svn-id: r35846
2009-01-13 16:57:59 +00:00
Benjamin Haisch
78776638d3
Reworked the sound energy code
...
svn-id: r35845
2009-01-13 16:18:22 +00:00
Filippos Karapetis
c2db2b91a5
- Music now works in LGoP2
...
- Changed the default music volume to 127, down from 255
- Added an explanation/FIXME for the out of sync mouth animations in RTZ
- Added some TODOs and removed some obsolete ones
svn-id: r35843
2009-01-13 10:11:52 +00:00
Paul Gilbert
5afb4ad165
Implemented screen vfx #19 and #20
...
svn-id: r35834
2009-01-12 07:21:34 +00:00
Paul Gilbert
138c1936a4
Completed screen vfx #8 , and also implemented screen vfx #18
...
svn-id: r35822
2009-01-11 11:15:16 +00:00
Paul Gilbert
75c2dc82b3
Implemented screen vfx #8
...
svn-id: r35806
2009-01-10 22:11:22 +00:00
Filippos Karapetis
ef78bbdf0d
The sound energy buffer is now cleared inside decompressSound()
...
svn-id: r35753
2009-01-06 13:09:16 +00:00
Filippos Karapetis
de7721c638
Sound energy values are now stored in a list, to account for the fact that the original decompressed sounds on the fly, but we're decompressing them when the sound is being loaded
...
svn-id: r35752
2009-01-06 12:33:59 +00:00
Paul Gilbert
e2463f77cd
Changed sfGetSoundEnergy to use the correct soundEnergy value from decompressing sounds for proper lip-sync
...
svn-id: r35751
2009-01-06 10:40:38 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
51c22d9905
Added stubs for the missing visual effect opcodes
...
svn-id: r35512
2008-12-23 22:37:24 +00:00
Benjamin Haisch
2ce4a32fb6
- Implemented cmd_restart (for the restart functionality in Return to Zork)
...
svn-id: r35378
2008-12-15 09:01:43 +00:00
Max Horn
b085afc451
Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
...
svn-id: r35240
2008-12-04 19:09:10 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Benjamin Haisch
8709acb6de
- Global options dialog support
...
svn-id: r34981
2008-11-10 00:19:43 +00:00
Benjamin Haisch
8ffcd984b0
Implemented RTL support
...
svn-id: r34933
2008-11-07 21:59:25 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
142a8d5a51
Simplified AdvancedMetaEngine::fallbackDetect usage
...
svn-id: r34909
2008-11-06 13:59:39 +00:00
Benjamin Haisch
53163a4284
Implemented visual effects 1, 3, 4, 5, 6, 7 and 16
...
svn-id: r34823
2008-10-18 21:28:05 +00:00
Benjamin Haisch
99f8add65c
- Declared all stack functions as inline
...
- Sleep some ms after 500 opcodes to reduce CPU load
- Fixed odd bug in LGoP2 where text disappeared quickly without waiting for user input by returning 0x38 in sfShowPage
svn-id: r34746
2008-10-04 21:40:14 +00:00
Benjamin Haisch
cea848303b
Return 32000 in sfGetCdTime instead of 0; this fixes the Manhole intro/credits (until the function is actually implemented)
...
svn-id: r34671
2008-09-28 20:02:01 +00:00
Benjamin Haisch
a776beb2b9
Improved updateScreenAndWait; the mouse cursor is less jerky now in some scenes in Manhole:N&E
...
svn-id: r34638
2008-09-23 23:16:47 +00:00
Willem Jan Palenstijn
c8eeae8d4d
Big patch changing semantics of ReadStream::eos():
...
eos() now only returns true _after_ trying to read past the end of the stream.
This has a large potential for regressions. Please test!
svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
6bfa3e274a
Got rid of File::eof()
...
svn-id: r34396
2008-09-06 21:23:08 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Filippos Karapetis
80c47666db
Silence MSVC warning about ambiguous usage of CLIP
...
svn-id: r34296
2008-09-03 09:55:29 +00:00
Torbjörn Andersson
eb35835f5e
I believe the setVolume() function has to be guarded by a mutex. (I added this to
...
the Tinsel engine a while back to fix mysterious problems, but forgot to add it
elsewhere.) Maybe this will fix the mysterious IHNM crashes, as well?
svn-id: r34048
2008-08-20 09:12:11 +00:00
Max Horn
bd296a45fa
Fixed unitialized variables
...
svn-id: r32865
2008-07-01 10:33:25 +00:00
Benjamin Haisch
b6ad2b0035
- Fixed umlauts in printText
...
- Don't exit when a pmv video couldn't be found
svn-id: r32817
2008-06-27 09:57:38 +00:00
Benjamin Haisch
7bceafb3f2
- Fixed sprite drawing in Rodney's Funscreen
...
- Handle mouse button up events and event number fixes in MadeEngine::handleEvents()
- Use milliseconds -> game ticks calculation based on Windows version of the original engine
- "Rodney's Fun Screen" -> "Rodney's Funscreen"
svn-id: r32731
2008-06-18 11:01:51 +00:00
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
Benjamin Haisch
9e39e7d7a2
- Fixed timers, LGOP2 intro should now play correctly
...
- Some cleanup in LGOP2 opcodes
svn-id: r32051
2008-05-12 09:49:10 +00:00
Filippos Karapetis
57dfdbc6c8
Added a sanity check to getFrame()
...
svn-id: r32020
2008-05-11 13:11:01 +00:00
Filippos Karapetis
271ce25823
The backspace key is now working
...
svn-id: r31969
2008-05-09 19:29:17 +00:00
Filippos Karapetis
e0b9dec766
Implemented o1_CLIPAREA
...
svn-id: r31968
2008-05-09 16:11:01 +00:00
Filippos Karapetis
10826a29d2
Removed debug output
...
svn-id: r31967
2008-05-09 16:09:46 +00:00
Filippos Karapetis
3f3ba85bf1
Exit more gracefully when a quit event is triggered
...
svn-id: r31966
2008-05-09 15:49:38 +00:00
Filippos Karapetis
601f0efdd4
Removed now obsolete FIXME
...
svn-id: r31964
2008-05-09 12:23:19 +00:00
Benjamin Haisch
b222d0c539
Added workaround for o1_SNDENERGY
...
svn-id: r31962
2008-05-09 10:56:03 +00:00
Benjamin Haisch
55e4b05b18
- Fixed a bug which sometimes caused crashes when ProjectReader::purgeCache() was called
...
- Some cleanup
svn-id: r31961
2008-05-09 07:22:22 +00:00
Filippos Karapetis
e6d6281c89
o1_ADDSPRITE is not implemented yet, so throw a warning
...
svn-id: r31954
2008-05-08 20:33:28 +00:00
Filippos Karapetis
a9b4058ba9
Fixed some game crashes which occurred when ProjectReader::purgeCache() got called:
...
- MIDI music data is marked to be deleted in o1_STOPMUS now, instead of o1_PLAYMUS.
- Added a FIXME to Screen::setFont() - purgeCache crashes the game if the active font is deleted
svn-id: r31948
2008-05-08 13:23:02 +00:00
Filippos Karapetis
4f108b76a3
Reverted commit #31774
...
svn-id: r31947
2008-05-08 13:17:18 +00:00
Filippos Karapetis
b4e9433820
Silenced MSVC warnings about uninitialized variables
...
svn-id: r31946
2008-05-08 12:20:08 +00:00
Benjamin Haisch
b63ae7dee4
Possibly fixed the sound stuttering in the PMV videos and added frame skipping based on the Gob engine's IMD/VMD player.
...
svn-id: r31944
2008-05-08 11:17:38 +00:00
Benjamin Haisch
b6d2cf3553
Implemented vertical/horizontal flipping of sprites.
...
svn-id: r31931
2008-05-07 17:29:46 +00:00
Benjamin Haisch
a7f5150228
- cmd_return now exits the game if it returns from the main function
...
- Implemented cmd_exit
- PmvPlayer now exits "more gracefully" when the application is closed while playing
svn-id: r31930
2008-05-07 17:28:38 +00:00
Benjamin Haisch
8f9cc2e164
Added patch #1956516 : MADE: Fix Save File Names by clone2727 (with some modifications)
...
svn-id: r31919
2008-05-07 08:25:13 +00:00
Filippos Karapetis
46f1e98688
Fixed RTZ 1.0 game flags and updated copyright
...
svn-id: r31918
2008-05-07 08:19:36 +00:00
Benjamin Haisch
202e4eb410
Added detection for RtZ CD version 1.0 (thanks to spookypeanut)
...
svn-id: r31917
2008-05-07 07:15:42 +00:00
Sven Hesse
7595f20e33
Silencing two signess compiler warnings
...
svn-id: r31897
2008-05-06 15:08:48 +00:00