Max Horn
a4ac437968
Yet another charset fix (should help bug #1008621 )
...
svn-id: r14634
2004-08-16 22:23:58 +00:00
Max Horn
b48c56875f
Fix potential OOB access
...
svn-id: r14630
2004-08-15 16:23:18 +00:00
Max Horn
784a786969
cleanup
...
svn-id: r14629
2004-08-15 16:07:30 +00:00
Max Horn
048c19ef70
Remove obsolete comment
...
svn-id: r14614
2004-08-14 20:02:40 +00:00
Max Horn
2deccf9949
Fix MI2 intro text colors
...
svn-id: r14613
2004-08-14 19:52:20 +00:00
Max Horn
152a5e97fe
Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
...
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
dfc04a7d23
Perform proper clipping (this fixes some graphic regressions in The Dig)
...
svn-id: r14547
2004-08-10 23:51:52 +00:00
Max Horn
835ef5f012
Patch #1003866 (SCUMM: New text rendering code (fixes various bugs))
...
svn-id: r14521
2004-08-08 22:10:38 +00:00
Max Horn
6772f1d358
Moved some code out into a separate function
...
svn-id: r14516
2004-08-08 13:24:41 +00:00
Max Horn
f697beafed
Cleanup; added ugly workaround for bug #901462
...
svn-id: r14490
2004-08-06 22:14:48 +00:00
Max Horn
8e8b93aec0
Tiny cleanup ;-)
...
svn-id: r14251
2004-07-18 17:08:00 +00:00
Travis Howell
372296e918
Fix actor palette in HE 7.0 games.
...
Use roompalette[] for all graphics decoders
svn-id: r14075
2004-06-27 10:54:31 +00:00
Jonathan Gray
cbf068b638
look for the newer BMAP blocks from later humongous games if we can't find an SMAP block
...
svn-id: r14060
2004-06-26 02:45:17 +00:00
Eugene Sandulenko
a7e85cab1a
oops. Forgot to remove debug output and rename resource type.
...
svn-id: r14004
2004-06-23 01:47:34 +00:00
Eugene Sandulenko
2e0814514c
HE 7.0 fixes
...
o Stub for o7_startSound
o graphics decoders
o findResource was moved to ScummEngine and extended
o 7.0+ titles use akos costumes, so fix that in launcher
o more o6_resourceRoutines stubs
Now HE 7.0 games (first 320x200 windows ports) show intros and some are
playable to some extent.
svn-id: r14003
2004-06-23 01:36:57 +00:00
Eugene Sandulenko
80216dc6d6
Rewrote 3DO graphics decoders to more C-like syntax.
...
svn-id: r13985
2004-06-20 20:54:18 +00:00
Torbjörn Andersson
3da9e2d21e
The "Fatty Bear's Birthday Surprise" demo didn't erase subtitles properly
...
during the black-and-white "Alfred Hitchcock Presents" style part of the
intro. I think this is the correct fix for it, but I could be wrong...
svn-id: r13958
2004-06-14 07:23:59 +00:00
Max Horn
333a2aaea8
Fix for bugs #929722 (MI2: Difficulty selection screen regression) and #930385 (Subtitles are not shown correctly) by changing restoreCharsetBg() to only restore the screen area which is actually masked by text
...
svn-id: r13508
2004-04-08 23:43:30 +00:00
Max Horn
71bbdbfae4
Removed CharsetRenderer::_mask (this was used to optimize charset mask handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others
...
svn-id: r13464
2004-04-04 20:20:09 +00:00
Max Horn
14378cb56e
Renamed more OSystem methods
...
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Travis Howell
e68e003777
Minor correction
...
svn-id: r13015
2004-02-24 04:51:02 +00:00
Eugene Sandulenko
4117781522
Graphics decoders for 3DO HE titles. Preliminary implementation, don't
...
blame me :) After testing I'll convert it to C.
svn-id: r13014
2004-02-24 04:45:50 +00:00
Torbjörn Andersson
d660faa231
Reverted patch #889552 . Kirben confirmed it was wrong for DOTT, and it was
...
causing regressions in FOA. See bug #884171 and #893500 for details.
svn-id: r12872
2004-02-14 10:43:55 +00:00
Max Horn
43efc8bed0
Patch #889552 : Possible fix for bug #884171
...
svn-id: r12718
2004-02-03 08:47:38 +00:00
Max Horn
f94373b570
this is not necessary anymore
...
svn-id: r12512
2004-01-19 18:57:06 +00:00
Travis Howell
335bf94d5f
Add back checks for invalid left/right values, fixes regressions for now.
...
svn-id: r12462
2004-01-18 02:31:53 +00:00
Max Horn
65bfcb71fe
oops
...
svn-id: r12265
2004-01-08 21:58:46 +00:00
Max Horn
84f4a13730
more cleanup
...
svn-id: r12264
2004-01-08 21:44:03 +00:00
Max Horn
04b002bbaa
move the charset mask to the charset renderer class; some other related changes
...
svn-id: r12263
2004-01-08 21:21:40 +00:00
Max Horn
6222d6e643
more cleanup
...
svn-id: r12234
2004-01-08 03:24:41 +00:00
Max Horn
d852e2855a
cleanup (make some more use of class Common::Rect)
...
svn-id: r12232
2004-01-08 03:10:16 +00:00
Max Horn
467861917d
various fixes for vertical scrolling rooms: fixed, screen updates (and made them more efficient), fixed transitionEffect() for 'high' rooms, documented drawStripToScreen() params a little (we really should start documenting for each function which takes coordinates in which coordinate system they are). Please test all vertical scrolling rooms (and others, too) for regressions
...
svn-id: r12228
2004-01-08 00:48:37 +00:00
Travis Howell
dd1eb2a4b4
Fix subtitles glitch when subtitles are shown during room scroll in pass.
...
svn-id: r12179
2004-01-06 13:28:19 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
2ecf66d561
get rid of VirtScreen::scrollable
...
svn-id: r12173
2004-01-06 12:16:28 +00:00
Max Horn
f5f357498f
just always call updateDirtyScreen(kTextVirtScreen) - it won't do any harm for games not using that virt screen, but fixes the Indy part of the PASS demo
...
svn-id: r12172
2004-01-06 12:08:35 +00:00
Max Horn
cc67301791
renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
...
svn-id: r12168
2004-01-06 11:47:34 +00:00
Max Horn
5a3aa023b6
'proper' fix for V1 MM problem; added a FIXME
...
svn-id: r12149
2004-01-05 00:45:17 +00:00
Max Horn
181bb0baa5
fix bug #870433 (DIG: Scrolling regression with the lander game)
...
svn-id: r12148
2004-01-05 00:03:18 +00:00
Max Horn
1081c789a2
cleanup
...
svn-id: r12139
2004-01-04 14:49:14 +00:00
Max Horn
2ce4d13c04
split out cursor/palette code into separate source files
...
svn-id: r12138
2004-01-04 14:35:46 +00:00
Max Horn
d16ac3e88f
turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp
...
svn-id: r12133
2004-01-04 13:49:03 +00:00
Max Horn
805f512452
replaced many instances of _screenWidth by VirtScreen::width, where approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling
...
svn-id: r12131
2004-01-04 13:09:02 +00:00
Max Horn
14cf65c0ab
uhm? I don't see why VC 2003 would complain about this, but not about the many equal instances of this code (which, BTW, is perfectly valid C...)
...
svn-id: r12130
2004-01-04 12:35:51 +00:00
Max Horn
1ac275e20b
I don't see why this would be needed (my guess is that the hack in initVirtScreen (to use _roomHeight) already covers this, and more)
...
svn-id: r12125
2004-01-04 01:20:26 +00:00
Max Horn
87abee70c1
remove this HACK workaround - I think I may have fixed the true cause (we'll see)
...
svn-id: r12124
2004-01-04 01:11:23 +00:00
Max Horn
bceb48f5e0
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
...
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
105895da46
cleanup
...
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
acc4aa0fc2
oops
...
svn-id: r12120
2004-01-03 21:29:17 +00:00