Commit Graph

26340 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
fcb36b6b90 WINTERMUTE: Clear out the debug-printing, so that it's actually readable. 2012-06-12 16:15:53 +02:00
Einar Johan Trøan Sømåen
c2a2a816f1 WINTERMUTE: Make sure to NULL-out _theora in AdEntity. 2012-06-12 15:58:32 +02:00
Einar Johan Trøan Sømåen
eb6895ed6b WINTERMUTE: Add rewindability to Theora-Decoder
This currently just abuses the fact that reset() does a rewind instead of a proper reset().
2012-06-12 15:58:00 +02:00
Einar Johan Trøan Sømåen
c6c2cfab4e WINTERMUTE: Fix formatting. 2012-06-12 14:41:29 +02:00
Einar Johan Trøan Sømåen
3508829882 WINTERMUTE: Correct some math-errors in the debug-logging. 2012-06-12 14:22:54 +02:00
Einar Johan Trøan Sømåen
43da09f95b WINTERMUTE: Get rid of even more FORBIDDEN SYMBOLs 2012-06-11 19:22:03 +02:00
Einar Johan Trøan Sømåen
819d16ea9b WINTERMUTE: Get rid of all but one FORBIDDEN SYMBOL in BGame. 2012-06-11 19:14:25 +02:00
Einar Johan Trøan Sømåen
58b054ca97 WINTERMUTE: Stub out BRenderSDL::DumpData, to get rid of the FORBIDDEN_SYMBOL_EXCEPTIONs there 2012-06-11 18:47:21 +02:00
Einar Johan Trøan Sømåen
0b02dae394 WINTERMUTE: Let looping movies atleast stall at the end for now. 2012-06-11 16:41:59 +02:00
Einar Johan Trøan Sømåen
a522aa5f6c WINTERMUTE: Make AdEntity-Theora videos work properly. 2012-06-11 16:11:16 +02:00
Einar Johan Trøan Sømåen
63efd76192 WINTERMUTE: Make Theora-playback fail properly when THEORA isn't compiled in. 2012-06-11 15:35:32 +02:00
Einar Johan Trøan Sømåen
ef2eb685dd WINTERMUTE: Formatting in BRenderSDL 2012-06-11 15:31:48 +02:00
Einar Johan Trøan Sømåen
f7679dca8c WINTERMUTE: Align TTF's properly. 2012-06-08 18:44:57 +02:00
Einar Johan Trøan Sømåen
1d5e59766f WINTERMUTE: Move FORBIDDEN_SYMBOL_EXCEPTION out of the headers and into the CPP-files that still need it. 2012-06-08 18:29:48 +02:00
Einar Johan Trøan Sømåen
8adae39ca4 WINTERMUTE: Minor cleanup in includes in BSurfaceSDL 2012-06-08 01:21:19 +02:00
Einar Johan Trøan Sømåen
2e0b523d41 WINTERMUTE: VarName -> varName in BSurface/BSurfaceSDL 2012-06-08 01:19:26 +02:00
Einar Johan Trøan Sømåen
ed7b31f841 WINTERMUTE: Remember to free the image decoders after use. 2012-06-08 00:35:19 +02:00
Einar Johan Trøan Sømåen
088a6b7b45 WINTERMUTE: Avoid compilation errors if Theora isn't included. 2012-06-08 00:21:04 +02:00
Einar Johan T. Sømåen
1c18f0efdc WINTERMUTE: Add detection for german Dirty Split 2012-06-07 13:50:49 +02:00
Einar Johan T. Sømåen
9aa2d43fac WINTERMUTE: Fix BRenderSDL::Fill 2012-06-07 13:40:57 +02:00
Einar Johan T. Sømåen
6e04d78a36 WINTERMUTE: Fix compile on linux again. 2012-06-07 12:53:13 +02:00
Einar Johan Trøan Sømåen
ff28c0215b WINTERMUTE: Let SystemFontPath be empty for now. 2012-06-04 03:39:30 +02:00
Einar Johan Trøan Sømåen
22602f0561 WINTERMUTE: Add word-wrapping for TTF-fonts, as well as proper loading of fonts in game-folder. 2012-06-04 03:38:50 +02:00
Einar Johan Trøan Sømåen
81e57690b2 WINTERMUTE: Make BDiskFile reset it's files after testing for compression. 2012-06-04 03:36:50 +02:00
Einar Johan Trøan Sømåen
8add2f10e8 WINTERMUTE: Add missing break in event-handler switch-case. 2012-06-04 02:57:04 +02:00
Einar Johan Trøan Sømåen
31d0b89e82 WINTERMUTE: Reenable CBRenderSDL::Fill to let the screen be blanked for every frame
This makes J.U.L.I.A. look a lot better.
2012-06-04 01:55:23 +02:00
Einar Johan Trøan Sømåen
70427e6d7e WINTERMUTE: Make text-measuring work without FreeType2. 2012-06-03 23:57:31 +02:00
Einar Johan Trøan Sømåen
a3901c76fd WINTERMUTE: Make sprite-mirroring work correctly. 2012-06-03 23:12:32 +02:00
Einar Johan Trøan Sømåen
b830ae44ea WINTERMUTE: Fix a missing const that made Rosemary bug out in scripts. 2012-06-03 22:53:17 +02:00
Einar Johan Trøan Sømåen
311341bff0 WINTERMUTE: Correct RGBA->ARGB in BSurfaceSDL 2012-06-03 22:12:08 +02:00
Einar Johan Trøan Sømåen
9ea09aee24 WINTERMUTE: Don't error out on missing WeedResponses. 2012-06-03 21:53:11 +02:00
Einar Johan Trøan Sømåen
db2c12fb08 WINTERMUTE: Make BFontTT draw almost the right color. 2012-06-03 21:53:11 +02:00
Einar Johan Trøan Sømåen
b881ff7eef WINTERMUTE: Implement most of BSoundBuffer, to get sentences to play properly. 2012-06-03 21:52:52 +02:00
Einar Johan Trøan Sømåen
dbebaaf50d WINTERMUTE: Get a fallback font to at least draw something for BFontTT 2012-06-03 16:55:38 +02:00
Einar Johan Trøan Sømåen
c69f3bf8b6 WINTERMUTE: Add detection for the white chamber v1.7 2012-06-03 03:49:56 +02:00
Einar Johan Trøan Sømåen
d79549964c WINTERMUTE: Make the engine atleast register keypresses. 2012-06-03 03:16:57 +02:00
Einar Johan Trøan Sømåen
ca1e62035d WINTERMUTE: Add back Theora support to AdEntity. 2012-06-03 02:52:33 +02:00
Einar Johan Trøan Sømåen
9a3fdd4cc4 WINTERMUTE: Make Theora-playback behave a bit more as expected. 2012-06-03 02:33:10 +02:00
Einar Johan Trøan Sømåen
15796f0eed WINTERMUTE: Add JPEG-support to BSurfaceSDL 2012-06-03 02:32:36 +02:00
Einar Johan Trøan Sømåen
f0a0f5c35c WINTERMUTE: Actually register all DCPs. 2012-06-03 02:32:13 +02:00
Einar Johan Trøan Sømåen
9f66bed4b5 WINTERMUTE: Don't delete the fonts gotten from FontMan, they are const. 2012-06-03 01:16:20 +02:00
Einar Johan Trøan Sømåen
071c5a1d83 WINTERMUTE: Add detection for the J.U.L.I.A.-demo 2012-06-03 01:15:49 +02:00
Einar Johan Trøan Sømåen
af518b7433 WINTERMUTE: Clean up Theora support quite a bit. 2012-06-02 21:36:42 +02:00
Einar Johan Trøan Sømåen
a647ef3afb WINTERMUTE: Add hacky, but working video playback 2012-06-02 19:41:18 +02:00
Einar Johan Trøan Sømåen
cafdcd1c8a WINTERMUTE: Add in more of the missing Video-pieces, also, copy over the TheoraPlayer from SWORD25 2012-06-02 18:46:17 +02:00
Einar Johan Trøan Sømåen
74ff79e90b WINTERMUTE: Implement IsTransparentAtLite, to fix the BitmapFont-drawing. 2012-06-02 14:28:58 +02:00
Einar Johan Trøan Sømåen
e7a802700c WINTERMUTE: Add color-keying for BSurfaceSDL BMPs 2012-06-02 13:48:26 +02:00
Einar Johan Trøan Sømåen
2db2566055 WINTERMUTE: Convert 8bpp images to 32 bpp 2012-06-02 13:10:07 +02:00
Einar Johan Trøan Sømåen
5fd8d1360f WINTERMUTE: Mark BSaveThumbFile for future refactoring. 2012-06-02 13:10:05 +02:00
Einar Johan Trøan Sømåen
4a10bc8b14 WINTERMUTE: Revamp the file-system to deliver Common::-streams directly 2012-06-02 13:09:58 +02:00
Einar Johan Trøan Sømåen
afe5567421 WINTERMUTE: Start refactoring the file-files in Base. 2012-06-02 13:09:54 +02:00
Einar Johan Trøan Sømåen
5fde51cd23 WINTERMUTE: Protect CBFile's private members. 2012-06-02 13:09:50 +02:00
Einar Johan Trøan Sømåen
84601ca89e WINTERMUTE: Move the file-related classes into Base/file 2012-06-02 13:09:47 +02:00
Einar Johan Trøan Sømåen
b02b3ebb21 WINTERMUTE: Add folders for utils and video 2012-06-02 13:09:41 +02:00
Einar Johan Trøan Sømåen
221490a93d WINTERMUTE: Add subfolders for math, UI, tinyxml and Sys 2012-06-02 13:09:34 +02:00
Einar Johan Trøan Sømåen
e6729615ea WINTERMUTE: Move the B and Part files into Base/ 2012-06-02 13:09:24 +02:00
Einar Johan Trøan Sømåen
2317b3538f WINTERMUTE: Move all the Ad files to Ad/ 2012-06-02 13:09:20 +02:00
Einar Johan Trøan Sømåen
b1e4f58fed WINTERMUTE: Use const Common::String& for the file-accessors. 2012-06-02 13:07:45 +02:00
Einar Johan Trøan Sømåen
b94c379263 WINTERMUTE: Let blitting of non 32bpp surfaces fail with a warning instead of an error for now. 2012-06-02 13:07:42 +02:00
Einar Johan Trøan Sømåen
ed88f83d54 WINTERMUTE: Add detection for Rosemary 2012-06-02 13:07:40 +02:00
Einar Johan Trøan Sømåen
96a8874a92 WINTERMUTE: Use the resolution asked for by the engines. 2012-06-02 13:07:37 +02:00
Einar Johan Trøan Sømåen
79f86732b8 WINTERMUTE: Fix Windows build under MSVC2010 2012-06-02 13:07:29 +02:00
Einar Johan Trøan Sømåen
2f02bec21f WINTERMUTE: Add in, and stub the VideoPlayer-files 2012-06-02 13:07:22 +02:00
Einar Johan Trøan Sømåen
0cee403067 WINTERMUTE: Fix a few warnings. 2012-06-02 13:07:18 +02:00
Einar Johan Trøan Sømåen
bfcffbea60 WINTERMUTE: Fix Linux-build 2012-06-02 13:07:15 +02:00
Einar Johan Trøan Sømåen
03284a3f88 WINTERMUTE: Add TGA-support to BSurfaceSDL 2012-06-02 13:07:08 +02:00
Einar Johan Trøan Sømåen
c05059ea8a WINTERMUTE: Use AdvancedDetector, and add another game. 2012-06-02 13:05:54 +02:00
Einar Johan Trøan Sømåen
ebbf92578d WINTERMUTE: Re-enable scaling. 2012-06-02 13:05:52 +02:00
Einar Johan Trøan Sømåen
ae48c3f7e1 WINTERMUTE: Add transparentSurface internally for now, to allow alpha-blended blits. 2012-06-02 13:05:42 +02:00
Einar Johan Trøan Sømåen
a53fa953a4 WINTERMUTE: Don't use unsigned datatypes in rects. 2012-06-02 13:02:51 +02:00
Einar Johan Trøan Sømåen
753781f972 WINTERMUTE: Break the binary interface, to fix another truckload of warnings. 2012-06-02 13:02:47 +02:00
Einar Johan Trøan Sømåen
16f1a45844 WINTERMUTE: Fix more warnings, mostly missing switch-cases. 2012-06-02 13:02:42 +02:00
Einar Johan Trøan Sømåen
e13929b7f1 WINTERMUTE: Fix another bunch of warnings
Mostly SAFE_DELETE-macro removal
2012-06-02 13:02:35 +02:00
Einar Johan Trøan Sømåen
c97705cedf WINTERMUTE: Fix a few more warnings 2012-06-02 13:02:27 +02:00
Einar Johan Trøan Sømåen
e57364959f WINTERMUTE: Add protected to ScValue 2012-06-02 13:02:22 +02:00
Einar Johan Trøan Sømåen
7c8785d846 WINTERMUTE: Require 32bpp for now. 2012-06-02 13:02:19 +02:00
Einar Johan Trøan Sømåen
11aadc5690 WINTERMUTE: Solve some const-char related warnings. 2012-06-02 13:02:10 +02:00
Einar Johan Trøan Sømåen
25f08ba402 WINTERMUTE: Remove a few defines from wintypes.h 2012-06-02 13:02:01 +02:00
Einar Johan Trøan Sømåen
c9058b5448 WINTERMUTE: Remove a few of the __WIN32__ macros. 2012-06-02 13:01:53 +02:00
Einar Johan Trøan Sømåen
7616fabf67 WINTERMUTE: Make Sprites draw again. 2012-06-02 13:01:50 +02:00
Einar Johan Trøan Sømåen
987fd67ce0 WINTERMUTE: Handle a few more forbidden symbols. 2012-06-02 13:01:45 +02:00
Einar Johan Trøan Sømåen
0d9ec2a0a9 WINTERMUTE: Remove a few warnings. 2012-06-02 13:01:36 +02:00
Einar Johan Trøan Sømåen
ff1b42259a WINTERMUTE: Unify license-headers, and header-guards. 2012-06-02 13:01:27 +02:00
Einar Johan Trøan Sømåen
ba6a2ac66e WINTERMUTE: Run Astyle on code-files to reformat. 2012-06-02 13:01:15 +02:00
Einar Johan Trøan Sømåen
2ee58d2dc3 WINTERMUTE: Add const to even more char* (Possibly the last ones) 2012-06-02 12:59:27 +02:00
Einar Johan Trøan Sømåen
ded3c2a4b4 WINTERMUTE: Add const to even more char-pointers. 2012-06-02 12:59:18 +02:00
Einar Johan Trøan Sømåen
61945782d6 WINTERMUTE: Add const to almost all char *Filename instances.
Although done semi-automatically, almost all of these accesses don't need write-access
to the string, this simplifies debugging a bit, and opens the possibility of adding in
Common::String as a replacement down the line.

This DOES change quite a bit of code, and has regressions wrt drawing, probably some
super-classes don't fully match their sub-classes wrt virtual functions any more.
2012-06-02 12:59:09 +02:00
Einar Johan Trøan Sømåen
7bd6151127 WINTERMUTE: Add empty virtual destructors to the Debugger-classes, to silence a few warnings. 2012-06-02 12:59:02 +02:00
Einar Johan Trøan Sømåen
076cd93d21 WINTERMUTE: Preliminary fontwork. 2012-06-02 12:58:53 +02:00
Einar Johan Trøan Sømåen
6faf92bfda WINTERMUTE: Fix a few swtich-related warnings in PlatformSDL. 2012-06-02 12:56:35 +02:00
Einar Johan Trøan Sømåen
26226afc5a WINTERMUTE: Fix a few warnings in BRenderSDL.h 2012-06-02 12:56:30 +02:00
Einar Johan Trøan Sømåen
6acc470bc6 WINTERMUTE: Disable fonts, and remove FreeType2. 2012-06-02 12:56:05 +02:00
Einar Johan Trøan Sømåen
7339ca988f WINTERMUTE: Fix StringUtil::EndsWith 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
ffffd68f19 WINTERMUTE: Make CBSoundBuffer initialize it's SoundHandle. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
ab98efe595 WINTERMUTE: Make ScEngine use Common::String to avoid some double-frees. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
d4fd90e064 WINTERMUTE: Fix font-related crash. 2012-06-02 12:42:11 +02:00
Einar Johan Trøan Sømåen
858989a685 WINTERMUTE: Comment out Mac OS X specific code. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
d2d43da4f0 WINTERMUTE: Cleanup the includes in Platform SDL
This should remove the last SDL-include in-engine
2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
4cf1d67140 WINTERMUTE: Remove a few SDL-includes. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
2e12f9fe4d WINTERMUTE: Initial conversion of events from SDL2->OSystem 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
f07690cb96 WINTERMUTE: Make the messiest warnings warn just once. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
b6f512f392 WINTERMUTE: Some refactoring in BSoundMgr. 2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
23dd928733 WINTERMUTE: Add in basic sound-support.
Right now, all that is supported is triggering OGG-files,
the choice of codec is hardcoded, and stopping/pausing etc isn't added in.
2012-06-02 12:42:10 +02:00
Einar Johan Trøan Sømåen
0b8ac2f3b4 WINTERMUTE: Add a simple alpha-hack for rendering.
This is not pretty, but atleast it shows the entire first screen for 'Dirty Split' drawing fine.
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
9355850d07 WINTERMUTE: Make the engine atleast draw something. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
21033f631f WINTERMUTE: Cleanup the debug-warnings a bit. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
e31f23d75d WINTERMUTE: Make the mainloop run after initialization. 2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
620b45e517 WINTERMUTE: Start work on porting BRenderSDL away from SDL2
In particular this stubs away a few troublesome SDL-calls, that stopped us
from getting the engine to start right now.
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
66602bcd9c WINTERMUTE: Silence an error when trying to set window-title
Currently we don't set the window-title anyhow, so why trigger an error about
the text-encoding?
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
ecc03331db WINTERMUTE: Correct assumptions about PathUtil::GetExtension
This puts it in line with Common::lastPathComponent, i.e. not including the '.'
2012-06-02 12:42:09 +02:00
Einar Johan Trøan Sømåen
2f7fe9f443 WINTERMUTE: Make BPkgFiles use SubStreams for non-compressed files too.
Since we already do the assumption that we don't need to do the same package-seeks
for compressed files, this assumption needs to be carried for uncompressed files too.
2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
466596eae4 WINTERMUTE: Make BSurfaceSDL init its filename again. 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
59dffd5e86 WINTERMUTE: Correct the default-resolution to 640x480 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
cb06258124 WINTERMUTE: Avoid touching SDL_Quit in-engine 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
3a3304e324 WINTERMUTE: Make BPkgFile use zlib-streams and substreams.
Note that there is still much that could be simplified here by using
substreams more extensively, instead of the specific WinterMute-solutions
that are currently in place for dcp-files.
2012-06-02 12:42:08 +02:00
Eugene Sandulenko
28c78b956d WINTERMUTE: Mass rename m_FooBar -> _fooBar 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
84fd9d0dac WINTERMUTE: Add in the Particle-stuff, now everything links, and the AdGame-constructor starts. 2012-06-02 12:42:08 +02:00
Einar Johan Trøan Sømåen
a5d992d513 WINTERMUTE: Add the missing TinyXML-parts 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
f4b95a0d73 WINTERMUTE: Remove STL from ScValue 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
5b01f6a284 WINTERMUTE: Add BKeyboardState to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
46458bfc00 WINTERMUTE: Add BDiskFile to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
fd3e4b7a92 WINTERMUTE: Stub and add BRenderSDL to the build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
f32d924017 WINTERMUTE: Add BSurfaceSDL to build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
403839cd70 WINTERMUTE: Add crc to the build 2012-06-02 12:42:07 +02:00
Einar Johan Trøan Sømåen
85adc3a3ba WINTERMUTE: Add ScEngine, ScValue, SXStore, SXString, SXFile and PlatformSDL to build 2012-06-02 12:41:15 +02:00
Einar Johan Trøan Sømåen
a7c12a7bd1 WINTERMUTE: Add simple detection for WinterMute 2012-06-02 12:12:37 +02:00
Einar Johan Trøan Sømåen
afee4aeacc WINTERMUTE: One big and ugly commit that resolves most of the forbidden-symbols.
The StringUtils aren't complete or tested, and the SysClasses are a hack,
and there are a few "FORBIDDEN_SYMBOL_EXCEPTIONS".

Expect this commit to need a bunch of cleanup going forwards.
2012-06-02 12:12:36 +02:00
Einar Johan Trøan Sømåen
f33e2d1824 WINTERMUTE: Silence a few SAFE_DELETE-related warnings. 2012-06-02 12:12:34 +02:00
Einar Johan Trøan Sømåen
4b2b236abd WINTERMUTE: Add most of the missing classes to the build. 2012-06-02 12:12:33 +02:00
Einar Johan Trøan Sømåen
d5b4474c36 WINTERMUTE: Make BGame almost compilable 2012-06-02 12:12:32 +02:00
Einar Johan Trøan Sømåen
ff64c8d107 WINTERMUTE: Add most of the Ad-Classes to module.mk 2012-06-02 12:12:31 +02:00
Einar Johan Trøan Sømåen
2b586a768f WINTERMUTE: Add the AD-classfiles 2012-06-02 12:12:29 +02:00
Einar Johan Trøan Sømåen
5a2cf6f36f WINTERMUTE: Add the UI-classes. 2012-06-02 12:12:27 +02:00
Einar Johan Trøan Sømåen
c609c778cc WINTERMUTE: Add most of the B-classes to module.mk 2012-06-02 12:12:24 +02:00
Einar Johan Trøan Sømåen
b602b51160 WINTERMUTE: Add the files for the rest of the B-classes. 2012-06-02 12:12:22 +02:00
Einar Johan Trøan Sømåen
72a44cdc7b WINTERMUTE: Add the script-classes 2012-06-02 12:12:20 +02:00
Einar Johan Trøan Sømåen
997c5df430 WINTERMUTE: Add BBase and BParser, and make them compile. 2012-06-02 12:12:18 +02:00
Einar Johan Trøan Sømåen
ec5f5c739e WINTERMUTE: Add in the engine-shell from the ScummVM-wiki 2012-06-02 12:12:17 +02:00
D G Turner
d9983a6224 DREAMWEB: Cleanup of debugging code and formatting in sound code.
This commit removes various temporary debugging output, cleans up
some points of formatting and replaces some hexadecimal sizes and
offsets with decimal for readability.
2012-06-02 07:03:40 +01:00
Travis Howell
79f6f63daf SCUMM: Add debugInput opcode difference in Backyard Basketball. 2012-06-01 14:30:47 +10:00
Travis Howell
dfa5405db8 SCUMM: Change the nest.number default to zero in stopScript and stopObjectScript too. 2012-05-31 19:01:07 +10:00
D G Turner
6691424397 DREAMWEB: Remove irrelevant additions in SFX id 62 usage. 2012-05-31 05:39:08 +01:00
D G Turner
628cfa3d47 DREAMWEB: Objectify Sound functions & data into DreamWebSound class.
This change should have no functional change, but makes the sound code
more decoupled, modular and readable, prior to attempting a fix for
bug #3528164 - "DREAMWEB: missing sound effects/music cues during main
title".
2012-05-31 05:16:10 +01:00
Travis Howell
4aec92e5e9 SCUMM: Backyard Baseball 2003 uses a unique variable for the subtitle setting, fixes changing subtitles via ScummVM. 2012-05-31 11:40:21 +10:00
Lars Skovlund
403b646c13 SCI32: Case-insensitive configuration getters 2012-05-30 18:43:39 +02:00
Travis Howell
de904c59c4 SCUMM: Fix global script 255 never been resumed by runScriptNested. Thanks to clone2727 for tracking down the problem in baseball2003. 2012-05-31 00:05:05 +10:00
D G Turner
ae31469a9a DREAMWEB: Replaced vsync() function with waitForVSync().
As a call to waitForVSync() was the only contents of vsync(), there
should be no functional change.
2012-05-30 04:23:34 +01:00
D G Turner
96ae10c749 DREAMWEB: Removal of dead code and cleanup in sound code.
The removed blocks in the playChannel<n> functions referencing index are
non-functional leftovers from more complex logic in the original code
structure, and thus can be safely removed.
2012-05-30 03:53:52 +01:00
Sven Hesse
be25e31a0a GOB: Fix v7 cursors drawn by the scripts
When the cursor name is "", then that cursor is drawn by the scripts
instead of loaded from cursor32.dll. That cursor does not have its own
palette then.
Fixes the cursors in the "paint" game in Adibou2.
2012-05-29 17:12:06 +02:00
Sven Hesse
aa7c44a070 GOB: Hook up the PE cursors to v7 loadCursor
Addy Junior / Adibou2 now shows proper cursors.
Thanks to clone2727 for the constant nagging. :P
2012-05-29 14:22:07 +02:00
Travis Howell
e35e4a1f68 SCUMM: Add Macintosh UK version of Freddi Fish 4. 2012-05-29 10:58:06 +10:00
Matthew Hoops
da3f0ba448 SCUMM: Fix error in spyfox iOS credits 2012-05-28 20:16:39 -04:00
Matthew Hoops
d54e53d462 SCUMM: Add support for Spy Fox iOS 2012-05-28 14:29:44 -04:00
Matthew Hoops
d67f9b89f2 MOHAWK: Use video volume control in Riven 2012-05-28 14:05:17 -04:00
Matthew Hoops
10f7e805c2 VIDEO: Add volume/balance control to VideoDecoder 2012-05-28 14:00:16 -04:00
Filippos Karapetis
e77fc29101 SCI: Add a TODO in kFileIOReadRaw 2012-05-26 19:06:54 +03:00
Filippos Karapetis
f15582b190 SCI: Map another missing kFileIO call
This is used to change directories in the save/load dialog (unused by us)
2012-05-26 16:42:38 +03:00
Filippos Karapetis
5af1ccbac6 SCI: Implement kGetConfig and kGetSierraProfileInt
This fixes the sluggish game speed in Phantasmagoria (DOS/Windows)
2012-05-26 16:41:11 +03:00
Filippos Karapetis
b4152bd7eb SCI: Add some missing game-specific options 2012-05-26 16:32:37 +03:00
Filippos Karapetis
79926b305c SCI: Bugfix for kFileIOReadRaw
Avoid overwriting the target buffer with junk when no data has been read
2012-05-26 16:23:03 +03:00
Filippos Karapetis
beef27fc10 SCI: Map the rarely used VibrateMouse kernel function to be an empty call
This is a function used to implement vibration in the floppy version of
QFG4 for exotic force feedback mice, such as the Logitech Cyberman
2012-05-24 01:44:25 +03:00
D G Turner
45974a1bf0 DREAMWEB: Increased debugging output from sound related code.
This code is intended as temporary debugging code to aid investigation
of bug #3528164 - "DREAMWEB: missing sound effects/music cues during
main title" and can be removed once this bug is fixed.
2012-05-22 16:31:23 +01:00
Filippos Karapetis
a1554b9ddd SCI: Fix the detection of the NRS patch for QFG3 2012-05-22 10:50:40 +03:00
Filippos Karapetis
5a8a28bb22 SCI: Add a workaround for a hack used in the NRS script patches for QFG3
The patched script 33 in the NRS patch attempts to perform kAbs() on an
object. Return a dummy value instead. Fixes bugs #3528416 and #3528542
2012-05-22 10:50:39 +03:00
Filippos Karapetis
b678dca1c0 DREAMWEB: Fix bug #3528160 - "DREAMWEB: graphical glitch on UKV CD version loading screen" 2012-05-21 11:41:15 +03:00
Matthew Hoops
92b907e856 SCI: Silence unused variable warnings 2012-05-21 00:07:28 -04:00
Matthew Hoops
a07840931a SCI: Properly alphabetize the SCI32 objects 2012-05-21 00:06:42 -04:00
Filippos Karapetis
6cda15ba8e SCI: Added two new debug commands, plane_list and plane_items
These can be used to debug drawn items in SCI32
2012-05-21 01:30:10 +03:00
Filippos Karapetis
b5eac1b35b SCI: Fix case of the SciOpcodes enum 2012-05-20 21:35:27 +03:00
Filippos Karapetis
6fb9511c93 SCI: Remove the hackish (and wrong) SCI32 fade code 2012-05-20 20:26:45 +03:00
Filippos Karapetis
8c1ca6548d SAGA: Fix bug #3528338 - "ITE: Subtitles always shown in introduction" 2012-05-20 20:16:16 +03:00
Filippos Karapetis
f8c24b5d88 SCI: Split the SCI32 graphics kernel functions in a separate file 2012-05-20 20:16:15 +03:00
Filippos Karapetis
fceeca2666 SCI: Change sci_opcodes to CamelCase 2012-05-20 20:16:13 +03:00
Filippos Karapetis
6f9e49faeb SCI: Add another workaround for the map scene in TMM
Thanks to TMM for details on reproducing this
2012-05-20 20:16:11 +03:00
D G Turner
e23ac65799 DREAMWEB: Modify detection entries to allow for early UK CD Release.
As this version has identical dreamweb.r00 and r02 files to the
international floppy release, have added the executable to clarify
between the two versions.

Fixes bug #3526483 - "DREAMWEB: No speech playing in CD version"
2012-05-18 17:13:37 +01:00
Paul Gilbert
68b0412ce9 TINSEL: Fix compiler warning 2012-05-17 20:46:13 +10:00
Paul Gilbert
41692ef48a TINSEL: Refactored Tinsel engine to use the Common coroutine scheduler 2012-05-17 20:42:23 +10:00
Paul Gilbert
c6810c174e COMMON: Moved the Tinsel Coroutine code into it's own Common class 2012-05-17 20:39:55 +10:00
Filippos Karapetis
c64a69c363 SCI: Resolve some resource related FIXMEs
These were introduced in 4f6d42d.
The odd comment dates back to FreeSCI, as far as our history goes, and
seems to be a leftover from an old refactoring during FreeSCI's history
2012-05-15 03:05:38 +03:00
Fabio Battaglia
3296e872f4 CRUISE: Add italian language strings
Add italian menu strings, taken from Italian Amiga version
2012-05-14 20:27:15 +02:00
Fabio Battaglia
ef280e81a6 CRUISE: Correct Italian detection entry
Actually mark Amiga italian detection entry as Italian
2012-05-14 17:18:30 +02:00
Fabio Battaglia
623ae7f179 CRUISE: Add detection entry for Amiga Italian ver 2012-05-14 17:15:17 +02:00
Matthew Hoops
b253a05454 GRAPHICS: Hide the WinCursor implementation 2012-05-14 09:56:56 -04:00
Filippos Karapetis
c3f0a426fc SCI: kMakeSaveFileName is actually using virtual savegame IDs 2012-05-14 11:16:11 +03:00
Filippos Karapetis
6b38731d39 SCI: Implement savegame deletion functionality in SCI32
This is based on two kernel functions, kMakeSaveCatName and
kMakeSaveFileName
2012-05-14 11:04:58 +03:00
Filippos Karapetis
398d0ffcef SCI: Check for object visibility, if an object defines it
Fixes the inventory in GK1
2012-05-14 02:30:15 +03:00
Willem Jan Palenstijn
4f6d42d77b SCI: Add a few FIXMEs 2012-05-13 16:23:15 +02:00
Matthew Hoops
9e330174c8 VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
2012-05-12 21:28:13 -04:00
Filippos Karapetis
c424c22f19 SCI: Fix bug #3040625 - "SCI: ECOQUEST French/German: Speech balloon graphic glitch"
This bug is caused by the fact that the sprites in that scene and the
speech bubble share the same priority, so we compensate for that with a
workaround
2012-05-11 12:54:06 +03:00
Willem Jan Palenstijn
f6acc5d5be DREAMWEB: Fix crash when entering short console password
_inputLine is not a string, so it shouldn't be cast to Common::String.
This fixes bug #3525602.
2012-05-10 23:06:32 +02:00
D G Turner
29a866217f DREAMWEB: Fix Speech Directory Name for SP/FR CD Variant.
This should fix the remaining issues on bug #3524362 "DREAMWEB: Problem
with Spanish/French version".
2012-05-08 16:58:43 +01:00
D G Turner
0cff5c547c DREAMWEB: Add _speechDirName to remove duplication of Directory name. 2012-05-08 16:48:01 +01:00
D G Turner
4161d83cba DREAMWEB: Add detection entry for another French/Spanish CD variant.
The MD5sums are taken from bug #3524362 "DREAMWEB: Problem with
Spanish/French version".
2012-05-07 23:21:20 +01:00
athrxx
1387693168 KYRA: fix bug No. X. from http://forums.scummvm.org/viewtopic.php?t=11487
(monsters not getting hit by fireball trap)
2012-05-06 12:42:10 +02:00
athrxx
e7ba09be63 KYRA: fix bug No. VI. from http://forums.scummvm.org/viewtopic.php?t=11487
(Vaelan's Cube should be able to remove illusionary walls)
2012-05-06 12:42:08 +02:00
athrxx
89ea3e016f KYRA: fix bug No. IX. from http://forums.scummvm.org/viewtopic.php?t=11487
(experience points awarded after Knowles/Xeobs quest missing 1 point)
2012-05-06 12:42:07 +02:00
Torbjörn Andersson
44a076caf8 TSAGE: Remove extra semicolons. 2012-05-06 09:19:51 +02:00
Willem Jan Palenstijn
5a1f458bd0 DREAMWEB: Add character map for the Italian version.
It is the same as the French version. This fixes bug #3523338.
2012-05-04 23:35:18 +02:00
Matthew Hoops
76dfbbede4 TINSEL: Add basic PSX SEQ playback support
Instrument bank support is not implemented yet
2012-05-03 18:19:54 -04:00
Matthew Hoops
b93b17e7f4 TINSEL: Capitalize 'demo' 2012-05-03 17:59:19 -04:00