View Single Post
Old 26 September 2017, 01:11   #4
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
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; 
};

Last edited by emufan; 26 September 2017 at 01:18.
emufan is offline  
 
Page generated in 0.04497 seconds with 11 queries