diff options
author | Victor Gamper <victor@wenzeslaus.de> | 2020-01-26 20:43:17 +0100 |
---|---|---|
committer | Victor Gamper <victor@wenzeslaus.de> | 2020-01-26 20:43:17 +0100 |
commit | 7f02f46188998de2767e5f057da34ac9c9d80a20 (patch) | |
tree | 78ca49a5b3504d5570b58f97de839de20daa154d /catch.h | |
parent | 4abb5e4664654591ba8beecf7774b69365c46d14 (diff) | |
download | c-catch-7f02f46188998de2767e5f057da34ac9c9d80a20.tar.gz c-catch-7f02f46188998de2767e5f057da34ac9c9d80a20.zip |
Added dead birds
Diffstat (limited to 'catch.h')
-rw-r--r-- | catch.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -26,6 +26,7 @@ #define BIRD_COUNT 3 #define BIRD_TYPE_NONE 0 #define BIRD_TYPE_PIDGIN 1 +#define BIRD_TYPE_DEAD_PIDGIN 2 #define STATE_MAIN_MENU 1 #define STATE_GAME 2 @@ -40,8 +41,7 @@ struct Cat { }; struct Bird { - float x; - int y; + float x, y; unsigned char type; }; @@ -54,6 +54,7 @@ extern void Font_Init(); extern void Font_DrawString(SDL_Surface* surface, int x, int y, char* string); // pidginImage.c +extern SDL_Surface* image_pidgin_dead; extern void Pidgin_Init(); extern void draw_Pidgin(SDL_Surface* surface, int x, int y); extern void Pidgin_IncrementFrame(); |