Age | Commit message (Collapse) | Author |
|
Thanks to tinekefrineke and tdhs for pinpointing the actual problem in the
resource manager
|
|
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
|
|
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
|
|
|
|
Some backends may break as I only compiled SDL
|
|
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
|
|
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
|
|
|
|
|
|
|
|
16 color patches (*.p16 and *.v16) are used in 16 color EGA SCI1 games
32 color patches (*.p32 and *.v32) are used in 32 color Amiga SCI1 games
Removed a workaround for SCI1 EGA (bug #3044500), as that bug has been
fixed already in the view patch. Thanks to waltervn for observing this.
|
|
This fixes a lot of glitches, caused by the differences between the two
versions
|
|
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
|
|
|
|
|
|
|
|
Thanks to alexbevi for providing details on the format
|
|
It hardcodes the picture so it doesn't get run with the decompressor
|
|
dynamically. Also,
moved some audio-specific resource code inside resource_audio.cpp
This functionality is used by kSetLanguage(), called when switching the language in
MUMG Deluxe from the game's main menu.
svn-id: r55872
|
|
chunk loading code
svn-id: r55866
|
|
svn-id: r55865
|
|
svn-id: r55859
|
|
svn-id: r55783
|
|
svn-id: r55781
|
|
A regression from r55715
svn-id: r55751
|
|
svn-id: r55720
|
|
svn-id: r55716
|
|
svn-id: r55715
|
|
svn-id: r55708
|
|
svn-id: r55697
|
|
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?).
*Much* thanks to Walter for his help.
svn-id: r55696
|
|
svn-id: r54916
|
|
svn-id: r54737
|
|
svn-id: r54735
|
|
lskovlun
svn-id: r54284
|
|
svn-id: r54280
|
|
later
merged into the script files again in SCI3
svn-id: r54279
|
|
svn-id: r54220
|
|
svn-id: r54213
|
|
svn-id: r54211
|
|
- Placed the SCI3 version detection in the proper place
- Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are
ignored, for now
svn-id: r54188
|
|
Each map has to be mapped with its own specific volume (as opposed to earlier versions that had one map for all volumes); this code was passing the same map pointer for all volumes.
svn-id: r54179
|
|
- Enabled the SCI3 game entries for testing purposes
- The resource manager is initialized fully now (with a slight hack)
- Added a hack for the demo of Shivers 2 (which seemingly has no
scripts or vocabularies)
- The engine will stop before parsing any game scripts in SCI3 games,
and opens the console for resource manager-related functionality
svn-id: r54167
|
|
This is a regression from r54155, as we previously ignored the result of
addInternalSources() in the fallback detector
svn-id: r54163
|
|
This is a regression from r54155. Fixed by moving the chunk resource loading earlier.
svn-id: r54162
|
|
svn-id: r54161
|
|
ScummVM now rejects them properly instead of spewing lots of
unintelligible stuff.
svn-id: r54155
|
|
svn-id: r54077
|
|
svn-id: r54037
|
|
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.
The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.
svn-id: r54004
|