183 Commits

Author SHA1 Message Date
Max Horn
e1652fedea hackish partial doSentence support
svn-id: r7560
2003-05-16 01:56:06 +00:00
Max Horn
9018be6cb3 moved drawBox to gfx.cpp (seems to be the more logical location)
svn-id: r7554
2003-05-15 23:50:16 +00:00
Max Horn
27c093a3a6 fixed / cleaned up drawBox
svn-id: r7553
2003-05-15 23:44:46 +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
4d7f7a8c80 yet more v2 var fixes
svn-id: r7397
2003-05-08 21:14:21 +00:00
Max Horn
0461222181 fixed various cases of bad var access
svn-id: r7394
2003-05-08 15:58:30 +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
6ab104cc3c some V2 fixes (we really really need to revise the _vars handling!)
svn-id: r7392
2003-05-08 14:32:25 +00:00
Max Horn
fa0df19a1d cleanup / reduced code duplication
svn-id: r7339
2003-05-05 09:19:15 +00:00
Max Horn
245c55629d cleanup
svn-id: r7313
2003-05-04 12:02:37 +00:00
Jonathan Gray
8f4222fd1b correction
svn-id: r7312
2003-05-04 11:21:13 +00:00
Jonathan Gray
e61f2dfd74 don't know why this was removed but it breaks several games making it for all non v2 games
svn-id: r7311
2003-05-04 07:34:54 +00:00
Max Horn
aa74ea1d5c yet more v2 fixes & cleanup
svn-id: r7302
2003-05-04 02:27:22 +00:00
Max Horn
488d5fe351 more v2 fixes; cleanup
svn-id: r7301
2003-05-04 02:10:49 +00:00
Max Horn
2b74abd2c9 PalmOS changes
svn-id: r7224
2003-04-30 13:23:31 +00:00
Max Horn
f99f7f3d50 hack to get Indydemo to work
svn-id: r7183
2003-04-28 16:57:53 +00:00
Jonathan Gray
7529493778 get rid of one of the obscure variable names
svn-id: r7171
2003-04-28 03:13:49 +00:00
Paweł Kołodziejski
33c600dde5 and more share code
svn-id: r7150
2003-04-27 09:39:52 +00:00
Paweł Kołodziejski
caf6d74095 put some v2 code into share code
svn-id: r7148
2003-04-27 07:52:26 +00:00
Paweł Kołodziejski
6bd3454ae5 update for scumm v2
svn-id: r7137
2003-04-26 16:37:35 +00:00
Travis Howell
3ecd142d6c Add patch #727309 - EGA LOOM: Bypassing the copy protection
svn-id: r7102
2003-04-25 09:16:33 +00:00
Jonathan Gray
5707a4e4bc better safe then sorry...
svn-id: r7098
2003-04-24 23:56:47 +00:00
Jonathan Gray
2ba6881a10 correction
svn-id: r7095
2003-04-24 15:59:41 +00:00
Jonathan Gray
8e06d3a23a bypass copy prot for indy3ega
svn-id: r7090
2003-04-24 00:44:34 +00:00
Max Horn
80c73e2cc9 fixed verb scripts for old bundle games
svn-id: r7089
2003-04-23 23:46:03 +00:00
James Brown
47114e1da2 V2 only reads one byte for variable number
svn-id: r7036
2003-04-20 16:46:55 +00:00
Jonathan Gray
90dd401eab work around strange problem that breaks fbpack when _showStack is a bool...
svn-id: r7027
2003-04-20 14:28:25 +00:00
Jonathan Gray
f1353701f8 add stack tracing option to debugger
svn-id: r7025
2003-04-20 08:04:27 +00:00
Jonathan Gray
c597d0d4d6 add script hex dumping option to debugger
svn-id: r7024
2003-04-20 06:55:09 +00:00
Paweł Kołodziejski
d0e9fef9a2 some changes for indy ega
svn-id: r7019
2003-04-18 21:10:32 +00:00
Paweł Kołodziejski
e0d170faca handle old_bundle offsets getVerbEntrypoint(), o5_setObjectName(), getObjOrActorName() funcs
svn-id: r7003
2003-04-13 16:42:33 +00:00
Jonathan Gray
c3ea143e34 hard to look at dial a pirate when you don't have graphics
svn-id: r6951
2003-04-10 06:18:23 +00:00
Paweł Kołodziejski
8a619598e9 also Loom exception in the read/write var funcs
svn-id: r6920
2003-04-06 16:02:08 +00:00
Paweł Kołodziejski
aa4898984a corrected right/bottom borders while clipping at drawBox() func
svn-id: r6919
2003-04-06 14:11:37 +00:00
Max Horn
0d18caae26 removed valgrind hack again
svn-id: r6765
2003-03-08 03:52:37 +00:00
Max Horn
b484c7a6bc added some code to get better valgrind results
svn-id: r6758
2003-03-07 23:49:59 +00:00
Max Horn
5537fc3df3 ouch - fixed OOB access on _baseFLObject; also added various sanity checks (thx valgrind)
svn-id: r6732
2003-03-07 02:42:39 +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
Max Horn
a6cbfebf6d removed an obsolete member var, and started to make Scumm member vars protected (had to make some exception; the code which makes these exceptions necessary should be revised)
svn-id: r6589
2003-02-06 21:32:20 +00:00
James Brown
631f0e5d4b ComI uses more locals
svn-id: r6470
2003-01-15 15:49:44 +00:00
James Brown
bd9f9405cd Well.. it works NOW. (flObject fix part 2 :P)
svn-id: r6422
2003-01-12 10:22:07 +00:00
James Brown
daa5397e02 Small fix - _numLocalObjects is a 1-based array, so don't go reading bad memory :P
svn-id: r6417
2003-01-12 08:32:44 +00:00
James Brown
ef9a8d0714 New method of local object management. Buggy, segfaults on the Part 1 screen and I don't know why yet..
svn-id: r6416
2003-01-12 07:30:17 +00:00
Max Horn
ee5c452dee make script trace less noisy
svn-id: r6408
2003-01-12 01:01:20 +00:00
Max Horn
535ad0a4cf moved Scumm::faceActorToObj to Actor::faceToObject; moved various functions in script.cpp (grouping cutscene/override related stuff)
svn-id: r6317
2003-01-01 18:22:41 +00:00
Max Horn
53a8fc24fe fixed cutscene override in V8; cleanup
svn-id: r6316
2003-01-01 17:57:14 +00:00
Max Horn
5c6bd0f658 added FIXME
svn-id: r6271
2002-12-30 02:11:33 +00:00
Max Horn
69a44051d9 get rid of annoying warning
svn-id: r6267
2002-12-30 01:25:51 +00:00
Max Horn
ae5b30df3d get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
2002-12-28 01:57:19 +00:00