aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
AgeCommit message (Collapse)Author
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
2003-01-01moved Scumm::faceActorToObj to Actor::faceToObject; moved various functions ↵Max Horn
in script.cpp (grouping cutscene/override related stuff) svn-id: r6317
2003-01-01added yet another variable (for mouse-button-hold flags). Now the 'verb ↵Max Horn
widget' shows up, though it is not erased properly svn-id: r6304
2002-12-31implemented o8_getDateTimeMax Horn
svn-id: r6295
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-29cleanupMax Horn
svn-id: r6263
2002-12-29cleanupMax Horn
svn-id: r6262
2002-12-29fix compileJames Brown
svn-id: r6251
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-27fixed flobject loading in V8Max Horn
svn-id: r6198
2002-12-27Appending another slash breaks COMI on MorphOS and AmigaOS where a ↵Ruediger Hanke
double-slash means parent directory ... a slash is already appended by the game detector if required svn-id: r6192
2002-12-27Fix cwd resource path bug for CMIJames Brown
svn-id: r6191
2002-12-27quick fix for Endy's code - should be redone properly laterMax Horn
svn-id: r6186
2002-12-27Move some things around, to get rid of all these resource/ sprintf's for CMIJames Brown
svn-id: r6182
2002-12-26map V8 talk opcodes to the right V6 opcodes; however, talking still locks up ↵Max Horn
after the first sentence is uttered (looking into that now); various cleanup; added a guess at VAR_EGO (based on what cmidec says is the 'default_actor') svn-id: r6176
2002-12-26fixed verb scriptsMax Horn
svn-id: r6175
2002-12-2632 bit variables storageMax Horn
svn-id: r6161
2002-12-26Don't go to the save/load screenJames Brown
svn-id: r6157
2002-12-26fixed save/load; more restructuring of the charset rendering codeMax Horn
svn-id: r6154
2002-12-25more cleanupMax Horn
svn-id: r6149
2002-12-25moved CharsetRendere into its own header/source file; changed ↵Max Horn
Scumm::_charset into a pointer, to make it possible to use different implementations of it svn-id: r6147
2002-12-25implemented V8 kernel function 'killAllScriptsButMe' - not sure if I did it ↵Max Horn
right, though svn-id: r6145
2002-12-25changed name from _insaneFlag to _smushFrameRatePaweł Kołodziejski
svn-id: r6136
2002-12-25converted heaps of int16 to int for V8 compatibility; fixed defineArray for ↵Max Horn
V8; added some work in o8_kludge2 svn-id: r6132
2002-12-25Clean up the hack. But it's still kinda a hack. Er. :)James Brown
svn-id: r6130
2002-12-25Hacky font support - first attempt :)James Brown
svn-id: r6127
2002-12-25fixed bomp cursor in CMI partially - still seeing ↵Max Horn
flickering/tearing/artifacts, though svn-id: r6124
2002-12-25renamed Scumm::charset -> Scumm::_charsetMax Horn
svn-id: r6119
2002-12-25Skeleton for hacky font support using Smush's FontRenderer. Doesn't work ↵James Brown
(uncomment the loadFont line in script_v8 to test). Aquadran, where are you? :) svn-id: r6114
2002-12-25added (broken) cursor support for V8; enabled bomp drawingMax Horn
svn-id: r6113
2002-12-24added a map from object names to object idsMax Horn
svn-id: r6104
2002-12-23set NUM_ACTORS to 80 for COMI; get rid of MAX_ACTORS (use NUM_ACTORS ↵Max Horn
instead); some updates svn-id: r6086
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-23more V8 workMax Horn
svn-id: r6074
2002-12-23word size for V8 games is 4 bytes, as opposed to 2 bytes in V6/V7 games. ↵Max Horn
Hence we adjust fetchScriptWord - this way we can reuse all sorts of code (and no, this is not really a hack - word size by tradition is something which varies depending on the architecture, so it is even consistent) svn-id: r6064
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-22minor cleanupMax Horn
svn-id: r6059
2002-12-21partial checkin of patch #655594 (handling Y/N questions); cleanupMax Horn
svn-id: r6042
2002-12-21got rid of _curVirtScreen and VirtScreen::unk1; added some comments to ↵Max Horn
gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default) svn-id: r6037
2002-12-17New savefile backend system (bye bye NONSTANDARD_SAVE...)Marcus Comstedt
svn-id: r6007
2002-12-16Endy, when I am gonna meet you, I'll have to kick, punch and bite you a bit ↵Max Horn
for using the same name for two entierly different classes, then adding new files (and at the same time not removing obsolete files), and finally using the WRONG BLOODY HEADER. I spent an hour to track this one down svn-id: r6004
2002-12-16refactoring: use inheritance to mode the relations between the various ↵Max Horn
engine versions. E.g. the V6 opcodes are now in Scumm_v6, the V5 opcodes in Scumm_v5 (from which we now derive v2-v4. which is a bit odd - maybe we should move the v5 opcodes to Scumm_v3 ?) svn-id: r5994
2002-12-15cleanup; reordering stuff in gfx.cpp, trying to group code into logical ↵Max Horn
groups (cursor, bomp, camera, palette, fades) svn-id: r5985
2002-12-15added comparision methods for ScummPointMax Horn
svn-id: r5981
2002-12-15debugger can now use the console (experimental, and thus disabled by default)Max Horn
svn-id: r5974
2002-12-14Commit some junk in-case I don't get time to finish this tonight and ↵James Brown
Fingolfin starts working on it :) svn-id: r5949
2002-12-13cleaned up autosave codeMax Horn
svn-id: r5926
2002-12-13cleanupMax Horn
svn-id: r5921