aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
AgeCommit message (Collapse)Author
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
2002-08-29sound system cleanupMax Horn
svn-id: r4867
2002-08-29some cleanup/refactoringMax Horn
svn-id: r4866
2002-08-29experimental support for the V2 resource format (patch #601560)Max Horn
svn-id: r4864
2002-08-21Initial revisionMax Horn
svn-id: r4785