aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
AgeCommit message (Collapse)Author
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
2003-03-18added script opcode for dig minigamePaweł Kołodziejski
svn-id: r6834
2003-03-18added input keys support for dig ingamePaweł Kołodziejski
svn-id: r6833
2003-03-18cleanupMax Horn
svn-id: r6832
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-09added opcode 17 to 16 in o6_kernelSetFunctionsPaweł Kołodziejski
svn-id: r6788
2003-03-09hack for "%___" in translated stringsPaweł Kołodziejski
svn-id: r6787
2003-03-08fixed description in the digPaweł Kołodziejski
svn-id: r6775
2003-03-08added opcode 124 in kernelSetFunctionsPaweł Kołodziejski
svn-id: r6774
2003-03-08new constant MF_FROZEN; fixed actor unfreeze codeMax Horn
svn-id: r6764
2003-03-07typoMax Horn
svn-id: r6754
2003-03-07tiny cleanupMax Horn
svn-id: r6753
2003-03-07replaced shuffleArray with a meaningful implementation, even if it differes ↵Max Horn
from assembly svn-id: r6752
2003-03-07refactored some stuff (and made readMAXS virtual, with V2/V3 code having own ↵Max Horn
implementations); cleaned up V6 array shuffle code; made more Scumm member vars/methods protected svn-id: r6751
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-06and more cleanupPaweł Kołodziejski
svn-id: r6718
2003-03-02opcode 0xA7 is just o6_popJonathan Gray
svn-id: r6668
2003-03-02increased range of palette to 255Paweł Kołodziejski
svn-id: r6661
2003-03-02changed sub_FEE_78D2 func for scumm v7Paweł Kołodziejski
svn-id: r6658
2003-02-24make sounds work in non puttdemo humongous gamesJonathan Gray
svn-id: r6637
2003-02-22improved o6_stampObject funcPaweł Kołodziejski
svn-id: r6635