Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
I don't even know
struct crb_game {
int state;
char *name;
crb_gfx *gfx;
crb_snd *snd;
crb_lua *lua;
int (*on_start)(void);
int (*on_stop)(void);
};
struct shootemup_game {
struct crb_game base;
struct player *player;
unsigned level;
unsigned score;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment