aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
AgeCommit message (Collapse)Author
2005-04-20cleanupMax Horn
svn-id: r17718
2005-04-20Replaced the platform specific GF_FOO switches (using _platform instead now)Max Horn
svn-id: r17716
2005-04-20Replace all GF_HUMONGOUS use with _heversion.Travis Howell
Make HE60 specific to puttdemo, since it is unqie. Other HE60 games changed to HE 61. svn-id: r17698
2005-04-06Moved createResource, resourceStats, expireResources to ResourceManagerMax Horn
svn-id: r17420
2005-04-06Use dirtybitTravis Howell
svn-id: r17417
2005-04-05Fix parens. Spotted by Quietust.Eugene Sandulenko
svn-id: r17403
2005-04-05Fixed long ago...Travis Howell
svn-id: r17387
2005-04-05Clear the text surface when loading a saved game, otherwise any text thatTorbjörn Andersson
was displayed before loading the game will remain. I hope this is the correct fix. svn-id: r17382
2005-04-02CleanupTravis Howell
svn-id: r17333
2005-04-01Normalize verb/invenotry areas in MM NES. Patch from QuietustEugene Sandulenko
svn-id: r17316
2005-03-31Started to move some resource related code into a new class ResourceManager ↵Max Horn
(hypothetic goal for the future: use ResourceManager in ScummEx) svn-id: r17311
2005-03-28Moved NES stuff in class Gdi into a struct _NESMax Horn
svn-id: r17278
2005-03-28Cleaned up the object mode code; removed the friend class ScummEngine from ↵Max Horn
class Gdi; moved dither code to ScummEngine svn-id: r17277
2005-03-26Rename WizParameters field.Travis Howell
Correct start strip in drawBMAPBg() svn-id: r17236
2005-03-26Fixes for MM NES costume mask from Quietust.Eugene Sandulenko
svn-id: r17235
2005-03-25Accidentally commented out NES palette changing code. Fixing that.Eugene Sandulenko
svn-id: r17233
2005-03-25MM NES fixes:Eugene Sandulenko
o Fixed crash when in-game GUI was displayed o Support for save/load o Savegame version bumped svn-id: r17232
2005-03-25Some more cleanupMax Horn
svn-id: r17227
2005-03-25Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new ↵Max Horn
method Gdi::roomChanged(); some more cleanup svn-id: r17226
2005-03-25Started some cleanup work on class Gdi (in particular, I try to limit that ↵Max Horn
class to GFX decoding only, and moved the screen rendering code out of it) svn-id: r17225
2005-03-25Cleanup: collect the C64 specific render data into a struct inside class GdiMax Horn
svn-id: r17224
2005-03-24Correct positioning of inventory and verbs in MM NES.Eugene Sandulenko
Started to tackle inventory. svn-id: r17219
2005-03-24First attempt to position NES graphics correctly on screen. Still verbsEugene Sandulenko
are at wrong places. svn-id: r17217
2005-03-24Lots of MM NES changes from Quietust and meEugene Sandulenko
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-23Removed unused variable.Torbjörn Andersson
svn-id: r17207
2005-03-22Patch from Quietust for MM NESEugene Sandulenko
o objects now update tile colors and mask data o mask data is drawn from the correct offset o verbs are drawn in the correct color svn-id: r17199
2005-03-21Many MM NES fixes/improvements from Quietust:Eugene Sandulenko
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-21NES palette fixes from Quietust.Eugene Sandulenko
Some fixes of gray background for NES. Though maybe proper approach would be to add global vars instead of checking every time. svn-id: r17190
2005-03-21Implement proper scene transition mode for MM NES.Eugene Sandulenko
svn-id: r17189
2005-03-16Preliminary support for NES charsets. Colors are wrong and we get glitchesEugene Sandulenko
caused by too narrow screen. Also text clearing doesn't work. svn-id: r17164
2005-03-16Patch from Quietust. Proper drawing of objects and fixes to inventory.Eugene Sandulenko
svn-id: r17162
2005-03-15Some cleanup/costume code unification. Note: NES costume code probably ↵Max Horn
should be using subclasses; and maybe we should add AKOSLoadedCostume and NESLoadedCostume ? svn-id: r17161
2005-03-15Properly wipe out animation trails in MM NES. It appeared that itEugene Sandulenko
just uses different constants for VAR_CURRENT_LIGHTS. So now it uses proper double buffering as well svn-id: r17159
2005-03-15Minor NES-related fixesEugene Sandulenko
o Actors do not leave trails, though background isn't restored since that code always uses two buffers and nes isn't. I have to switch it to use two o Add Swedish version of MM NES o Code formatting fixes svn-id: r17156
2005-03-15fixed compilation for emsvc4Paweł Kołodziejski
svn-id: r17150
2005-03-15Patch from Quietust:Travis Howell
Animated costumes for NES maniac. svn-id: r17145
2005-03-14Fixed GCC warning about unused variables.Torbjörn Andersson
svn-id: r17135
2005-03-13Preliminary support for MM NES.Eugene Sandulenko
svn-id: r17133
2005-03-11CleanupChris Apers
svn-id: r17080
2005-03-09Stricter offset verification in drawBitmap; but be more generous if we ↵Max Horn
encounter a violation and just generate a warning (should fix bug #795214) svn-id: r17053
2005-03-06Fix for bug #1107815 (SAM: Conroy Bumpus' song subtitles always present)Max Horn
svn-id: r17017
2005-03-06Add extra safety checks from original games, to copyVirtScreenBuffers()Travis Howell
svn-id: r16993
2005-03-02Distinguish between green and amber hercules. Now specify it via hercGreenEugene Sandulenko
and hercAmber. Updated documentation accordingly. svn-id: r16975
2005-03-01Fixed warning.Torbjörn Andersson
svn-id: r16966
2005-02-28Perform some validation before using GFX strip offset (see also bug #795214)Max Horn
svn-id: r16964
2005-02-25fixed compilation for emsvc4Paweł Kołodziejski
svn-id: r16917
2005-02-22Added consts (this usually helps the compiler a bit when optimizing code)Max Horn
svn-id: r16863
2005-02-20(more) correct v2 ditherers. Still suffers from some differences andEugene Sandulenko
text colors are not always match. svn-id: r16818
2005-02-20Patch #1121337 (CGA rendering in early LEC titles).Eugene Sandulenko
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-02o Added few targetsEugene Sandulenko
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and logos, so we may add them. * artdemo and readdemo also use Bink, but seems that additionally it uses them in cutscenes, but since there are just few of them, not like in full games, we may try to look at them too * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets to select from it but then fails at some Wiz stuff and there is no hotspots to choose. I think it may be related to overall HE99 problem with inventory where there is a bug preventing from item selection o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it o Alternative russian freddi3 uses badly formatted logo substitution in intro, so error() in default case in Gdi::drawBMAPBg() was replaced with warning(). svn-id: r16722