From 7f02f46188998de2767e5f057da34ac9c9d80a20 Mon Sep 17 00:00:00 2001 From: Victor Gamper Date: Sun, 26 Jan 2020 20:43:17 +0100 Subject: Added dead birds --- catch.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'catch.h') diff --git a/catch.h b/catch.h index 0019917..73dc28d 100644 --- a/catch.h +++ b/catch.h @@ -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(); -- cgit v1.2.3