Commit Graph

290 Commits

Author SHA1 Message Date
Paweł Kołodziejski
cdb699fa43 separated comi/dig translation stuff
svn-id: r6801
2003-03-12 19:53:02 +00:00
Paweł Kołodziejski
4a5ffdd9a6 fixed descriptions in the dig
svn-id: r6776
2003-03-08 17:39:18 +00:00
Max Horn
c4a9aec083 possible fix for a valgrind issue
svn-id: r6759
2003-03-07 23:55:28 +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
James Brown
d054457496 Patch #682981: Experimental translation optimisation (version 2), and
#683384: Smush Regression Workaround

svn-id: r6607
2003-02-14 16:01:55 +00:00
Jonathan Gray
a3f0758bdd change translateText as per erik's patch, although if this is failing because the text is already translated we should probably be avoiding calling translateText multiple times for the same strings in the first place
svn-id: r6584
2003-02-03 15:38:54 +00:00
Paweł Kołodziejski
5ff4e98d75 increased buffer
svn-id: r6580
2003-01-31 07:15:53 +00:00
Paweł Kołodziejski
32b0ec7632 fix compatibility
svn-id: r6575
2003-01-30 09:01:07 +00:00
Paweł Kołodziejski
b9fe365102 added language translation support for comi and some cleanup
svn-id: r6574
2003-01-30 08:10:16 +00:00
James Brown
0a4a8af0f2 Add translate for the ComI map text
svn-id: r6478
2003-01-16 11:27:02 +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
Max Horn
7f15b5d08b more cleanup
svn-id: r6292
2002-12-31 14:59:06 +00:00
Max Horn
4cf27c6265 fixed indentation and a warning
svn-id: r6260
2002-12-29 19:51:27 +00:00
James Brown
b885b47269 Translate/say verbs added to converstion text.
N.B: We might be able to cut back on all these translateText calls if we just do it in addMessageToStack() period... thoughts?

svn-id: r6256
2002-12-29 17:46:12 +00:00
James Brown
c8de10cbc5 fix cutoff hack workaround
svn-id: r6245
2002-12-29 01:21:58 +00:00
James Brown
c13ba9ef64 revert
svn-id: r6233
2002-12-28 15:16:26 +00:00
Paweł Kołodziejski
5de3a31b80 fix compilation under VC6
svn-id: r6230
2002-12-28 14:58:16 +00:00
James Brown
1da5a28a51 Enable o8_printDebug() to the console
svn-id: r6225
2002-12-28 12:22:39 +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
38a3d115a1 added FIXME
svn-id: r6211
2002-12-27 23:18:06 +00:00
Max Horn
12cd4b36da cleanup
svn-id: r6206
2002-12-27 16:55:22 +00:00
Max Horn
21226d1fb0 verb ids can be > 255 in V8; more V8 verbop corrections
svn-id: r6204
2002-12-27 16:49:08 +00:00
Paweł Kołodziejski
2046fc8217 fixed compilation under VC6
svn-id: r6165
2002-12-26 02:13:19 +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
a782a22c4d seperated classic & old256 rendered (now subclasses of CharsetRenderer)
svn-id: r6152
2002-12-25 21:57:01 +00:00
Max Horn
748ac8fe37 more cleanup
svn-id: r6149
2002-12-25 21:42:22 +00:00
Max Horn
d808e4da1f cleanup
svn-id: r6148
2002-12-25 21:14:26 +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
fef84f3737 renamed Scumm::charset -> Scumm::_charset
svn-id: r6119
2002-12-25 12:01:04 +00:00
Max Horn
654ed3ff6c more V8 work
svn-id: r6074
2002-12-23 18:30:12 +00:00
Max Horn
cc5872924e renamed new_1, new_2, new_3 in class Actor
svn-id: r6069
2002-12-23 14:16:43 +00:00
Jonathan Gray
b78a518f04 remove old commented fixme, make turning off subtitles work in the scumm part of the dig, still needs to be done for smush
svn-id: r6053
2002-12-22 03:12:50 +00:00
Max Horn
060562c277 partial checkin of patch #655594 (handling Y/N questions); cleanup
svn-id: r6042
2002-12-21 12:34:17 +00:00
Max Horn
50f7ffbeb6 got rid of _curVirtScreen and VirtScreen::unk1; added some comments to gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default)
svn-id: r6037
2002-12-21 01:11:42 +00:00
Max Horn
4ca8f4cc48 cleanup
svn-id: r5921
2002-12-13 00:52:14 +00:00
Max Horn
8dd3d2ec29 more cleanup
svn-id: r5837
2002-12-04 21:46:05 +00:00
Max Horn
77a64e0217 more cleanup; fixes out of bound access to _charsetData (but I am not sure if that will be visible anywhere
svn-id: r5833
2002-12-04 15:00:35 +00:00
Max Horn
89335008e9 lots of cleanup to the graphics code; removed various global states (makes it easier to understand the code)
svn-id: r5831
2002-12-04 13:36:27 +00:00
Max Horn
a730f7f6df more cleanup
svn-id: r5752
2002-11-29 18:27:35 +00:00
Max Horn
72c672e14c cleanup
svn-id: r5747
2002-11-29 15:13:49 +00:00
Max Horn
1afdb5c4bf evil copy&paste (bug #644620)
svn-id: r5727
2002-11-27 14:45:58 +00:00
Max Horn
2edbe505cb cleanup
svn-id: r5718
2002-11-26 12:42:40 +00:00
Jonathan Gray
80f13e1973 add top arrow and indy3 to the inventory arrow fix. the spacing and text handling is pretty much identical by the way between indy3 and zak256. the intial code to make the text in both games readable included the original getSpacing I added in which the spacing was based on pixel comparisons of indy3. I see it has been refined somewhat since then :)
svn-id: r5641
2002-11-20 13:58:23 +00:00
Max Horn
ab80fbde9a partial fix for bug #613109
svn-id: r5639
2002-11-20 13:20:39 +00:00
Max Horn
5627fb7c0b cleanup
svn-id: r5622
2002-11-19 16:33:33 +00:00
Max Horn
f37e0fc763 compile fix
svn-id: r5439
2002-11-06 14:50:34 +00:00
Max Horn
39b60537c8 removed more typecasts
svn-id: r5438
2002-11-06 14:19:50 +00:00
Paweł Kołodziejski
788decd9d4 removed hardcoded value
svn-id: r5435
2002-11-06 08:19:25 +00:00
Jonathan Gray
ca785239c0 make addMessageToStack() less noisy by default
svn-id: r5412
2002-11-05 10:18:04 +00:00
Jonathan Gray
4598e15afd comment unkMessage2 game specific check
svn-id: r5411
2002-11-05 09:59:13 +00:00
Max Horn
2bf23dd112 restrict unkMessage2 implementation to MonkeyVGA for now
svn-id: r5395
2002-11-03 17:49:10 +00:00
James Brown
9b390fb9c1 Fix text positioning for the grail diary in Indy3
svn-id: r5394
2002-11-03 15:56:52 +00:00
Max Horn
ec343e07e4 patch #628574: Implementing unkMessage2
svn-id: r5334
2002-10-27 12:26:41 +00:00
Paweł Kołodziejski
9c09596802 removed hardcoded values
svn-id: r5328
2002-10-27 08:28:41 +00:00
Max Horn
52f544fbae TODO comment
svn-id: r5305
2002-10-24 21:39:45 +00:00
Max Horn
7a58ae782e cleaning up scummsys.h a bit (in preparation of using configure eventually). Most notable, uint32 etc. will be 'unsigned int' not 'unsigned long'. Except for 16 bit systems that should be right, and configure will replace this by a proper check for data type sizes anyway
svn-id: r5290
2002-10-23 14:02:46 +00:00
Paweł Kołodziejski
24510afc69 skiping translation if flag 'h' exist in language file
svn-id: r5274
2002-10-23 07:16:42 +00:00
Max Horn
22f1d049fb get rid of obsolete variable
svn-id: r5245
2002-10-22 13:04:39 +00:00
James Brown
abf1cf2f13 Patch 625079: Loom Audio Sync Hack
svn-id: r5200
2002-10-20 13:19:15 +00:00
Paweł Kołodziejski
45b1a8ea45 cleanup sfx and music in imuse, changed talkdelay description(disable) in the dig
svn-id: r5148
2002-10-15 06:53:42 +00:00
James Brown
69c7a8b572 Patch 622386: do_command(256) implementation, Sam and Max
svn-id: r5134
2002-10-13 05:39:26 +00:00
James Brown
4f8cd24b24 Fix text drawing for pre-v7 games
svn-id: r5100
2002-10-06 15:39:38 +00:00
James Brown
d19260af2c Fix drawDescString - still needs centering corrections
svn-id: r5094
2002-10-06 07:23:08 +00:00
Paweł Kołodziejski
9560ba224c fixed warnings :)
svn-id: r5092
2002-10-06 06:47:01 +00:00
James Brown
9612002d78 Full Throttle / The Dig fixes.
drawDescString (for Full Throttle object names, in the 'ring of fire') is
still somewhat broken. Feel free to fix ;)

svn-id: r5090
2002-10-06 06:09:32 +00:00
James Brown
aeaad5169e Patch 617937 / Bug 617939 + modifications: Fix FT text masking
svn-id: r5081
2002-10-03 07:38:03 +00:00
James Brown
ba06eab0ce Less specific version of eriktorbjorns FT dialog hack
svn-id: r5074
2002-10-02 17:23:19 +00:00
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +00:00
Max Horn
a681eb029e renamec string -> _string and sentence -> _sentence in class Scumm (I originally reworked StringTab, but then noticed the save game format depends on it <sigh>)
svn-id: r4995
2002-09-22 01:17:53 +00:00
Max Horn
e886ba64d2 yet more warning fixes
svn-id: r4992
2002-09-22 00:04:04 +00:00
Max Horn
6cfcd04682 trivial cleanup
svn-id: r4988
2002-09-21 16:20:52 +00:00
Max Horn
b91da0e29f Patch #612277: text rendering crash + spacing issue
svn-id: r4983
2002-09-20 23:40:55 +00:00
Max Horn
fcfc72296c based on my findings for guifont, I changed string.cpp to read the char width table for OLD256 games! yippi! some more code cleanup, and marked two struct values as 'to be removed when savegame format changes'
svn-id: r4978
2002-09-19 23:49:38 +00:00
Paweł Kołodziejski
b22489cf97 fixed for and added comments
svn-id: r4967
2002-09-18 18:48:54 +00:00
Paweł Kołodziejski
c61b824942 added support for nonenglish the dig(dialogs, descriptions, warnings), not gui yet
svn-id: r4959
2002-09-17 15:33:31 +00:00
Paweł Kołodziejski
ab2eb4d928 added framework for non-english version of the dig, not yet completed
svn-id: r4957
2002-09-17 09:18:47 +00:00
Max Horn
733825fd94 patch #609859: Some general patches for string.cpp
svn-id: r4954
2002-09-16 23:48:42 +00:00
James Brown
02f9056b4a 609791: Sam and Max 'phantom sound' (precaching) hack.
svn-id: r4947
2002-09-16 08:22:05 +00:00
Max Horn
ecdb98a0ee patch #608226 (Sam & Max sound fix)
svn-id: r4926
2002-09-13 11:59:43 +00:00
Travis Howell
004c6ddec9 Commited the following patches
[ 606595 ] Fix for Sam & Max animation glitch
[ 607175 ] Possible fix for bug #590511
[ 607677 ] Partial workaround for bug #566062
[ 607713 ] patch for bug 580350 (MI2 F5 crash)

svn-id: r4924
2002-09-11 13:28:34 +00:00
Paweł Kołodziejski
0559f7a6aa and more fixes
svn-id: r4889
2002-08-31 19:26:04 +00:00
Paweł Kołodziejski
c1cbba1d65 more fixes
svn-id: r4888
2002-08-31 18:57:08 +00:00
Paweł Kołodziejski
bb71d9e677 fixes
svn-id: r4887
2002-08-31 18:46:00 +00:00
Paweł Kołodziejski
6e751af6c0 changed resolution values from static to dynamic, I hope I don't break something
svn-id: r4885
2002-08-31 16:29:17 +00:00
Max Horn
8d3a3fc1d6 changed spacing - this is not based on the original game, but rather on visual observations (with this changed, the spacing in the about dialog looks much better)
svn-id: r4884
2002-08-31 15:00:44 +00:00
Max Horn
bc42d1a2e6 fixed text centering in GF_OLD256 games, e.g. during the Indy3 intro and in the F7 dialog (bug #599598)
svn-id: r4879
2002-08-31 13:49:06 +00:00
Max Horn
a39711e256 fixed compilation on Mac OS X; some cleanup; moved header file scumm/smusH/rect.h to common/rect.h
svn-id: r4877
2002-08-31 13:29:10 +00:00
Max Horn
41c2d6fba3 sound system cleanup
svn-id: r4867
2002-08-29 23:45:15 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00