aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
AgeCommit message (Collapse)Author
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-14moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for ↵Max Horn
access of the actor position svn-id: r10253
2003-09-11no need to manually call update_screen after a warp_mouse - if the backend ↵Max Horn
needs to do a redraw in order to move the mouse, then it's the responsibility of the backend to ensure that it gets one svn-id: r10186
2003-09-11cleanupMax Horn
svn-id: r10179
2003-09-11cleanupMax Horn
svn-id: r10169
2003-09-09cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 ↵Max Horn
(COMI: Lockup/crash on Skull Island) svn-id: r10144
2003-09-03Implement the ACTOR_PAN opcode. The only place I know of where it's used isTorbjörn Andersson
between between ship-to-ship combats, so I didn't bother yet to store it in savegames. svn-id: r9988
2003-08-14changed warning into debug in o8_startVideo funcPaweł Kołodziejski
svn-id: r9691
2003-08-05removed obsolete FIXMEMax Horn
svn-id: r9488
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