aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
AgeCommit message (Collapse)Author
2005-10-29Read from XMAP resource directly, instead of reading into memory.Travis Howell
svn-id: r19357
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-09-30More MM C64 costume fixes from LordHoto.Eugene Sandulenko
svn-id: r18908
2005-09-22Patch #1297829 "Basic Costume Renderer for MM C64"Eugene Sandulenko
svn-id: r18857
2005-09-15I think this fixes bug #1291074, which is a masking glitch in Amiga v5Torbjörn Andersson
games. The mask pointer and maskbit weren't properly updated for the first pixel of each new row. Note that I do not have any of the Amiga games myself, so this fix is based on observing what happens when forcing the PC version of MI2 to use proc3_ami() instead of proc3(). svn-id: r18829
2005-09-03Change PalmOS identChris Apers
svn-id: r18750
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-31Some stubs for C64 MM costume codeEugene Sandulenko
svn-id: r18304
2005-05-25No other shadowMode settings are used by Sam & Max scripts.Travis Howell
svn-id: r18249
2005-05-21Stubs for C64 MM costume code. Content will follow. Fixes crash in introEugene Sandulenko
script svn-id: r18198
2005-05-18Patch from Quietust for MM NES:Eugene Sandulenko
o Fix all actor mask bugs o Simplify masking considerably o Moved the decodesNESObject call from object.cpp into gfx.cpp svn-id: r18177
2005-05-15Replaced global revBitMask array with a macroMax Horn
svn-id: r18104
2005-05-15Renamed costume scale tables; merged the old costume renderer's scale table ↵Max Horn
with the small scale AKOS scale table (they were identical) svn-id: r18103
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-10Fix for bug #1180240Max Horn
svn-id: r17518
2005-04-10Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it ↵Max Horn
complies a bit better with our code formatting rules svn-id: r17508
2005-04-09Got rid of GF_NEW_OPCODESMax Horn
svn-id: r17488
2005-04-07Patch from Quietust:Eugene Sandulenko
1. properly handle costume colors in dark rooms (verified against disasm) 2. optimize NES audio generation a little bit - instead of calling a function ~80 times to get one audio sample, it calls it once and just loops ~80 times internally 3. NES audio now obeys the volume control 4. in MM NES, o2_setObjPreposition is a no-op 5. o2_lights uses new-style light values (i.e. bitfields) in MM NES 6. o2_delay, use ssPaused identifier rather than a literal '1' 7. in MM NES, o5_saveLoadGame only explicitly checks for type '1' (load), defaulting to save for any other value svn-id: r17443
2005-04-01MM NES costumes fix for MM NES. Talking animation appears now, thoughEugene Sandulenko
there are still some glitches with sliding actors which require different handling of actors talking. svn-id: r17329
2005-04-01Fix regression in MM NES costumes.Eugene Sandulenko
Cleanup svn-id: r17317
2005-03-27More costume code restructuringMax Horn
svn-id: r17258
2005-03-27Started to overhaul the costume infrastructure a bit, properly separating ↵Max Horn
the NES costume code in the process (sorry if I broke stuff for the NES folks, but I figure it is better to get this done properly now before we have to untangle the mess later) svn-id: r17257
2005-03-26Gray actor palettes in flahslight mode for NES from Quietust.Eugene Sandulenko
svn-id: r17256
2005-03-26Fixes for MM NES costume mask from Quietust.Eugene Sandulenko
svn-id: r17235
2005-03-25First attempt to use mask for costumes:Eugene Sandulenko
o Now it shows that our mask is too blocky o Mask is always applied, i.e. even when actor is in front of masking object o Probably we need to shift mask up. svn-id: r17228
2005-03-24Proper calculation of edge case with number of costume frames from QuietustEugene Sandulenko
svn-id: r17213
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-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-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-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-15Patch from Quietust:Travis Howell
Animated costumes for NES maniac. svn-id: r17145
2005-03-15First (unsuccessful) attempt to make NES costume animation work.Eugene Sandulenko
svn-id: r17143
2005-03-15Change this one too.Travis Howell
svn-id: r17142
2005-03-15Patch from Quietust. Fix NES sprites colors and optimize sprite drawingEugene Sandulenko
routine. svn-id: r17141
2005-03-15Actually draw NES costumes.Eugene Sandulenko
svn-id: r17139
2005-03-15Off by one.Travis Howell
svn-id: r17138
2005-03-14First attempt to draw NES sprites. There are these problems:Eugene Sandulenko
o Position is not correct o Colors are wrong o No animation o They're not wiped out correctly, maybe because of first problem svn-id: r17137
2005-03-13Preliminary support for MM NES.Eugene Sandulenko
svn-id: r17133
2005-03-11CleanupChris Apers
svn-id: r17080
2005-03-11Mass-renamed all variables of Actor object according to our current codeEugene Sandulenko
formatting standards. Earlier we had half of vars named with leading underscore and half without it. Now code in actor.cpp is considerably more readable. svn-id: r17068
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-10New ARM call (PalmOS)Chris Apers
svn-id: r16014
2004-11-25Turn the v1 member in the costume renderers into a function local object ↵Max Horn
(used to be a member var) svn-id: r15887
2004-11-09CleanupChris Apers
svn-id: r15759
2004-10-11PalmOS : new paramsChris Apers
svn-id: r15518
2004-10-09Fix for bug #1042802 (DIG: Graphics glitch when scrolling) -- the fix is to ↵Max Horn
properly distinguish pitch and width of the target surface svn-id: r15480