aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
AgeCommit message (Collapse)Author
2003-05-26workaround for bug #743363Max Horn
svn-id: r7980
2003-05-25brutally remove all o6_kernelSetFunctions subop stubs - we need to find out ↵Max Horn
the places where they are actually called, and with how many params, if we ever want to implement them svn-id: r7937
2003-05-25workaround bug #742979Max Horn
svn-id: r7933
2003-05-24work around for comi script calling o6_getActorRoom(255)Max Horn
svn-id: r7912
2003-05-24cleanupMax Horn
svn-id: r7892
2003-05-24corrected FIXMEMax Horn
svn-id: r7891
2003-05-24temporary work around for bug #742676 (game won't exit anymore, but ↵Max Horn
behaviour is incorrect) svn-id: r7889
2003-05-23some more derefActorSafe -> derefActor changes; found out why in COMI ↵Max Horn
o6_getActorRoom is called with param 0 svn-id: r7860
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-23Revamped iMuse and Player classes. Player now uses MidiParser to parse its ↵Jamieson Christian
data, which will allow it to parse other MIDI formats. To receive parsed data, Player now derives from MidiDriver to act as a "fake MIDI driver". Miscellaneous upgrades and fixes to MidiParser, including the Smart Jump (which could not be tested before iMuse started making use of the MidiParser). *** THIS IS A BIG UPGRADE! EXTENSIVE REGRESSION TESTING IS NEEDED! *** This has been tested through the intros and a number of other scenes from MI2, FOA and S&M. NOTE! This upgrade introduces savegame format version V19. Earlier version savegames will load, but the music will simply start over from the beginning. Only V19 and later games will properly restore the position of the music! Don't say you weren't warned.... svn-id: r7849
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-20cleanupMax Horn
svn-id: r7756
2003-05-20renamed various things for clarityMax Horn
svn-id: r7754
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-19Fixed VC++ warningsJamieson Christian
svn-id: r7690
2003-05-19sync local changes, fix pickOneOfJonathan Gray
svn-id: r7668
2003-05-18cleanupMax Horn
svn-id: r7646
2003-05-17add stub for a hev7 opJonathan Gray
svn-id: r7593
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-14opcodes are just one byteMax Horn
svn-id: r7513
2003-05-14additional readArray protection (might cause regression in FT, but then we ↵Max Horn
should fix FT!) svn-id: r7512
2003-05-14V8 fixMax Horn
svn-id: r7496
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489
2003-05-13cleanupMax Horn
svn-id: r7488
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-10work around some illegal var access' in COMI/V8 - there are more, but I am ↵Max Horn
not always sure if avoiding the access is the proper fix; maybe in some cases we should just define that var for V8 to the proper value? svn-id: r7425
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-05-07Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and ↵Max Horn
#659158) svn-id: r7384
2003-05-04oops, forget to remove hack I used to test this ;-)Max Horn
svn-id: r7325
2003-05-04simplified codeMax Horn
svn-id: r7324
2003-05-04GCC believes that if we cast a pointer to <type *>, then we are guaranteeingMarcus Comstedt
that the pointer has proper alignment for <type>, and that it can replace the memcpy() with a direct assignment. This totally defies the purpose of the memcpy(), which is there precisely because the memory is unaligned. Avoid problems by not making the cast. svn-id: r7322
2003-04-30PalmOS changesMax Horn
svn-id: r7224
2003-04-26renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in ↵Max Horn
Loom svn-id: r7132
2003-04-22opcode E0 DE is sound volume changeJonathan Gray
svn-id: r7073
2003-04-22fix setState for humongous gamesJonathan Gray
svn-id: r7070
2003-04-21add readFile stubJonathan Gray
svn-id: r7048
2003-04-21opcode bd is stopObjectCode in the humongous gamesJonathan Gray
svn-id: r7047
2003-04-20Pedantic stats-boosting typo fix :)James Brown
svn-id: r7039
2003-04-20add opcode e4 stub that I meant to add some time agoJonathan Gray
svn-id: r7028
2003-04-20case 131 of verbOps pops in the humongous gamesJonathan Gray
svn-id: r7026
2003-04-09It's correct this time. Really. Trust me.Nicolas Bacca
svn-id: r6950
2003-04-06Oops on previous fixNicolas Bacca
svn-id: r6921
2003-04-06Alignment fixNicolas Bacca
svn-id: r6918
2003-04-01correct to match dissassemblyPaweł Kołodziejski
svn-id: r6894
2003-03-30fixed description centering in the FT and added hack for redraw descriptions ↵Paweł Kołodziejski
in height while scrolling room svn-id: r6890
2003-03-30fixed cordinates in the Dig opcode 0xE1Paweł Kołodziejski
svn-id: r6886
2003-03-30corrected opcode 0xE1 in the dig (bug in the IDB)Paweł Kołodziejski
svn-id: r6885
2003-03-28cleanupMax Horn
svn-id: r6877