146 Commits

Author SHA1 Message Date
Max Horn
5863805e2c more stuff made 'protected'
svn-id: r6592
2003-02-08 00:38:17 +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
Paweł Kołodziejski
86cbe86b86 increased buffer
svn-id: r6581
2003-02-02 12:50:56 +00:00
Jonathan Gray
80bd149156 add ability to specify language for comi see scummvm -h for possible values
svn-id: r6567
2003-01-29 08:07:10 +00:00
Jonathan Gray
988db178e6 oops.. meant to add this as well
svn-id: r6566
2003-01-29 04:38:55 +00:00
Jonathan Gray
8e9d8cff81 add list of possible languages in comi and relevant variable
svn-id: r6565
2003-01-29 04:16:14 +00:00
James Brown
d1eb2636f4 Patch 671031: Fix for MI1 intro crash + others (move new object
clearing code into a more generic function, and call it earlier)

svn-id: r6548
2003-01-26 10:57:01 +00:00
James Brown
5f7cd1c93d LCA'03 commit: Fix talking where no sound hardware is present
svn-id: r6536
2003-01-24 06:41:10 +00:00
Max Horn
1abc25817e increasing blast text limit for COMI end credits
svn-id: r6508
2003-01-19 03:25:59 +00:00
James Brown
4e07c1bb91 Patch 668634: Actor iteration fix
svn-id: r6484
2003-01-16 17:37:34 +00:00
James Brown
c24c1270f6 Some cleanup, implementation of setKeyScript (F1 now attempts to start the save/load menu, albiet fails due to a crash in BlastText)
svn-id: r6480
2003-01-16 12:47:34 +00:00
Max Horn
8ad002b3a3 first blastText version. this is work in progress (note that e.g. text is not clipped, and the extra information is not removed)
svn-id: r6472
2003-01-16 00:40:19 +00:00
James Brown
ec006a4357 localvar fix take 2. Note that ship-to-ship combat is still impossible (cannons dont work), but at least it doesnt crash now - you
can use the cheat (shift-v i think)

svn-id: r6471
2003-01-15 16:23:04 +00:00
James Brown
631f0e5d4b ComI uses more locals
svn-id: r6470
2003-01-15 15:49:44 +00:00
James Brown
4fde613432 Hack to make Part III start
svn-id: r6467
2003-01-15 13:29:00 +00:00
James Brown
5bf741f960 Patch 667613: Extend gfxUsageBits[]
svn-id: r6453
2003-01-14 10:06:56 +00:00
Max Horn
020a1c3e2d fixed COMI actor scaling, again
svn-id: r6443
2003-01-13 14:04:41 +00:00
Max Horn
eb9726c497 added V8 scaling code
svn-id: r6440
2003-01-13 01:29:45 +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
531e73418f our File class already makes sure we find stuff in the resource subdirectory. Plus, it handles different cases right. So now COMI works from CD on Mac OS X, too
svn-id: r6363
2003-01-08 23:41:27 +00:00
James Brown
9df455ce38 Plop in some better disk switching code for CMI - I have no idea how well this will work transitioning from a disk1 room to a disk2
room in-game, but it works for bootparams and saved games..

svn-id: r6322
2003-01-02 10:36:17 +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
805c460543 added yet another variable (for mouse-button-hold flags). Now the 'verb widget' shows up, though it is not erased properly
svn-id: r6304
2003-01-01 02:56:22 +00:00
Max Horn
a03b353dca implemented o8_getDateTime
svn-id: r6295
2002-12-31 17:28:51 +00:00
Max Horn
166ea5bcee get rid of DUMP_SCRIPTS; in its place, added run time option '-u' to enabled script dumping
svn-id: r6284
2002-12-31 02:09:57 +00:00
Max Horn
5f472bdcd0 cleanup
svn-id: r6263
2002-12-29 21:14:28 +00:00
Max Horn
ceac475714 cleanup
svn-id: r6262
2002-12-29 19:54:11 +00:00
James Brown
1a1bcc6695 fix compile
svn-id: r6251
2002-12-29 15:29:12 +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
Max Horn
8049e06258 fixed flobject loading in V8
svn-id: r6198
2002-12-27 14:36:28 +00:00
Ruediger Hanke
56b6b10301 Appending another slash breaks COMI on MorphOS and AmigaOS where a double-slash means parent directory ... a slash is already appended by the game detector if required
svn-id: r6192
2002-12-27 11:30:26 +00:00
James Brown
7a57023321 Fix cwd resource path bug for CMI
svn-id: r6191
2002-12-27 04:22:40 +00:00
Max Horn
e744697dbd quick fix for Endy's code - should be redone properly later
svn-id: r6186
2002-12-27 00:38:32 +00:00
James Brown
fd64fc2b6b Move some things around, to get rid of all these resource/ sprintf's for CMI
svn-id: r6182
2002-12-27 00:11:01 +00:00
Max Horn
ad7fefd34e map V8 talk opcodes to the right V6 opcodes; however, talking still locks up after the first sentence is uttered (looking into that now); various cleanup; added a guess at VAR_EGO (based on what cmidec says is the 'default_actor')
svn-id: r6176
2002-12-26 21:50:13 +00:00
Max Horn
966d435a19 fixed verb scripts
svn-id: r6175
2002-12-26 20:37:49 +00:00
Max Horn
7e7be4f6f3 32 bit variables storage
svn-id: r6161
2002-12-26 01:46:36 +00:00
James Brown
d8839f1be6 Don't go to the save/load screen
svn-id: r6157
2002-12-26 01:15:25 +00:00
Max Horn
48c66ba210 fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
2002-12-26 00:21:19 +00:00
Max Horn
748ac8fe37 more cleanup
svn-id: r6149
2002-12-25 21:42:22 +00:00
Max Horn
fca9ec09e7 moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
svn-id: r6147
2002-12-25 21:04:47 +00:00
Max Horn
9187172fe2 implemented V8 kernel function 'killAllScriptsButMe' - not sure if I did it right, though
svn-id: r6145
2002-12-25 20:29:40 +00:00
Paweł Kołodziejski
b64c9ebc2b changed name from _insaneFlag to _smushFrameRate
svn-id: r6136
2002-12-25 16:55:43 +00:00
Max Horn
004ea9f8eb converted heaps of int16 to int for V8 compatibility; fixed defineArray for V8; added some work in o8_kludge2
svn-id: r6132
2002-12-25 14:46:39 +00:00
James Brown
bda8d953a8 Clean up the hack. But it's still kinda a hack. Er. :)
svn-id: r6130
2002-12-25 14:31:17 +00:00
James Brown
c480833be7 Hacky font support - first attempt :)
svn-id: r6127
2002-12-25 13:51:01 +00:00
Max Horn
aa2a85de99 fixed bomp cursor in CMI partially - still seeing flickering/tearing/artifacts, though
svn-id: r6124
2002-12-25 12:41:41 +00:00
Max Horn
fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
James Brown
e1a416c031 Skeleton for hacky font support using Smush's FontRenderer. Doesn't work (uncomment the loadFont line in script_v8 to test).
Aquadran, where are you? :)

svn-id: r6114
2002-12-25 04:30:24 +00:00
Max Horn
1b0963dd76 added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
2002-12-25 03:48:27 +00:00