Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-24 | cleanup: encapsulate some more members of class Actor, and rename ↵ | Max Horn | |
newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy) svn-id: r9175 | |||
2003-06-30 | this FIXME is obsoleted by my recent fix for getMaskFromBox | Max Horn | |
svn-id: r8678 | |||
2003-06-27 | fixed warning | Paweł Kołodziejski | |
svn-id: r8664 | |||
2003-06-26 | paranoia fix for getOBCDFromObject, in casegetResourceAddress returns 0 | Max Horn | |
svn-id: r8653 | |||
2003-06-26 | added getOBIMFromObject and getObjectImage methods; changed code to use those | Max Horn | |
svn-id: r8651 | |||
2003-06-26 | added ResourceIterator, replacing two of the old ↵ | Max Horn | |
findResource/findResourceSmall function - contraty to those, this approach is thread safe svn-id: r8650 | |||
2003-06-25 | added some const qualifiers; moved _bundle & _current_cd_sound from class ↵ | Max Horn | |
Scumm to class Sound; some other tweaks svn-id: r8648 | |||
2003-06-20 | seems monkeyega & monkeyvga have byte values for the object name offset, too | Max Horn | |
svn-id: r8571 | |||
2003-06-20 | fixed Zak256 (and possibly other V3 games); Not quite sure if the behaviour ↵ | Max Horn | |
is correct for V4 games, that needs testing svn-id: r8568 | |||
2003-06-19 | instead of casting to byte, rather allow offsets > 255 | Max Horn | |
svn-id: r8564 | |||
2003-06-18 | Fixed MSVC warnings | Jamieson Christian | |
svn-id: r8544 | |||
2003-06-16 | Bypass the Maniac Mansion copy protection by making the security door stay | Torbjörn Andersson | |
open at all times, like some original versions did. This still leaves the player the option of blowing the mansion up by entering the wrong code. I still don't know if it has any unforseen side-effects. svn-id: r8517 | |||
2003-06-14 | Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; ↵ | Max Horn | |
augmented by some more changes of mine svn-id: r8482 | |||
2003-06-14 | runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT | Max Horn | |
svn-id: r8468 | |||
2003-06-14 | Format string/argument mismatch fix. | Torbjörn Andersson | |
svn-id: r8464 | |||
2003-06-07 | replaced GF_AFTER with _version | Max Horn | |
svn-id: r8372 | |||
2003-06-06 | v1 object drawing updates from aquadran | Jonathan Gray | |
svn-id: r8346 | |||
2003-06-06 | fixed almost object drawing for v1 games, (ugly hack for drawBitmap) | Paweł Kołodziejski | |
svn-id: r8345 | |||
2003-06-01 | Reverted the recent o5_getClosestObjActor() change and fixed it by | Torbjörn Andersson | |
measuring the distance in characters for V2 games instead. Now Edna won't bring the same strange kid into the cell over and over again. If necessary, we can still fix o5_getClosestActor() to handle larger distances. It just takes a few more changes than I first thought. svn-id: r8243 | |||
2003-06-01 | cleanup / added comments / code unification | Max Horn | |
svn-id: r8235 | |||
2003-05-31 | some setObjectName changes. I'd really like to switch V2-V5 to use ↵ | Max Horn | |
rtObjectName resources, too svn-id: r8171 | |||
2003-05-31 | cleanup | Max Horn | |
svn-id: r8169 | |||
2003-05-30 | some cheap doxygen docs; cleanup | Max Horn | |
svn-id: r8154 | |||
2003-05-30 | moved bomp stuff into own files; removed some of our 6 (!) bomp decoders | Max Horn | |
svn-id: r8151 | |||
2003-05-30 | cleanup | Max Horn | |
svn-id: r8145 | |||
2003-05-30 | work around nexus crash (only in old savegames?) | Max Horn | |
svn-id: r8123 | |||
2003-05-28 | const as const can! | Max Horn | |
svn-id: r8058 | |||
2003-05-26 | cleanup | Max Horn | |
svn-id: r8007 | |||
2003-05-24 | some more debug output | Max Horn | |
svn-id: r7888 | |||
2003-05-23 | replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵ | Max Horn | |
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859 | |||
2003-05-22 | not needed anymore since we read the preposition flag directly from the obcd ↵ | Max Horn | |
data again svn-id: r7830 | |||
2003-05-22 | restricted getObjectIndex to only search thru _objs, not _inventory(to avoid ↵ | Max Horn | |
future confusion), this might cause regressions, though; fixed o2_getObjPreposition; adapted some code to the changed getObjectIndex svn-id: r7829 | |||
2003-05-21 | many pedantic warning fixes (and some actual potential buglets fixed, too) | Max Horn | |
svn-id: r7795 | |||
2003-05-20 | added enum's for the known actor/object claasses; extended putClass/getClass ↵ | Max Horn | |
to translate the X/Y flip classes; made code use the new enum's; some other cleanup svn-id: r7753 | |||
2003-05-20 | got rid of the evil locked-box hack in adjustXYToBeInBox; instead check for ↵ | Max Horn | |
locked boxes in walkActorOld, which seems to work just as well (and hopefully better) svn-id: r7750 | |||
2003-05-20 | renamed o2_matrixOps -> o2_setBoxFlags; V2 'objY' fixes; cleanup | Max Horn | |
svn-id: r7739 | |||
2003-05-19 | don't touch untouchable objects in V2 games | Max Horn | |
svn-id: r7664 | |||
2003-05-18 | cleanup | Max Horn | |
svn-id: r7646 | |||
2003-05-17 | fixed object walk_x/walk_y for V2 games | Max Horn | |
svn-id: r7591 | |||
2003-05-16 | added roomobj dumping for bundle games (was trivial it turns out :-) | Max Horn | |
svn-id: r7581 | |||
2003-05-15 | fixed the evil, evil COMI crash on Mac OS X (and memory corrupter elsewhere, ↵ | Max Horn | |
maybe?). The last part of this change is the crucial one, computing the correct value for right_strip svn-id: r7527 | |||
2003-05-15 | bounds check; made data static | Max Horn | |
svn-id: r7519 | |||
2003-05-13 | NUM_ACTORS -> _numActors (for consistency) | Max Horn | |
svn-id: r7489 | |||
2003-05-10 | fixed object drawing state handling for V2 games (this shouldn't cause any ↵ | Max Horn | |
regressions in newer games) svn-id: r7424 | |||
2003-05-10 | renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵ | Max Horn | |
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423 | |||
2003-05-10 | fixed script dumping for flobject script in V6/V7 games | Max Horn | |
svn-id: r7419 | |||
2003-05-10 | added a 'width' parameter to drawBitmap (contrary to 'numstrips', it ↵ | Max Horn | |
specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height' svn-id: r7412 | |||
2003-05-08 | init all VAR_* variables to 0xFF; replaced access to _vars in the form ↵ | Max Horn | |
_vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning svn-id: r7393 | |||
2003-05-04 | fixed roomobj dumping | Max Horn | |
svn-id: r7316 | |||
2003-05-01 | fixed regression in MonkeyVGA <sigh>. Aquadran, is the 16 right even for ↵ | Max Horn | |
GF_OLD_BUNDLE ? Or should it just always be 1? svn-id: r7252 |