aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
AgeCommit message (Collapse)Author
2005-04-03Turned readRoomsOffsets into a virtual methodMax Horn
svn-id: r17363
2005-04-03Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added ↵Max Horn
comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max) svn-id: r17362
2005-03-31Made findResourceSmall local to resource.cpp; simplified _EPAL_offs (since ↵Max Horn
we don't use it nor save it at this time, this is harmless); added a comment about _CLUT_offs ugliness svn-id: r17314
2005-03-31Started to move some resource related code into a new class ResourceManager ↵Max Horn
(hypothetic goal for the future: use ResourceManager in ScummEx) svn-id: r17311
2005-03-30Support for direct reading from NES ROM:Eugene Sandulenko
o extend MemoryReadStream with XOR facility o implement MemoryWriteStream o _fileHandle now is a reference to BaseScummFile class and is created on the fly o implement ScummNESFile class which is basically extract_mm_nes utility o update NES MM md5's due to above changes NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename ROM to standard conventional name 'Maniac Mansion (XXX).nes' svn-id: r17300
2005-03-06Name parameters properly, lest we'll all be confused...Max Horn
svn-id: r17005
2005-03-02Fix room resource loading in Buzzy games.Travis Howell
svn-id: r16972
2005-03-02Fix COMI part III regression, I lost a line.Travis Howell
svn-id: r16967
2005-02-14Add basic support for DISK index block in later HE games.Travis Howell
svn-id: r16784
2005-02-11Turned HE Mac resource filename generator into generall, whole SCUMM-purposeEugene Sandulenko
method. Right now it is used to eliminate those Windows HE titles which have different target base names. If you want to use it, then define another entry in substDataFileNameTable[]. If your version with different base name has other features then you need to define GF_MULTIPLE_VERSIONS for main entry and add any additional entries to multiple_versions_md5_settings based on MD5 of the entry. svn-id: r16764
2005-02-02o Added few targetsEugene Sandulenko
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and logos, so we may add them. * artdemo and readdemo also use Bink, but seems that additionally it uses them in cutscenes, but since there are just few of them, not like in full games, we may try to look at them too * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets to select from it but then fails at some Wiz stuff and there is no hotspots to choose. I think it may be related to overall HE99 problem with inventory where there is a bug preventing from item selection o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it o Alternative russian freddi3 uses badly formatted logo substitution in intro, so error() in default case in Gdi::drawBMAPBg() was replaced with warning(). svn-id: r16722
2005-01-29Add support for Humongous Mac titles in native format. Please test :)Eugene Sandulenko
svn-id: r16693
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-17Reduce code size of resource.cpp to help PalmOS port, by moving util code to ↵Max Horn
a new file util.cpp and sound resource code to sound.cpp svn-id: r16105
2004-11-27Reduce code duplicationMax Horn
svn-id: r15908
2004-11-27Don't use directory param of File::open unless you have toMax Horn
svn-id: r15904
2004-11-09CleanupChris Apers
svn-id: r15739
2004-10-18_images not required.Travis Howell
Free extra HE resources on exit. svn-id: r15605
2004-10-07Adjusted come commentsMax Horn
svn-id: r15447
2004-10-04Add some HE99 varsTravis Howell
Rename opcodes svn-id: r15403
2004-10-01Definately Palettes.Travis Howell
Update HE todo. svn-id: r15369
2004-09-30OooopsTravis Howell
svn-id: r15357
2004-09-30Add some extra cases/opcodes for lost/smaller.Travis Howell
Add work around for paths svn-id: r15356
2004-09-30Actually always stored in indexTravis Howell
svn-id: r15355
2004-09-30roomVars rises to 256 is some HE games.Travis Howell
svn-id: r15353
2004-09-27Correction for roomImagesTravis Howell
RMSC is room scripts. svn-id: r15307
2004-09-19Removed some not necessary #defines which could (and did) lead to programEugene Sandulenko
logic misinterpretation. I assume these were added for readability, but (a) names suggestet that they're class variables but they didn't (b) their use wasn't consistent, i.e. there were places where variables were used directly, not by means of the macros (c) they didn't save that much space because they are used in few places. svn-id: r15179
2004-09-18Revert last commit by Fingolfin "removed _heV7RoomIntOffsets".Eugene Sandulenko
res.roomoffs[rtRoom] has a nick _roomFileOffsets (by means of #define), and it gets overwritten in ScummEngine::readRoomsOffsets(). HE games actually stored those offsets in additional array. Removing it breaks all HE72+ games badly. svn-id: r15178
2004-09-18removed _heV7RoomIntOffsetsMax Horn
svn-id: r15176
2004-09-18Rename some member vars to avoid _ followed by an uppercase letter. More of ↵Max Horn
those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this) svn-id: r15175
2004-09-17nukeArrays still nuking wrong arrays.Travis Howell
Add some more differences in later HE versions. Add HE opcodes changes. svn-id: r15145
2004-09-16Correct local script range in HE99+Travis Howell
svn-id: r15134
2004-09-08Lower debug levelTravis Howell
svn-id: r14957
2004-09-08Caused crash.Travis Howell
svn-id: r14956
2004-09-08No shadow palette in later games.Travis Howell
svn-id: r14955
2004-09-08Verified values.Travis Howell
No extra object data in later HE games. svn-id: r14954
2004-09-08Add extra index types.Travis Howell
Remove duplicate code. svn-id: r14953
2004-09-07Load talkie blockTravis Howell
svn-id: r14945
2004-09-07add some he c++ engine related changes. For some reason the cpp versions of ↵Jonathan Gray
spydemo and timedemo aren't getting _heversion set correctly svn-id: r14940
2004-09-07Add index for HE C++ games.Travis Howell
Enable all HE games again. svn-id: r14939
2004-09-02HE games should check _numSounds to check whether sound type is music.Travis Howell
Set maximum resource idx at 8000 for now, some HE games include huge amounts of sound resources. svn-id: r14859
2004-08-30Correct resource value, to match original.Travis Howell
Adjust rtLast svn-id: r14833
2004-08-29Add a few akos codesTravis Howell
Give unknown akos codes better names Rename actor variable Remove hack (Use multi-version flag instead) Another sound correction for HE games. svn-id: r14827
2004-08-28Sound change for later HE 7.x gamesTravis Howell
Revert cursor change, later games have no .he3 file. Add some stubs/opcodes Later HE games use hard code value for _numRoomVariables svn-id: r14808
2004-08-28akos should queue commmands and executate after drawing costumes (Caused ↵Travis Howell
race issues in HE games). Remove some duplciate code Enable from HE games Add a few stubs for some additional akos codes svn-id: r14799
2004-08-26Add another variable which improves readability.Eugene Sandulenko
svn-id: r14791
2004-08-26Add var difference in later HE gamesTravis Howell
svn-id: r14789
2004-08-26make more he titles get to boot scriptsJonathan Gray
svn-id: r14780
2004-08-26allocate memory for dobj in he 90, point games claiming to be 90 at 72he classJonathan Gray
svn-id: r14777
2004-08-26Add some stubs for HE 7.2Travis Howell
Fix warning Add music support for later HE 7.2 games svn-id: r14761