Skip to content

Instantly share code, notes, and snippets.

@EddieRingle
Created March 10, 2012 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EddieRingle/2009734 to your computer and use it in GitHub Desktop.
Save EddieRingle/2009734 to your computer and use it in GitHub Desktop.
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