Travis Howell
a820400f8c
Replace warnings with debug, errors or printfs:
...
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs
svn-id: r18681
2005-08-14 01:41:52 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Gregory Montoir
04eba089f6
fix compilation with DISABLE_SCUMM_7_8 defined
...
svn-id: r18409
2005-06-18 15:44:40 +00:00
Max Horn
b03de44db4
Handle newlines in blast text (fixes last remaining part of bug #902415 )
...
svn-id: r18408
2005-06-17 20:23:12 +00:00
Max Horn
feac08c9f7
Fix for bug #1064658 (FM-TOWNS (Loom, Zak, Indy3): Dialog text shading incorrect)
...
svn-id: r18343
2005-06-04 16:10:39 +00:00
Max Horn
97f03369ec
Take the font height from the charset header for V3 fonts, too; determine the number of chars for V4/V5 fonts, too
...
svn-id: r18266
2005-05-26 16:38:02 +00:00
Max Horn
983d6d71b8
Added CharsetRenderer::getCharHeight()
...
svn-id: r18260
2005-05-26 12:26:03 +00:00
Eugene Sandulenko
d00c990808
Fix charsets in MM NES after gameload.
...
svn-id: r18196
2005-05-20 22:49:09 +00:00
Max Horn
fb11e79387
Replaced global revBitMask array with a macro
...
svn-id: r18104
2005-05-15 10:40:28 +00:00
Travis Howell
93be3e16d8
Add configure option to disable HE 70+ games.
...
svn-id: r18091
2005-05-14 14:06:37 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Travis Howell
88dfc9891e
decompressWizImage shouldn't be called directly by charset renderer in HE games.
...
Fix palette issues with charset type 0 in HE games
svn-id: r17774
2005-04-23 14:32:40 +00:00
Max Horn
c46ea8bc40
Replaced the platform specific GF_FOO switches (using _platform instead now)
...
svn-id: r17716
2005-04-20 18:21:30 +00:00
Max Horn
871e278f8b
Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
...
svn-id: r17508
2005-04-10 12:59:17 +00:00
Eugene Sandulenko
582c56c236
Do not hardcode character translation tables and verbs prepositions
...
in MM NES but extract it directly from ROM. Patch from Quietust
svn-id: r17505
2005-04-10 09:58:37 +00:00
Torbjörn Andersson
23e4199699
Clear the text surface when loading a saved game, otherwise any text that
...
was displayed before loading the game will remain.
I hope this is the correct fix.
svn-id: r17382
2005-04-05 07:53:46 +00:00
Max Horn
47ee0ce884
Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new method Gdi::roomChanged(); some more cleanup
...
svn-id: r17226
2005-03-25 01:52:20 +00:00
Max Horn
c86b18716b
Started some cleanup work on class Gdi (in particular, I try to limit that class to GFX decoding only, and moved the screen rendering code out of it)
...
svn-id: r17225
2005-03-25 01:27:28 +00:00
Eugene Sandulenko
166e009061
First attempt to position NES graphics correctly on screen. Still verbs
...
are at wrong places.
svn-id: r17217
2005-03-24 04:53:28 +00:00
Eugene Sandulenko
9ab0962f6d
Lots of MM NES changes from Quietust and me
...
o Swap palette entries 0x00 and 0x1D in all necessary places. This gets
rid of gray background
o added a function NES_loadCostumeSet(int n) in order to do #1 for sprites
o Widen screen to 256 pixels and center narrow rooms in it
o Partial fix for subtitle rendering, now at least first line is
rendered with identation
svn-id: r17212
2005-03-24 03:22:32 +00:00
Eugene Sandulenko
e2f33c69ab
Fix MM NES text rendering so old messages are cleared up correctly.
...
svn-id: r17202
2005-03-23 04:22:11 +00:00
Eugene Sandulenko
0bcb0ac257
Many MM NES fixes/improvements from Quietust:
...
o Doesn't crash when going upstairs. Now game is playable up to
the green tentacle
o Proper subtitles colors
o Room mask is decoded but doesn't affect sprites yet
o Inventory draw issues fixed
o Fix actors position when they're facing right
svn-id: r17191
2005-03-21 23:51:48 +00:00
Eugene Sandulenko
1febad7cc5
First attempt to fix charset colors.
...
svn-id: r17165
2005-03-16 03:40:25 +00:00
Eugene Sandulenko
f86768fee8
Preliminary support for NES charsets. Colors are wrong and we get glitches
...
caused by too narrow screen. Also text clearing doesn't work.
svn-id: r17164
2005-03-16 03:20:32 +00:00
Eugene Sandulenko
50f6eb740c
Distinguish between green and amber hercules. Now specify it via hercGreen
...
and hercAmber. Updated documentation accordingly.
svn-id: r16975
2005-03-02 21:46:51 +00:00
Eugene Sandulenko
27469a1896
Patch #1121337 (CGA rendering in early LEC titles).
...
Differences against patch:
o Updated documentation
o Fixed text colors
o Implemented Hercules dithering
Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.
TODO:
Proper ditherers for zak & MM
EGA ditherers for VGA SCUMM v5 games
svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
da874257a5
to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
...
svn-id: r16132
2004-12-19 12:30:40 +00:00
Gregory Montoir
5e351b0c31
moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
...
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
b60febe8a8
Patch #1048283 (Improved CJK / FM-TOWNS support & some documention)
...
svn-id: r15671
2004-10-23 23:08:53 +00:00
Torbjörn Andersson
5f7f3dc0d2
Whitespace
...
svn-id: r15647
2004-10-22 10:25:56 +00:00
Max Horn
a904bfc9cf
This makes no sense here...
...
svn-id: r15481
2004-10-09 00:33:35 +00:00
Travis Howell
270de2a503
Ooops
...
svn-id: r15425
2004-10-06 01:01:44 +00:00
Travis Howell
23ae8207de
Better clipping code.
...
svn-id: r15424
2004-10-05 23:37:59 +00:00
Travis Howell
3ea5ebce0e
thinkerk works now.
...
svn-id: r15421
2004-10-05 14:40:22 +00:00
Travis Howell
29e0bbb13f
Allow color adjustment when decompressing wizImages.
...
svn-id: r15419
2004-10-05 09:39:39 +00:00
Travis Howell
56ae86ef4f
HE71+ games use wizImages for charset too.
...
svn-id: r15417
2004-10-05 05:52:48 +00:00
Max Horn
763eae3f70
Fixed text rendering in vertical scrolling rooms in COMI (I hope), fixes bug #1036707 (COMI: Subtitles positioned incorrect)
...
svn-id: r15367
2004-10-01 09:06:12 +00:00
Max Horn
468758fa6c
Use FM-TOWNS consistently
...
svn-id: r15345
2004-09-29 09:47:38 +00:00
Max Horn
f2f27634c2
Check for negative width/height
...
svn-id: r15340
2004-09-29 00:04:38 +00:00
Max Horn
d3444e3ba1
Perform some more clipping -- yet another attempt at bug #1033857 :-)
...
svn-id: r15308
2004-09-27 20:42:10 +00:00
Max Horn
f3fe01fa67
Text clipping in charset renderer was broken in some cases, fixed (this might help bug #1033857 )
...
svn-id: r15298
2004-09-26 16:53:51 +00:00
Max Horn
bad5721c63
Fix charset text in V7_SMOOTH_SCROLLING_HACK mode
...
svn-id: r15257
2004-09-24 22:30:51 +00:00
Max Horn
faf42c2858
Moved some init code around (hopefully this'll help PalmOS)
...
svn-id: r15209
2004-09-20 22:04:06 +00:00
Max Horn
768133d6e6
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
...
svn-id: r15175
2004-09-18 22:42:45 +00:00
Travis Howell
0ab96ee6c8
Move function as requested.
...
svn-id: r14844
2004-08-31 07:40:28 +00:00
Travis Howell
93584bcdc3
Add HE version 80 to avoid additional game ids
...
svn-id: r14843
2004-08-31 07:32:53 +00:00
Travis Howell
e0bb88b91c
Add some WIP code for HE games.
...
Add some music adjustments
svn-id: r14839
2004-08-30 11:52:33 +00:00