aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/resource_he.cpp
AgeCommit message (Collapse)Author
2010-05-29Fixed potential memory leak found by cppcheck. Though I'm guessing that if thisTorbjörn Andersson
case happens, we may have bigger problems... svn-id: r49307
2010-05-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-01-26Moved audio stream implementations (for MP3, FLAC, etc.) to new dir ↵Max Horn
sound/decoders/ svn-id: r47579
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-07-04Fix mismatching format arguments.Johannes Schickel
svn-id: r42105
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054
2009-01-23Renamed Archive::openFile to createReadStreamForMemberMax Horn
svn-id: r36021
2009-01-09Correct sound priority and SBNG offsets, in later HE games.Travis Howell
svn-id: r35795
2009-01-05Add support for RIFF sound format in createSound().Travis Howell
svn-id: r35736
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-27Add more stubs for MBC.Travis Howell
svn-id: r35570
2008-10-23Pushed down some header depsMax Horn
svn-id: r34845
2008-10-13Fix for bug #2162342: FREDDI1: Game does not startMax Horn
svn-id: r34793
2008-10-02Renamed FilesystemNode -> FSNodeMax Horn
svn-id: r34716
2008-09-30SCUMM HE: Use FilesystemNode::openForReading() instead of 'new Common::File' ↵Max Horn
(didn't cover all instances, though) svn-id: r34694
2008-09-29SCUMM HE: Fixed leak in Win32ResExtractor::extractResource_, use _filename ↵Max Horn
instead of File::name svn-id: r34683
2008-07-10Fixed a few warningsBertrand Augereau
svn-id: r32994
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-27Really fix bug #1846886: "PUTTZOO: Windows version cursor/pointer drawn wrong".Eugene Sandulenko
Also replace default HE cursor (used in Lost) with correct one. svn-id: r30650
2008-01-02Fix bug #1846886: "PUTTZOO: Windows version cursor/pointer drawn wrong"Eugene Sandulenko
svn-id: r30154
2007-12-27Enable Windows version of early HE games by default, to match already ↵Travis Howell
enabled 3DO/DOS/Macintosh versions of early HE games. Adding only the minimum code required for HE70 games. svn-id: r30011
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
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