459 Commits

Author SHA1 Message Date
Max Horn
2872c312a9 Added some const qualifiers
svn-id: r15253
2004-09-24 21:35:37 +00:00
Max Horn
fbfa606e4f More V7_SMOOTH_SCROLLING_HACK related fixes
svn-id: r15250
2004-09-24 20:37:24 +00:00
Max Horn
4db6f8ffd4 More V7_SMOOTH_SCROLLING_HACK hackery
svn-id: r15247
2004-09-24 07:36:29 +00:00
Max Horn
05cb8627be Made dstPitch an explicit parameter, instead of (ab)using _screenWidth (important for 'smooth scrolling')
svn-id: r15236
2004-09-22 17:57:20 +00:00
Gregory Montoir
6e9ce1b17c fix freddemo intro glitches
svn-id: r15225
2004-09-21 20:21:31 +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
3b9bcb7745 Fix for bug #1031390 (FOA: Graphical corruption and possible crash in Atlantis Map)
svn-id: r15207
2004-09-20 19:58:07 +00:00
Max Horn
dfab30c012 Removed some stray spaces
svn-id: r15205
2004-09-20 19:32:26 +00:00
Gregory Montoir
0fad7a9538 cleanup / code re-use
svn-id: r15203
2004-09-20 18:27:13 +00:00
Travis Howell
046017aba6 Clean up.
svn-id: r15202
2004-09-20 13:41:36 +00:00
Max Horn
09444181ce Moved some code from Gdi::drawBitmap into a new method Gdi::getZPlanes; cleanup
svn-id: r15196
2004-09-19 21:14:51 +00:00
Gregory Montoir
c25ab75e92 fix broken WizImage display
svn-id: r15195
2004-09-19 20:51:38 +00:00
Max Horn
18be57a0d9 Cleanup, added some HE related TODO/FIXME comments (for consideration by the HE folks :-)
svn-id: r15194
2004-09-19 20:17:57 +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
Max Horn
c1913852df GFX codec cleanup: renamed some of the Gdi::unkDecode methods; simplified and/or cleaned up some of the codecs; added some relevant TODO/FIXME comments
svn-id: r15171
2004-09-18 21:40:07 +00:00
Gregory Montoir
af77554dc3 minor code simplification
svn-id: r15159
2004-09-18 06:29:07 +00:00
Gregory Montoir
22b2cfa002 preliminar AuxQueue support (freddemo intro), some glitches though
svn-id: r15149
2004-09-18 00:36:17 +00:00
Chris Apers
0a44ef3d3c PalmOS : ARM optimized DrawSTripToScreen function + disable dissolve(1,1)
svn-id: r15024
2004-09-12 10:49:29 +00:00
Travis Howell
9eb69ed03a Use screen width, not hard coded value.
svn-id: r14983
2004-09-09 13:54:32 +00:00
Eugene Sandulenko
3a4d9dc689 Fixed bug in DrawBMAPObject.
svn-id: r14932
2004-09-06 10:52:52 +00:00
Eugene Sandulenko
96ad0d9cb7 Added BMAP support in objects.
Though I didn't test it as I don't know when it is used. Please, tell me when
you'll see warning that it is called.
Now we have BMAP for all cases in HE 70+ games.

svn-id: r14911
2004-09-05 17:39:54 +00:00
Torbjörn Andersson
11a449a08c Fixed scrollEffect() regression introduced when move_screen() was removed.
I have tested this on all the cases I know of where scrollEffect() is used:

* The diving scene in Monkey Island 2
* The camel and balloon rides in Fate of Atlantis
* The arrival of the thunder storm in Day of the Tentacle
* Seeing the loose end in Sam & Max

So far it seems to work fine. Knock on wood.

svn-id: r14908
2004-09-05 15:44:29 +00:00
Gregory Montoir
c4065d0af9 code simplification
svn-id: r14905
2004-09-05 10:10:29 +00:00
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Gregory Montoir
54a84da97c preliminar Wiz images support (HE 72)
svn-id: r14875
2004-09-03 17:27:40 +00:00
Travis Howell
b556b277fc Update debug code
svn-id: r14858
2004-09-01 12:10:41 +00:00
Travis Howell
704ad7f63b Correct resource value, to match original.
Adjust rtLast

svn-id: r14833
2004-08-30 00:10:36 +00:00
Travis Howell
8e2e48e40c Add some stubs for HE 7.2
Fix warning
Add music support for later HE 7.2 games

svn-id: r14761
2004-08-26 06:08:41 +00:00
Eugene Sandulenko
68d35856c0 Fix bugs in decompressBMAPbg. It appeared to be similiar to
decodestripHE. Now it works.

svn-id: r14760
2004-08-26 03:21:33 +00:00
Eugene Sandulenko
70dbcaf9da Added initial support for BMAP resources of HE 7.2 games. Doesn't work
correctly yet.

svn-id: r14759
2004-08-26 02:47:49 +00:00
Travis Howell
4f51ae9988 Basic start on freddemo (old version)
svn-id: r14685
2004-08-22 15:02:53 +00:00
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