aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
AgeCommit message (Collapse)Author
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
2004-10-06PalmOS updateChris Apers
svn-id: r15437
2004-09-30constnessGregory Montoir
svn-id: r15364
2004-09-12PalmOS : ARM optimized proc3 functionChris Apers
svn-id: r15023
2004-09-08some AKOS tweaks for HE72/80Gregory Montoir
svn-id: r14965
2004-09-02Cleanup: renamed 'value' to 'scaletableSize' and made akos codec1 & the old ↵Max Horn
costume code look even more alike svn-id: r14868
2004-08-10Remove old unused and unneeded function.Travis Howell
Update comments svn-id: r14531
2004-08-10Should be 8 pixels for V1 games.Travis Howell
Fixes actors been cut off too early when running off left side of screen in last scene of demo mode of Maniac Mansion. svn-id: r14530
2004-08-10Fix a few remaining graphic gliches in V1 gamesTravis Howell
svn-id: r14529
2004-08-09Fix for bug #902387 (MANIAC64: Graphical glitch when Space Police arrives)Max Horn
svn-id: r14528
2004-08-08Patch #1003866 (SCUMM: New text rendering code (fixes various bugs))Max Horn
svn-id: r14521
2004-07-26CleanupTravis Howell
svn-id: r14336
2004-07-25Sam & Max doesn't need separate palette, just uses _shadowPalette.Travis Howell
svn-id: r14323
2004-06-28Fix missing sound effects in puttdemo (DOS)Travis Howell
svn-id: r14097
2004-06-25Minor cleanupTravis Howell
svn-id: r14037