Jonathan Gray
aefdffbd2d
mention what format a costume is using (ie why it is invalid)
...
svn-id: r9644
2003-08-12 04:53:35 +00:00
Travis Howell
82328fa050
Ooops that should only be for Amiga scumm 5 games.
...
svn-id: r9637
2003-08-11 06:24:19 +00:00
Jamieson Christian
50ce07c391
Fix for Bug [770364] MI2: Amiga - Segfault when entering bar
...
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-11 03:52:34 +00:00
Travis Howell
0e831751bc
Fix a regression, this code is required for Amiga versions!
...
Fixes some brief costume distortions
svn-id: r9633
2003-08-11 03:45:12 +00:00
Max Horn
becd70d243
cleanup: encapsulate some more members of class Actor, and rename 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-24 17:44:00 +00:00
Paweł Kołodziejski
2056a62f98
moved up code for v1 setActorPalette func
...
svn-id: r9084
2003-07-19 20:10:40 +00:00
Max Horn
3ce7459814
fixed up c64_ignorePakCols (it's still a hack and not working properly, but 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-14 19:24:34 +00:00
Max Horn
f73cd745f1
reduce code duplication; theoretical masking implementation for C64 costumes, can't test since masking is disabled in gfx.cpp for C64/V1 games
...
svn-id: r8972
2003-07-13 11:13:50 +00:00
Max Horn
eb49053e08
C64 costumes work now enough to be recognizable
...
svn-id: r8970
2003-07-13 10:35:05 +00:00
Travis Howell
6949d49e69
Simpler check
...
svn-id: r8969
2003-07-13 09:01:30 +00:00
Max Horn
00615e4df7
fix x/y limb offsets and transparancy with C64 costume renderer
...
svn-id: r8962
2003-07-13 02:45:31 +00:00
Max Horn
fe944219eb
not sure which of the two variants is correct (but I am pretty sure the old one, with _height>>3, was wrong)
...
svn-id: r8867
2003-07-08 18:18:26 +00:00
Max Horn
d5b1b68634
each row has to be drawn 8 times (8x8 chars, after all), see also Gdi::drawStripC64Object etc.)
...
svn-id: r8866
2003-07-08 18:09:57 +00:00
Max Horn
66ec3f9c75
rewrote c64_ignorePakCols to what I *think* it should look like, base on my understanding of the code. so far completely untested :-)
...
svn-id: r8864
2003-07-08 17:44:06 +00:00
Max Horn
ebd5310473
width has to be multiplied by 8; not sure about xmove, the values still look completely wrong compared to V2
...
svn-id: r8862
2003-07-08 17:22:53 +00:00
Max Horn
d9a604a925
turns out the +4 on _baseptr is needed everywhere - now _animCmds matches between V1 and V2 MM, too, as well as the frameptr
...
svn-id: r8861
2003-07-08 17:08:44 +00:00
Max Horn
c1635b94bf
the 'mask' value is now also right; data at 'r' seems to match, too, and finally the same limbs are used in V1 MM as in V2 MM
...
svn-id: r8860
2003-07-08 16:53:18 +00:00
Max Horn
5428987a04
_dataOffsets has the correct value now (based on comparisions of repeated offsets in the offsets tables, and matching them up between V1 and V2)
...
svn-id: r8859
2003-07-08 16:47:15 +00:00
Max Horn
501e728d02
again some code transformation (no functionality change; the V1 specific modifications now mostly have to be done in one spot, and it's now pretty obvious how things evolved towards AKOS
...
svn-id: r8858
2003-07-08 16:31:01 +00:00
Max Horn
8dd90916e0
ok, thanks erik for pointing out to me where this occurs :-)
...
svn-id: r8857
2003-07-08 16:17:41 +00:00
Max Horn
588279dd4f
some more cleanup / C64 tweaks
...
svn-id: r8856
2003-07-08 13:11:42 +00:00
Max Horn
319233d75f
make more explicit :-)
...
svn-id: r8855
2003-07-08 12:29:57 +00:00
Max Horn
848cfb9378
costume code cleanup & some more C64 tweaks
...
svn-id: r8854
2003-07-08 12:28:57 +00:00
Max Horn
1d69c33819
clarified comment
...
svn-id: r8853
2003-07-08 10:51:55 +00:00
Max Horn
07bd98b27f
move V1_ignorePakCols to CostumeRenderer (it makes absolutely no sense to keep it in BaseCostumeRenderer), and renamed it to c64_ignorePakCols to avoid confusion (V1 in the context of costumes means the original costume format, as opposed to AKOS; and *not* the scumm version); added FIXME to cost_decodeData (have my doubts about it being correct)
...
svn-id: r8852
2003-07-08 10:49:13 +00:00
James Brown
5857979d67
Add missing bit of code, still hopelessly broken.
...
svn-id: r8841
2003-07-07 15:12:21 +00:00
James Brown
04abb69a84
Attempt some more V1 costume work. Not that it helps yet.
...
svn-id: r8773
2003-07-05 11:45:18 +00:00
Max Horn
7f3118f8d8
more const qualifiers
...
svn-id: r8649
2003-06-25 23:49:54 +00:00
Paweł Kołodziejski
c841ee636d
again fix for v1 costume header
...
svn-id: r8565
2003-06-19 21:09:51 +00:00
Max Horn
ada2d7c226
converted scale table to hex (looks a bit nicer and makes it easier to see the structure inherent to the table data)
...
svn-id: r8562
2003-06-19 17:50:10 +00:00
Paweł Kołodziejski
1cca50b743
fixed costume header for v1
...
svn-id: r8558
2003-06-19 15:52:17 +00:00
Paweł Kołodziejski
773ee445d0
fix for len variable in v1 costume codec
...
svn-id: r8554
2003-06-19 12:08:10 +00:00
Max Horn
ab7b941999
fixed warning (but the code is definitely incorrect ;-)
...
svn-id: r8553
2003-06-19 11:29:15 +00:00
Paweł Kołodziejski
788bcb26b5
added initial form of v1 costume codec (NOT WORKING, i think)
...
svn-id: r8551
2003-06-19 10:45:21 +00:00
Paweł Kołodziejski
395ab54ea9
some changes for v1 costumes
...
svn-id: r8380
2003-06-07 10:44:54 +00:00
Max Horn
86df3537b9
replaced GF_AFTER with _version
...
svn-id: r8372
2003-06-07 00:13:26 +00:00
Max Horn
15d58d9f52
hook for V2 costumes (based on a brief glimpse at the costume resources; however I haven't yet looked at the rest of the format, so this would just crash if you enabled it right now)
...
svn-id: r8363
2003-06-06 22:35:23 +00:00
Max Horn
3d77f7230e
Enabled walk sounds in Indy3EGA/ZakEGA; cleanup (bug #747068 )
...
svn-id: r8249
2003-06-01 18:20:38 +00:00
Max Horn
cb5fb5d403
added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
...
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
3e2a7cc1cf
same change as in the old costume code: just always mask
...
svn-id: r8205
2003-06-01 01:00:44 +00:00
Travis Howell
b0b9c354d1
Amiga specific code is only require for Amiga versions of indy4 and monkey2
...
svn-id: r8175
2003-05-31 13:53:25 +00:00
Max Horn
1076838501
more costume cleanup. soone we should be able to merger AKOS codec1 and the old costume code
...
svn-id: r8155
2003-05-30 21:37:58 +00:00
Max Horn
94a404899a
fix The Dig 'hang' regression
...
svn-id: r8124
2003-05-30 00:41:58 +00:00
Max Horn
746b0bdc5b
cleanup; fixed crashes that occured when an actor was drawn partly offscreen
...
svn-id: r8113
2003-05-29 18:45:58 +00:00
Max Horn
fbf2dff545
merged all AKOS codec 1 decoders into one
...
svn-id: r8092
2003-05-29 11:07:54 +00:00
Max Horn
a415492f5d
more costume cleanup; fixed small regression I introduced (copy & paste, sigh)
...
svn-id: r8090
2003-05-29 10:46:07 +00:00
Max Horn
c62c448a35
more costuem code merging
...
svn-id: r8088
2003-05-29 10:31:05 +00:00
Max Horn
b69ea5bec8
more costume cleanup
...
svn-id: r8087
2003-05-29 10:16:00 +00:00
Max Horn
0a6daf767f
more costume/akos changes
...
svn-id: r8074
2003-05-29 02:46:06 +00:00
Max Horn
59acd18cee
they are getting more and more similar :-)
...
svn-id: r8073
2003-05-29 02:14:31 +00:00