Eugene Sandulenko
9ab0962f6d
Lots of MM NES changes from Quietust and me
...
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-24 03:22:32 +00:00
Eugene Sandulenko
0bcb0ac257
Many MM NES fixes/improvements from Quietust:
...
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-21 23:51:48 +00:00
Eugene Sandulenko
f86768fee8
Preliminary support for NES charsets. Colors are wrong and we get glitches
...
caused by too narrow screen. Also text clearing doesn't work.
svn-id: r17164
2005-03-16 03:20:32 +00:00
Eugene Sandulenko
a827bb1c05
Patch from Quietust. Proper drawing of objects and fixes to inventory.
...
svn-id: r17162
2005-03-16 02:14:35 +00:00
Max Horn
6e33b3f0a7
Some cleanup/costume code unification. Note: NES costume code probably should be using subclasses; and maybe we should add AKOSLoadedCostume and NESLoadedCostume ?
...
svn-id: r17161
2005-03-15 21:48:06 +00:00
Eugene Sandulenko
4824af64bb
Minor NES-related fixes
...
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-15 17:56:50 +00:00
Travis Howell
6974025542
Patch from Quietust:
...
Animated costumes for NES maniac.
svn-id: r17145
2005-03-15 04:05:15 +00:00
Eugene Sandulenko
7c4d8d58e2
First (unsuccessful) attempt to make NES costume animation work.
...
svn-id: r17143
2005-03-15 02:47:36 +00:00
Travis Howell
9d17e9aa24
Change this one too.
...
svn-id: r17142
2005-03-15 02:23:42 +00:00
Eugene Sandulenko
18ed547bc3
Patch from Quietust. Fix NES sprites colors and optimize sprite drawing
...
routine.
svn-id: r17141
2005-03-15 02:08:53 +00:00
Eugene Sandulenko
1a26020fd2
Actually draw NES costumes.
...
svn-id: r17139
2005-03-15 01:22:57 +00:00
Travis Howell
7bb8de561b
Off by one.
...
svn-id: r17138
2005-03-15 01:19:36 +00:00
Eugene Sandulenko
ef57db4105
First attempt to draw NES sprites. There are these problems:
...
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-14 21:13:35 +00:00
Eugene Sandulenko
654528422d
Preliminary support for MM NES.
...
svn-id: r17133
2005-03-13 23:18:59 +00:00
Chris Apers
d27f4116f4
Cleanup
...
svn-id: r17080
2005-03-11 11:06:45 +00:00
Eugene Sandulenko
154c4af8dc
Mass-renamed all variables of Actor object according to our current code
...
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-03-11 01:10:06 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Chris Apers
66e14111cc
New ARM call (PalmOS)
...
svn-id: r16014
2004-12-10 15:18:28 +00:00
Max Horn
85ec4ee0b5
Turn the v1 member in the costume renderers into a function local object (used to be a member var)
...
svn-id: r15887
2004-11-25 23:36:02 +00:00
Chris Apers
e40f30e81a
Cleanup
...
svn-id: r15759
2004-11-09 11:27:15 +00:00
Chris Apers
5992cdb890
PalmOS : new params
...
svn-id: r15518
2004-10-11 13:29:08 +00:00
Max Horn
b3c72a792b
Fix for bug #1042802 (DIG: Graphics glitch when scrolling) -- the fix is to properly distinguish pitch and width of the target surface
...
svn-id: r15480
2004-10-09 00:06:36 +00:00
Chris Apers
4ba9994bb3
PalmOS update
...
svn-id: r15437
2004-10-06 10:20:21 +00:00
Gregory Montoir
2f8136b703
constness
...
svn-id: r15364
2004-09-30 23:49:46 +00:00
Chris Apers
b8520692f4
PalmOS : ARM optimized proc3 function
...
svn-id: r15023
2004-09-12 10:48:04 +00:00
Gregory Montoir
7593129d98
some AKOS tweaks for HE72/80
...
svn-id: r14965
2004-09-08 21:14:12 +00:00
Max Horn
8f6e066374
Cleanup: renamed 'value' to 'scaletableSize' and made akos codec1 & the old costume code look even more alike
...
svn-id: r14868
2004-09-02 23:16:58 +00:00
Travis Howell
2c1c5d655d
Remove old unused and unneeded function.
...
Update comments
svn-id: r14531
2004-08-10 02:17:34 +00:00
Travis Howell
ca181299d5
Should be 8 pixels for V1 games.
...
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-10 02:13:25 +00:00
Travis Howell
2481ebf896
Fix a few remaining graphic gliches in V1 games
...
svn-id: r14529
2004-08-10 02:04:15 +00:00
Max Horn
87f1cd48d6
Fix for bug #902387 (MANIAC64: Graphical glitch when Space Police arrives)
...
svn-id: r14528
2004-08-09 23:22:29 +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
Travis Howell
5c2a7a7775
Cleanup
...
svn-id: r14336
2004-07-26 13:53:24 +00:00
Travis Howell
290d73ea0b
Sam & Max doesn't need separate palette, just uses _shadowPalette.
...
svn-id: r14323
2004-07-25 09:21:58 +00:00
Travis Howell
0b045875ca
Fix missing sound effects in puttdemo (DOS)
...
svn-id: r14097
2004-06-28 01:09:41 +00:00
Travis Howell
ae10ed243c
Minor cleanup
...
svn-id: r14037
2004-06-25 08:10:34 +00:00
Max Horn
cc954a70ae
Fix for bug #929724 (MI2: Intro regression) -> since _outheight can be negative, negative y values aren't filtered out automatically anymore, so we have to explicitly check for them
...
svn-id: r13478
2004-04-06 01:06:54 +00:00
Max Horn
21b81b9ef4
Fix signedness issue (lead to incorred address computations on 64 bit machines)
...
svn-id: r13465
2004-04-04 22:43:54 +00:00
Max Horn
4de4353c39
My recent change to _draw_bottom caused a regression in The Dig (and maybe elsewhere). Ah well, probably better to draw one line more than one line less anyway
...
svn-id: r13462
2004-04-04 19:41:02 +00:00
Max Horn
90dd9af577
fixed hypothetical off-by-one error when computing _draw_bottom (a 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-04-03 20:56:19 +00:00
Max Horn
d852e2855a
cleanup (make some more use of class Common::Rect)
...
svn-id: r12232
2004-01-08 03:10:16 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
d834bd9684
replace more usages of _screenWidth by more appropriate variables/values
...
svn-id: r12162
2004-01-05 16:49:14 +00:00
Max Horn
a469559d13
added Actor::getElevation and Actor::setElevation; cleaned up costume API a bit; some minor cleanup/tweaks
...
svn-id: r12160
2004-01-05 16:19:14 +00:00
Max Horn
bceb48f5e0
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
...
svn-id: r12122
2004-01-03 22:45:23 +00:00
Paweł Kołodziejski
8ddc52e9b5
fix / hack for actor costume gfx glitches in scumm v1 games
...
svn-id: r11355
2003-11-23 07:59:45 +00:00
Max Horn
a15a065cba
whitespace
...
svn-id: r11319
2003-11-16 23:53:00 +00:00
Paweł Kołodziejski
d5eddef057
changed some shift operators to *, /
...
svn-id: r11315
2003-11-16 20:52:57 +00:00
Jonathan Gray
7c97e7c2b9
more spelling fixes
...
svn-id: r11176
2003-11-07 02:11:41 +00:00
Chris Apers
3f06651bab
Moved PalmOS initializations out of namespaces.
...
svn-id: r10703
2003-10-09 14:17:06 +00:00