Original Post
Hmm... Can't initialize my array so it compiles. Anyway it looks like this now:
typedef struct Object_ {
int x, y;
int w, h;
char *image;
} Object;
typedef struct Map_ {
long length;
int speed;
Object objects[];
} Map;
Map game_maps[2] = {
{
1000,
5,
{{40, 15, 10, 10, "tux.bmp"}}
}
};
It's on line 19 it fails. But I don't know how it should look like. Some help would be nice. :)