diff options
author | James Brown | 2002-02-24 17:25:03 +0000 |
---|---|---|
committer | James Brown | 2002-02-24 17:25:03 +0000 |
commit | abbc4bf289892ce20a7de1560c171a5822c897e1 (patch) | |
tree | c0962bbbbc2279ec71528b8a94afe412e1f1e8bd /akos.cpp | |
parent | c8522359f5bd376433bf58ead734de43534a109c (diff) | |
download | scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.tar.gz scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.tar.bz2 scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.zip |
Code cleanup - get rid of a bunch of typecast and unused variable warnings.
svn-id: r3627
Diffstat (limited to 'akos.cpp')
-rw-r--r-- | akos.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -51,7 +51,7 @@ void Scumm::akos_decodeData(Actor *a, int frame, uint usemask) { uint offs; int i; byte code; - uint32 start,len; + uint16 start,len; uint16 mask; if (a->costume==0) @@ -120,7 +120,7 @@ void Scumm::akos_decodeData(Actor *a, int frame, uint usemask) { } void Scumm::akos_setPalette(AkosRenderer *ar, byte *palette) { - byte *akos, *akpl; + byte *akpl; uint size, i; akpl = findResourceData(MKID('AKPL'), ar->akos); @@ -294,10 +294,8 @@ StartPos:; void akos_generic_decode(AkosRenderer *ar) { byte *src,*dst; - byte len,height,pcolor, maskbit; - uint y,scrheight; - uint color; - int t; + byte len,height, maskbit; + uint y, color; const byte *scaleytab, *mask; @@ -358,9 +356,7 @@ StartPos:; void akos_c1_spec1(AkosRenderer *ar) { byte *src,*dst; byte len,height,pcolor, maskbit; - uint y,scrheight; - uint color; - int t; + uint y, color; const byte *scaleytab, *mask; @@ -528,7 +524,6 @@ void Scumm::akos_codec1(AkosRenderer *ar) { int i,j; int x,x_right,x_left,skip,tmp_x,tmp_y; int y,y_top,y_bottom; - byte *stab; bool y_clipping; bool charsetmask; bool masking; |