ah, ok, this is your code:
Code:
...
sprite->x=0;
sprite->y=0;
sprite->height=9;
...
from my basic knowledge, some info about "typedef struct SimpleSprite { ... };" or
"struct SimpleSprite { ... };" is missing.
does it have the "members" x, y, height?
there should be something like that:
Code:
struct SimpleSprite {
int x;
int y;
int height;
};