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