aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/resource_he.cpp
AgeCommit message (Collapse)Author
2007-04-01Reverted my roomoffs changes (broke the Loom intro), and instead added the ↵Max Horn
constant RES_INVALID_OFFSET to indicate an invalid room offset svn-id: r26353
2007-03-31Got rid of some 0xFFFF -> 0xFFFFFFFF conversions and similiar nonsense by ↵Max Horn
using a clever technique called 'signed ints' for room offsets (and this won't cause any regressions; any you may encounter are merely the products of a deranged imagination) svn-id: r26331
2007-02-13Fix warningsEugene Sandulenko
svn-id: r25554
2007-02-12Merged the "palette manager" into the cursor manager. It was only used toTorbjörn Andersson
manage *cursor* palettes, so the name was misleading. svn-id: r25500
2007-02-11Code cleanup: Removing unused code for handling OS/2 (NE header) binariesMax Horn
svn-id: r25497
2007-02-11Fix for bug #1506591: HE71-73: Fails to load mouse data (Endian issue?)Max Horn
svn-id: r25492
2006-10-15Moved get_resource_id_quoted around a bit and added another FIXME commentMax Horn
svn-id: r24328
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-05-20Pass values by-reference, using C++ references, and not by using pointersMax Horn
svn-id: r22548
2006-05-20Apparently, passing a file handle directly to a function causes that fileTorbjörn Andersson
handle (a copy of the original?) to be destroyed at the end of the function, and that closes the internal file handle, even though we want it to stay open. Who am I to argue with how C++ handles its parameters? I've simply changed the functions to take pointers to file handles instead. Seems to fix crashes in the Macintosh resource extractor for me. svn-id: r22546
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543
2006-04-29Moved the AudioCDManager as well as class AudioStream and its (standard) ↵Max Horn
subclasses to namespace Audio svn-id: r22231
2006-04-26Replace unneeded File::exists callsMax Horn
svn-id: r22173
2006-04-23Some more cleanup in class Scumm::SoundMax Horn
svn-id: r22125
2006-04-23Detect (and error out) if readMAXS failsMax Horn
svn-id: r22120
2006-04-23Fix access to .he3/.he4 filesMax Horn
svn-id: r22118
2006-04-23Move HE specific stuff from class Sound to its new subclass SoundHEMax Horn
svn-id: r22115
2006-04-23Behold, the new SCUMM detector finally has arrived. Unified detection & ↵Max Horn
engine instantiation, reduced code duplication, more powerful detection in case MD5 is not known / can't be computed, and many other nifty improvements. svn-id: r22110
2006-04-12Fixing mismatch between format strings and data on some systemsMax Horn
svn-id: r21827
2006-04-12sizeof(void *) != sizeof(int) for a large number of systems.Jonathan Gray
Fix a lot of debug/error statements that were using %d/%x for the result of pointer arithmetic. As C++ apparently has no format string for ptrdiff_t use %lu/%lx as appropriate. svn-id: r21824
2006-04-09Fix regression introduced by removing of GF_HE_CURSORLESS feature flag.Eugene Sandulenko
There are 3 cases of HE cursors: o Default one. We set up cursor palette for it. o Loaded from .HE3 (windows resource file). We use default cursor palette. o Loaded from WizImage. We disable default cursor palette. svn-id: r21711
2006-03-08Fixed tons of format string warnings for debug/error calls (including ↵Max Horn
several errors where the format string didn't match the number of arguments to the call) svn-id: r21141
2006-03-04Renamed SubstResFileNames::winName and macName to almostGameID / ↵Max Horn
expandedName (the old names were misleading; the new ones aren't great either :) svn-id: r21062
2006-03-03Moved ScummFile etc. to the new file.cpp / file.hMax Horn
svn-id: r21038
2006-02-25Split SCUMM's generateSubstResFileName into two functions: ↵Max Horn
findSubstResFileName and applySubstResFileName svn-id: r20879
2006-02-25Replaced MKID by MID_BE in most places in the SCUMM engineMax Horn
svn-id: r20862
2006-02-20Replaced _gameId, _version, _heversion, _features, _midi, _platform with a ↵Max Horn
simple ScummGameSettings instance: _game svn-id: r20795
2006-02-16Send sound resource data directly to sound mixer in HE Games.\n Fixes songs ↵Travis Howell
in kitchen of Pajama Sam 1 svn-id: r20721
2006-02-15Read correct index by block size in HE games again, to help track down ↵Travis Howell
unknown versions. svn-id: r20708
2006-02-15o Renamed script_v6he.cpp and script_v7he.cpp to script_v60he.cpp andEugene Sandulenko
script_v70he.cpp respectively since we use 2 digits for HE versioning. o Also renamed resource_v7he.* to resource_he.* because it is actually not HE70-specific but is used by all HE70+ titles. svn-id: r20703