aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
AgeCommit message (Collapse)Author
2004-04-06Fix for bug #929724 (MI2: Intro regression) -> since _outheight can be ↵Max Horn
negative, negative y values aren't filtered out automatically anymore, so we have to explicitly check for them svn-id: r13478
2004-04-04Fix signedness issue (lead to incorred address computations on 64 bit machines)Max Horn
svn-id: r13465
2004-04-04My recent change to _draw_bottom caused a regression in The Dig (and maybe ↵Max Horn
elsewhere). Ah well, probably better to draw one line more than one line less anyway svn-id: r13462
2004-04-03fixed hypothetical off-by-one error when computing _draw_bottom (a ↵Max Horn
semantical problem: _draw_bottom is supposed to be the bottom most pixel which is actually drawn; in the other case, it's top+height, i.e. one pixel *below* that last drawn pixel row. In addition, some cleanup svn-id: r13449
2004-01-08cleanup (make some more use of class Common::Rect)Max Horn
svn-id: r12232
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-05replace more usages of _screenWidth by more appropriate variables/valuesMax Horn
svn-id: r12162
2004-01-05added Actor::getElevation and Actor::setElevation; cleaned up costume API a ↵Max Horn
bit; some minor cleanup/tweaks svn-id: r12160
2004-01-03renamed updateDirtyRect to markRectAsDirty (because that's what it really ↵Max Horn
does); used virtual screen id constants in more places svn-id: r12122
2003-11-23fix / hack for actor costume gfx glitches in scumm v1 gamesPaweł Kołodziejski
svn-id: r11355
2003-11-16whitespaceMax Horn
svn-id: r11319
2003-11-16changed some shift operators to *, /Paweł Kołodziejski
svn-id: r11315
2003-11-07more spelling fixesJonathan Gray
svn-id: r11176
2003-10-09Moved PalmOS initializations out of namespaces.Chris Apers
svn-id: r10703
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-08-26Revert v1 zak face costume color nack to 8, since palette is fixed.Travis Howell
svn-id: r9870
2003-08-25cleanupMax Horn
svn-id: r9865
2003-08-25check for costume format, not engine versionMax Horn
svn-id: r9860
2003-08-25fixed and cleaned up V1 actor maskingMax Horn
svn-id: r9856
2003-08-24Minor cleanupTravis Howell
svn-id: r9839
2003-08-20Remove my junkTravis Howell
svn-id: r9797
2003-08-20v1 zak costume colors should be perfect nowTravis Howell
svn-id: r9796
2003-08-20v1 zak costume color almost all right.Travis Howell
svn-id: r9794
2003-08-19small changes to v1 maskPaweł Kołodziejski
svn-id: r9779
2003-08-19Correction for v1 zak facesTravis Howell
svn-id: r9773
2003-08-18fixed y position of mask in v1 costume renderingPaweł Kołodziejski
svn-id: r9767
2003-08-18Updated globals access for PalmOSChris Apers
svn-id: r9759
2003-08-18Add support for flashlight in v1 maniac by converting older values.Travis Howell
Prevent warning about dummy function (Which has no purpose) in zak svn-id: r9756
2003-08-18Use correct costume color for darkness in v1 zakTravis Howell
svn-id: r9752
2003-08-18Fix v1 zak costume colorsTravis Howell
svn-id: r9748
2003-08-17Enabled the v1 costume palette tables Kirben and Hoenicke added earlier.Torbjörn Andersson
svn-id: r9745
2003-08-17Remove c64_ignorePakCols calls for v1 games, since they cause crashes and ↵Travis Howell
don't seem to be required. Makes v1 maniac completable, maybe v1 zak too. svn-id: r9736
2003-08-17Add palette tables for v1 costumes, thanks to HoenickeTravis Howell
Code isn't enabled yet though. svn-id: r9733
2003-08-15Set v1 actor color to static for now, so actors can at least be seen easier.Travis Howell
Change default colors so at least Dave's color look right. svn-id: r9699
2003-08-13Explicitly stated a bit masking to please VC.NET2003 runtime small types ↵Bertrand Augereau
conversion checks. svn-id: r9674
2003-08-12this makes more sense in hexJonathan Gray
svn-id: r9645
2003-08-12mention what format a costume is using (ie why it is invalid)Jonathan Gray
svn-id: r9644
2003-08-11Ooops that should only be for Amiga scumm 5 games.Travis Howell
svn-id: r9637
2003-08-11Fix for Bug [770364] MI2: Amiga - Segfault when entering barJamieson Christian
Possible fix for Bug [770085] MI2: Amiga version always crashes after a few minutes Corrected OOB graphics writes in proc3_ami() by fixing the mask to properly detect negative Y values. Don't know if this is the right way to fix this -- there are enough GFX bugs in the Amiga code as to make assessment difficult -- but at least it averts crashes. svn-id: r9634
2003-08-11Fix a regression, this code is required for Amiga versions!Travis Howell
Fixes some brief costume distortions svn-id: r9633
2003-07-24cleanup: encapsulate some more members of class Actor, and rename ↵Max Horn
newDirection -> targetFacing (since it corresponds to the future value of 'facing'; the distinction between 'facing' and 'direction' is extremly fuzzy) svn-id: r9175
2003-07-19moved up code for v1 setActorPalette funcPaweł Kołodziejski
svn-id: r9084
2003-07-14fixed up c64_ignorePakCols (it's still a hack and not working properly, but ↵Max Horn
at least it doesn't crash anymore; we probably should just remove it, and then handle the skiping inside proc64); determin which costume codec to use based on the costume format, not the scumm version svn-id: r9019
2003-07-13reduce code duplication; theoretical masking implementation for C64 ↵Max Horn
costumes, can't test since masking is disabled in gfx.cpp for C64/V1 games svn-id: r8972
2003-07-13C64 costumes work now enough to be recognizableMax Horn
svn-id: r8970
2003-07-13Simpler checkTravis Howell
svn-id: r8969
2003-07-13fix x/y limb offsets and transparancy with C64 costume rendererMax Horn
svn-id: r8962
2003-07-08not sure which of the two variants is correct (but I am pretty sure the old ↵Max Horn
one, with _height>>3, was wrong) svn-id: r8867
2003-07-08each row has to be drawn 8 times (8x8 chars, after all), see also ↵Max Horn
Gdi::drawStripC64Object etc.) svn-id: r8866