416 Commits

Author SHA1 Message Date
Jonathan Gray
1f7ebc70d8 add stub for a hev7 op
svn-id: r7593
2003-05-17 01:57:54 +00:00
Max Horn
4b82ea54cb output a warning if ignoreTurns is set (so that we can find out where it is used)
svn-id: r7551
2003-05-15 22:57:53 +00:00
Max Horn
f495c14d84 opcodes are just one byte
svn-id: r7513
2003-05-14 20:37:53 +00:00
Max Horn
eb22ea3b96 additional readArray protection (might cause regression in FT, but then we should fix FT!)
svn-id: r7512
2003-05-14 20:14:03 +00:00
Max Horn
86b916b762 V8 fix
svn-id: r7496
2003-05-14 10:14:05 +00:00
Max Horn
08f7ec192e NUM_ACTORS -> _numActors (for consistency)
svn-id: r7489
2003-05-13 23:42:41 +00:00
Max Horn
0ee0e7f634 cleanup
svn-id: r7488
2003-05-13 23:33:01 +00:00
Max Horn
81bfe8cd51 swapped talkPosX and talkPosY (they were misnamed); factored out some duplicate code in string.cpp; VC warning fix in smush_player.cpp
svn-id: r7481
2003-05-12 22:08:39 +00:00
Max Horn
5be0ce7adc work around some illegal var access' in COMI/V8 - there are more, but I am 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-10 22:35:12 +00:00
Max Horn
acb35fc915 renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _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 21:49:59 +00:00
Max Horn
98881c3a6a init all VAR_* variables to 0xFF; replaced access to _vars in the form _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-08 15:48:50 +00:00
Max Horn
b1145090f6 Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and #659158)
svn-id: r7384
2003-05-07 22:56:06 +00:00
Max Horn
93264aea78 oops, forget to remove hack I used to test this ;-)
svn-id: r7325
2003-05-04 18:28:32 +00:00
Max Horn
7d78ba39fb simplified code
svn-id: r7324
2003-05-04 18:27:55 +00:00
Marcus Comstedt
83db626520 GCC believes that if we cast a pointer to <type *>, then we are guaranteeing
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-05-04 17:21:31 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Max Horn
2d8fa42f44 renamed setCursorHotspot2 to setCursorHotspot; fixed (with a hack) cursor in Loom
svn-id: r7132
2003-04-26 13:28:34 +00:00
Jonathan Gray
90610fef1a opcode E0 DE is sound volume change
svn-id: r7073
2003-04-22 14:49:29 +00:00
Jonathan Gray
b3ac1bf20e fix setState for humongous games
svn-id: r7070
2003-04-22 00:09:07 +00:00
Jonathan Gray
5cc5af052f add readFile stub
svn-id: r7048
2003-04-21 00:44:46 +00:00
Jonathan Gray
7037ed3102 opcode bd is stopObjectCode in the humongous games
svn-id: r7047
2003-04-21 00:22:52 +00:00
James Brown
fe0fc72e57 Pedantic stats-boosting typo fix :)
svn-id: r7039
2003-04-20 17:11:13 +00:00
Jonathan Gray
4c6676d390 add opcode e4 stub that I meant to add some time ago
svn-id: r7028
2003-04-20 15:02:58 +00:00
Jonathan Gray
303a48dbbc case 131 of verbOps pops in the humongous games
svn-id: r7026
2003-04-20 11:17:22 +00:00
Nicolas Bacca
233ef12080 It's correct this time. Really. Trust me.
svn-id: r6950
2003-04-09 21:59:23 +00:00
Nicolas Bacca
d3d85bf003 Oops on previous fix
svn-id: r6921
2003-04-06 16:48:52 +00:00
Nicolas Bacca
9dba239af1 Alignment fix
svn-id: r6918
2003-04-06 12:57:25 +00:00
Paweł Kołodziejski
faf6ec087a correct to match dissassembly
svn-id: r6894
2003-04-01 20:56:27 +00:00
Paweł Kołodziejski
7ee96df673 fixed description centering in the FT and added hack for redraw descriptions in height while scrolling room
svn-id: r6890
2003-03-30 19:32:12 +00:00
Paweł Kołodziejski
6c9b798611 fixed cordinates in the Dig opcode 0xE1
svn-id: r6886
2003-03-30 12:34:36 +00:00
Paweł Kołodziejski
2d55c99997 corrected opcode 0xE1 in the dig (bug in the IDB)
svn-id: r6885
2003-03-30 11:04:11 +00:00
Max Horn
af2e2fff7a cleanup
svn-id: r6877
2003-03-28 23:08:36 +00:00
Paweł Kołodziejski
4cdfd9c2be added script opcode for dig minigame
svn-id: r6834
2003-03-18 20:32:01 +00:00
Paweł Kołodziejski
52bf93a8aa added input keys support for dig ingame
svn-id: r6833
2003-03-18 19:26:00 +00:00
Max Horn
0602882b18 cleanup
svn-id: r6832
2003-03-18 16:13:52 +00:00
Paweł Kołodziejski
d434b86ddb split waitForTimer func, update for smush,
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-17 12:32:46 +00:00
Paweł Kołodziejski
3526d1191c added opcode 17 to 16 in o6_kernelSetFunctions
svn-id: r6788
2003-03-09 15:35:19 +00:00
Paweł Kołodziejski
8e0db10bf2 hack for "%___" in translated strings
svn-id: r6787
2003-03-09 08:30:53 +00:00
Paweł Kołodziejski
fbc3876ccd fixed description in the dig
svn-id: r6775
2003-03-08 17:38:59 +00:00
Paweł Kołodziejski
e4b59860b4 added opcode 124 in kernelSetFunctions
svn-id: r6774
2003-03-08 14:42:59 +00:00
Max Horn
6316f83c93 new constant MF_FROZEN; fixed actor unfreeze code
svn-id: r6764
2003-03-08 02:06:56 +00:00
Max Horn
ade9c80333 typo
svn-id: r6754
2003-03-07 21:54:45 +00:00
Max Horn
7e86da474d tiny cleanup
svn-id: r6753
2003-03-07 21:51:30 +00:00
Max Horn
7ad611e710 replaced shuffleArray with a meaningful implementation, even if it differes from assembly
svn-id: r6752
2003-03-07 21:49:06 +00:00
Max Horn
7ec34ab1a9 refactored some stuff (and made readMAXS virtual, with V2/V3 code having own implementations); cleaned up V6 array shuffle code; made more Scumm member vars/methods protected
svn-id: r6751
2003-03-07 21:38:46 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Jonathan Gray
671f6221ec opcode 0xA7 is just o6_pop
svn-id: r6668
2003-03-02 22:27:32 +00:00
Paweł Kołodziejski
73fa5d7b3a increased range of palette to 255
svn-id: r6661
2003-03-02 13:44:08 +00:00
Paweł Kołodziejski
0ce6264d11 changed sub_FEE_78D2 func for scumm v7
svn-id: r6658
2003-03-02 12:35:27 +00:00