1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Fix types

git-svn-id: svn://svn.cc65.org/cc65/trunk@5940 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
karri 2012-11-21 13:11:52 +00:00
parent 7b3e3b99a3
commit c7d6712023

View File

@ -97,7 +97,7 @@ typedef struct SCB_REHVST_PAL { // SCB with all attributes
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -112,7 +112,7 @@ typedef struct SCB_REHVST { // SCB without pallette
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -126,7 +126,7 @@ typedef struct SCB_REHV { // SCB without stretch/tilt
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -138,7 +138,7 @@ typedef struct SCB_REHV_PAL { // SCB without str/tilt, w/ penpal
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -151,7 +151,7 @@ typedef struct SCB_REHVS { // SCB w/o tilt & penpal
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -164,7 +164,7 @@ typedef struct SCB_REHVS_PAL { // SCB w/o tilt w/penpal
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned int hsize; unsigned int hsize;
@ -178,7 +178,7 @@ typedef struct SCB_RENONE { // SCB w/o size/stretch/tilt/pal
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
} SCB_RENONE; } SCB_RENONE;
@ -188,12 +188,27 @@ typedef struct SCB_RENONE_PAL { // SCB w/o size/str/tilt w/penpal
unsigned char sprctl1; unsigned char sprctl1;
unsigned char sprcoll; unsigned char sprcoll;
char *next; char *next;
char *data; unsigned char *data;
unsigned int hpos; unsigned int hpos;
unsigned int vpos; unsigned int vpos;
unsigned char penpal[8]; unsigned char penpal[8];
} SCB_RENONE_PAL; } SCB_RENONE_PAL;
typedef struct PENPAL_4 {
unsigned char penpal[8];
} PENPAL_4;
typedef struct PENPAL_3 {
unsigned char penpal[4];
} PENPAL_3;
typedef struct PENPAL_2 {
unsigned char penpal[2];
} PENPAL_2;
typedef struct PENPAL_1 {
unsigned char penpal[1];
} PENPAL_1;
/* Misc system defines */ /* Misc system defines */