aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
AgeCommit message (Collapse)Author
2003-01-26LCA03 sync: Modified version of the untrap patch, debuggerJames Brown
savegame/loadgame changes, attempts at making the ComI save/load screen (F1) work. The savegame part of the screen does not work due to a crash, the load part SHOULD... but something resets the saveload flags before they are processed (help! :) svn-id: r6545
2003-01-19oopsMax Horn
svn-id: r6512
2003-01-19added some comments/changed indention of comments to spacesMax Horn
svn-id: r6510
2003-01-12work around a script bug in COMI; cleanup; re-enabled array assertMax Horn
svn-id: r6437
2003-01-12Small fix - _numLocalObjects is a 1-based array, so don't go reading bad ↵James Brown
memory :P svn-id: r6417
2003-01-08our File class already makes sure we find stuff in the resource ↵Max Horn
subdirectory. Plus, it handles different cases right. So now COMI works from CD on Mac OS X, too svn-id: r6363
2003-01-02Plop in some better disk switching code for CMI - I have no idea how well ↵James Brown
this will work transitioning from a disk1 room to a disk2 room in-game, but it works for bootparams and saved games.. svn-id: r6322
2002-12-31get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled ↵Max Horn
script dumping svn-id: r6284
2002-12-28de-verbalise some debug messages (move from debug(1) to debug(2)).. so we ↵James Brown
can see printDebug lines easier svn-id: r6227
2002-12-28get rid of getStringLen and use the more powerful resStrLen instead; moved ↵Max Horn
resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing svn-id: r6215
2002-12-27like rtRoom, rtRoomScripts should never expire while the room they belong ↵Max Horn
too is loaded; this fixes the crash when picking up the fishing rod svn-id: r6208
2002-12-27Move some things around, to get rid of all these resource/ sprintf's for CMIJames Brown
svn-id: r6182
2002-12-2632 bit variables storageMax Horn
svn-id: r6161
2002-12-25cleanupMax Horn
svn-id: r6140
2002-12-24added a map from object names to object idsMax Horn
svn-id: r6104
2002-12-24fixed room resource loading in V8 - now need to fix initRoomSubBlocksMax Horn
svn-id: r6091
2002-12-24upon res load error, print out from which file we tried to load, and also ↵Max Horn
print the correc index (was 'type' instead of 'idx') svn-id: r6090
2002-12-23changed numString to numArrayPaweł Kołodziejski
svn-id: r6078
2002-12-23changed read order of CMI variables (MAXS)Paweł Kołodziejski
svn-id: r6076
2002-12-23some flesh to the V8 bonesMax Horn
svn-id: r6073
2002-12-23don't be needlessly verbose; allow byte arrays in V8Max Horn
svn-id: r6071
2002-12-23corrected AARY code for V8 (I hope)Max Horn
svn-id: r6063
2002-12-22added some preliminary V8 work. Nope, it is not useful at all, and it ↵Max Horn
doesn't mean we will have CMI support in this millenium, so don't hold your breath svn-id: r6060
2002-12-21partial checkin of patch #655594 (handling Y/N questions); cleanupMax Horn
svn-id: r6042
2002-12-18Fixed problems with instruments after load.Jamieson Christian
Ignore Adlib-only music when running native MIDI. (Can't remember why I included them in the first place, so until I do remember, it's coming back out.) svn-id: r6020
2002-12-05Fixed inappropriate expiration of sound resources,Jamieson Christian
which fixes concurrency issues esp. in PocketPC and MorphOS. Stubbed SysEx command 2 (start of song) to get rid of annoying warning. Changed MT-32 instrument warnings to fit on one (80-char) line. svn-id: r5842
2002-12-04more cleanup; fixes out of bound access to _charsetData (but I am not sure ↵Max Horn
if that will be visible anywhere svn-id: r5833
2002-11-29cleanupMax Horn
svn-id: r5747
2002-11-28oopsMax Horn
svn-id: r5738
2002-11-28no need to retry 5 times in loadResource - we don't have users with floppy ↵Max Horn
disks anymore, after all :-). Fixed an endian issue for v2 games (makes them crash a little bit later during loading) svn-id: r5737
2002-11-23fixed o5_resourceRoutines for OLD256 games (various subopcodes are still not ↵Max Horn
implemented, though); some cleanup svn-id: r5699
2002-11-21Revamped Adlib functionality.Jamieson Christian
IMuseAdlib is defunct. New MidiDriver_ADLIB device. Simon 1/2 now supports Adlib. svn-id: r5677
2002-11-20Support MAC music tracks even in -eadlib modeJamieson Christian
svn-id: r5636
2002-10-23cleaning up scummsys.h a bit (in preparation of using configure eventually). ↵Max Horn
Most notable, uint32 etc. will be 'unsigned int' not 'unsigned long'. Except for 16 bit systems that should be right, and configure will replace this by a proper check for data type sizes anyway svn-id: r5290
2002-10-21The terms Word and DWord are somewhat Windows centric; in fact there are ↵Max Horn
systems on which word is 32bit, as opposed to our 16 bits. Hence, use the uin16/uint32 naming scheme, which is not ambigious svn-id: r5216
2002-10-15Patch 623391: Verb shadow fix (MI2)James Brown
svn-id: r5150
2002-10-11added FT imuse musicPaweł Kołodziejski
svn-id: r5127
2002-10-02Fix "ripburger attacks Malcom" cutscene, by disabling pseudoRooms for V7 games.James Brown
They arn't used in FT at least, so I'm going to assume this could also fix the Dig. svn-id: r5073
2002-09-29patch #616195Max Horn
svn-id: r5039
2002-09-29Patch #616155: Set Monkey1VGA music instruments dynamicallyJames Brown
svn-id: r5035
2002-09-29Merge in 615745: GMD via AdLib emulationJames Brown
Remove MIDIEMU driver obsoleted by patch. Change functionality to fallback to AdLib/AdLibGMD Emulation where MIDI init fails Switch to NewGUI by default (old code retained 'Just in case') svn-id: r5033
2002-09-25Fix annoying indentation of the CHECK_HEAP macroJames Brown
svn-id: r5018
2002-09-25Patch 613933: Return code for validateresource.James Brown
svn-id: r5017
2002-09-22Add fix meTravis Howell
svn-id: r5004
2002-09-22Add hack from trin to make zak256 sfx/music work again.Travis Howell
Add Makefile changes to Makefile.mingw svn-id: r5000
2002-09-222002-09-21 Matt Hargett <matt@use.net>Matt Hargett
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate PDBs on all builds. * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp, dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp: Fix warnings where possible. One pragma added to eliminate warning of unknown pragmas. * string.cpp: If unknown escape sequence, print warning. svn-id: r4998
2002-09-21Add the following patches:Travis Howell
[ 609649 ] Sound patch for GF_OLD256 games [ 611997 ] RFC: Timer-based CD audio sync svn-id: r4986
2002-09-15improved open function in File classPaweł Kołodziejski
svn-id: r4945
2002-09-10changed scumm file io to class FilePaweł Kołodziejski
svn-id: r4920
2002-08-30minor tweaksMax Horn
svn-id: r4872