aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
AgeCommit message (Collapse)Author
2003-07-24cleanup: 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-07-16some commentsMax Horn
svn-id: r9052
2003-07-15factored out some duplicate code into a new method ↵Max Horn
translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?) svn-id: r9045
2003-07-14reduced duplicate codeMax Horn
svn-id: r9027
2003-07-14fix for bug #769744 (COMI: Trying to append to a nonexistant stream)Max Horn
svn-id: r9025
2003-07-13debug/warning/error all automatically output a newlineMax Horn
svn-id: r8991
2003-06-16Comitted the partial (but seemintly good enough) actorHit implementationTorbjörn Andersson
from patch #754895. Ship-to-ship combat is still rather glitchy, but there are probably other reasons for that. svn-id: r8519
2003-06-15made stuff in class Sound protected where possible; moved ↵Max Horn
readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little) svn-id: r8493
2003-06-09don't incorrectly treat SO_PRINT_WRAP like SO_PRINT_MUMBLE; rather just ↵Max Horn
ignore it svn-id: r8406
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-02use enqueueText for FT, tooMax Horn
svn-id: r8284
2003-06-02moved blast text code to string.cppMax Horn
svn-id: r8282
2003-06-02cleaned up the restart/pause/shutdown situation a bit; added comment that ↵Max Horn
explains how restart might be implemented svn-id: r8260
2003-05-31cleanupMax Horn
svn-id: r8194
2003-05-31cleanupMax Horn
svn-id: r8193
2003-05-31apply V6 elevation change to V8, tooMax Horn
svn-id: r8186
2003-05-31renamed walk_script/talk_script -> walkScript/talkScriptMax Horn
svn-id: r8178
2003-05-30rewrote Actor::needBgReset related code (this could cause regressions...)Max Horn
svn-id: r8126
2003-05-28cleanup; added hackish fix for bug #744441Max Horn
svn-id: r8048
2003-05-27fixed o8_getStringWidth (should fix bug #741625)Max Horn
svn-id: r8035
2003-05-26added FIXME commentMax Horn
svn-id: r8026
2003-05-23cleanupTorbjörn Andersson
svn-id: r7866
2003-05-23replaced 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-22renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrameMax Horn
svn-id: r7819
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795
2003-05-21make fingolfin happy :)Jonathan Gray
svn-id: r7777
2003-05-21don't error out here to prevent a crash, is the check in softUserputon ↵Jonathan Gray
actually valid here? svn-id: r7771
2003-05-20added 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-18warning() automatically outputs a newline after the warning message; adding ↵Max Horn
a newline into the format string adds another newline (which contains the single char '!') svn-id: r7647
2003-05-18cleanupMax Horn
svn-id: r7646
2003-05-15output a warning if ignoreTurns is set (so that we can find out where it is ↵Max Horn
used) svn-id: r7551
2003-05-15Make use of ScummVM::RectMax Horn
svn-id: r7546
2003-05-14opcodes are just one byteMax Horn
svn-id: r7513
2003-05-14added opcode 0xf7 (getActorZPlane)Max Horn
svn-id: r7497
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489
2003-05-12swapped talkPosX and talkPosY (they were misnamed); factored out some ↵Max Horn
duplicate code in string.cpp; VC warning fix in smush_player.cpp svn-id: r7481
2003-05-10renamed _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-08init 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-04-27drop shadow cleanupMax Horn
svn-id: r7163
2003-04-26renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in ↵Max Horn
Loom svn-id: r7132
2003-04-07Patch #712493: CMI: Object lineMax Horn
svn-id: r6930
2003-03-30obsolete TODOsMax Horn
svn-id: r6887
2003-03-28some comments on actorHitMax Horn
svn-id: r6878
2003-03-23Patch #708384: Off-by-one bug which causes inventory problems in COMIMax Horn
svn-id: r6852
2003-03-17split waitForTimer func, update for smush,Paweł Kołodziejski
btw, switching scalers while playing smush movies doesn't work or at least SDL backend, it hang on SDL_SetVideo func svn-id: r6818
2003-03-15patch #704237 SO_ROOM_NEW_PALETTE implementation which fixes at least the ↵Jonathan Gray
banjo and crypt scenes svn-id: r6814
2003-03-13Patch #686427: SO_ROOM_SATURATION implementationMax Horn
svn-id: r6810
2003-03-08new constant MF_FROZEN; fixed actor unfreeze codeMax Horn
svn-id: r6764
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718