Max Horn
8fbc3ed31b
proper fix for the small regression caused by my COMI fix last night; this also fixes bug #766382
...
svn-id: r9047
2003-07-15 22:21:30 +00:00
Max Horn
c74e2eb4d7
factored out some duplicate code into a new method translateTextAndPlaySpeech; removed some completely useless code (why compute 'pointer' when we then throw away the result?)
...
svn-id: r9045
2003-07-15 21:30:53 +00:00
Max Horn
bb87787314
fix for bug #769744 (COMI: Trying to append to a nonexistant stream)
...
svn-id: r9025
2003-07-14 21:37:45 +00:00
Max Horn
27a1d8ab7b
fix for bug #770344 (INDY3EGA: Amiga - Biff's name not shown in fight); this fix is not only needed for IndyEGA, but also for Loom (according to disassembly; I am guessing that it might be needed for all 'V3' (in our internal notation) games, but that remains to be verified
...
svn-id: r8994
2003-07-13 20:03:18 +00:00
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Jonathan Gray
ee62678369
revert change made in rev 1.140 fixes bug 766109
...
svn-id: r8942
2003-07-12 12:23:43 +00:00
Max Horn
33c5c72e4c
_talkChannel can legally be 0, too
...
svn-id: r8696
2003-07-02 00:38:17 +00:00
Max Horn
b23b9ee7b3
hm... this code for initCharset makes more sense, and also seems to match disassembly
...
svn-id: r8658
2003-06-26 15:48:12 +00:00
Torbjörn Andersson
54453b64bf
Format string/argument mismatch fix.
...
svn-id: r8464
2003-06-14 08:58:56 +00:00
Max Horn
5054e10573
this camera movement check seems to be new in V4 (or even V5 ?)
...
svn-id: r8451
2003-06-12 18:18:58 +00:00
Torbjörn Andersson
c2ef3a1afb
CHARSET_1() should only care about talk sound effects, not ordinary ones,
...
when deciding whether or not to call stopTalk(). Otherwise some looping
sound effects can keep an actor talking forever.
This should fix bug #645976 ("SAM: Sam talks forever inside BOTs diner")
svn-id: r8427
2003-06-10 06:41:16 +00:00
Max Horn
54e4ac9746
better (proper? hm...) code to deal with turning of subtitles in V7/V8 games
...
svn-id: r8407
2003-06-09 00:51:09 +00:00
Max Horn
18a4fc7df6
Fix for bug #746850 (this change was originally meant to 'fix' turning of subtitles in V7/8 games; however this is a totally wrong way to achieve that)
...
svn-id: r8405
2003-06-09 00:40:53 +00:00
Max Horn
cc41d96b77
cleanup
...
svn-id: r8404
2003-06-09 00:35:32 +00:00
Torbjörn Andersson
ab7f8b3378
Fixed recent regression (too many blast texts) in The Dig's end credits and
...
made the text scroll off the screen instead of just vanishing at the top.
(The latter also applies to Full Throttle's end credits.)
svn-id: r8402
2003-06-08 15:17:14 +00:00
Max Horn
49b9a8fc9d
follow our coding conventions
...
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
86df3537b9
replaced GF_AFTER with _version
...
svn-id: r8372
2003-06-07 00:13:26 +00:00
Max Horn
c7d87b8a67
fix for bug #749355
...
svn-id: r8320
2003-06-05 10:22:16 +00:00
Max Horn
6fd0e4a07f
Patch #747021 : DIG&CMI 2 byte charset support (very heavily modified by me; still needs more cleanup but already works well enough)
...
svn-id: r8293
2003-06-04 14:37:43 +00:00
Max Horn
3baff34226
use enqueueText for FT, too
...
svn-id: r8284
2003-06-02 23:54:52 +00:00
Max Horn
35f29951eb
moved blast text code to string.cpp
...
svn-id: r8282
2003-06-02 23:18:52 +00:00
Max Horn
393e749785
charset masking fixes, mostly for The Dig (hey I think I finally almost understand that part of the code :-)
...
svn-id: r8248
2003-06-01 17:29:45 +00:00
Max Horn
5202a59c63
some setObjectName changes. I'd really like to switch V2-V5 to use rtObjectName resources, too
...
svn-id: r8171
2003-05-31 12:17:58 +00:00
Max Horn
41ca372ef3
oops
...
svn-id: r8160
2003-05-30 23:32:02 +00:00
Max Horn
9b8f49e900
Use language index for The Dig, too
...
svn-id: r8159
2003-05-30 23:24:29 +00:00
Max Horn
3efdd3ad6b
continously opening and closing the language.bnd file is rather inefficient. It's about 400k, though...
...
svn-id: r8158
2003-05-30 22:57:19 +00:00
Max Horn
997f6564c6
removed debug output (checked that in by accident)
...
svn-id: r8127
2003-05-30 00:56:32 +00:00
Max Horn
06380e9ae9
cleanup; nasty fix for spanish/italian Dig (using encrypted language.bnd in a slightly different way than we previously supported)
...
svn-id: r8070
2003-05-28 23:37:04 +00:00
Max Horn
8eec984eb7
more const qualifiers
...
svn-id: r8002
2003-05-26 13:14:57 +00:00
Max Horn
95b33c422c
oops
...
svn-id: r7950
2003-05-25 12:40:53 +00:00
Jamieson Christian
19a01c3e84
Fixed VC++ warning
...
svn-id: r7947
2003-05-25 12:29:29 +00:00
Max Horn
d356ba4452
simplified addIntToStack a bit *cough*; added experimental code for the message opcode 7 in V2 codes (see also patch #742851 )
...
svn-id: r7917
2003-05-24 23:39:40 +00:00
Max Horn
4cda099c57
don't use _gameDataPath directly; minor cleanup
...
svn-id: r7907
2003-05-24 22:13:01 +00:00
Max Horn
c78664cbc9
renamed talkFrame1/talkFrame2 to talkStartFrame/talkStopFrame
...
svn-id: r7819
2003-05-22 09:58:33 +00:00
Max Horn
86d57f3c7a
many pedantic warning fixes (and some actual potential buglets fixed, too)
...
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
8a82e59065
constness fixes
...
svn-id: r7787
2003-05-21 16:28:02 +00:00
Max Horn
d50b070168
fix for bug #739661
...
svn-id: r7699
2003-05-19 20:09:30 +00:00
Max Horn
f4c7f37743
Make use of ScummVM::Rect
...
svn-id: r7546
2003-05-15 22:30:32 +00:00
Max Horn
d80f9e34e0
v2 text output tweak
...
svn-id: r7505
2003-05-14 13:50:28 +00:00
Max Horn
bc99915aa5
V2 text drawing
...
svn-id: r7502
2003-05-14 13:30:52 +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
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
b23e788b7d
unified Zak256 charset code with the rest; this *might* cause a regression should anywhere in Zak256 a charset > 1 be set; if so, tell me where exactly, and I can try to figure out a proper fix
...
svn-id: r7195
2003-04-29 10:26:35 +00:00
Max Horn
30ac620bd3
drop shadow cleanup
...
svn-id: r7163
2003-04-27 18:49:27 +00:00
Max Horn
732d457aac
Patch #728483 : EGA LOOM: More text-drawing hackery
...
svn-id: r7162
2003-04-27 18:30:35 +00:00
Max Horn
35955dd35a
Erik's fix for text output in Loom (and Indy3?)
...
svn-id: r7140
2003-04-26 16:51:03 +00:00
Jonathan Gray
da5467d4cf
script debug messages not just for comi
...
svn-id: r7074
2003-04-22 16:46:33 +00:00
Jonathan Gray
13ca8ea76c
make zak use correct charset
...
svn-id: r6945
2003-04-09 08:06:55 +00:00
Jonathan Gray
34eec5e80f
change some stuff back that didn't merge properly when I cvs up'd
...
svn-id: r6943
2003-04-08 22:22:55 +00:00