diff options
author | Victor Gamper <victor@erika-imac.fritz.box> | 2020-01-26 13:20:28 +0100 |
---|---|---|
committer | Victor Gamper <victor@erika-imac.fritz.box> | 2020-01-26 13:20:28 +0100 |
commit | dac6b72f8f5fc9ecf564412927dcff7a04d37dc0 (patch) | |
tree | d51b5d09f913cda37243be565b95e1a62dd70588 /catch.h | |
parent | 06a678629c99293a642af7d3aa39c20ea28e3d4d (diff) | |
download | c-catch-dac6b72f8f5fc9ecf564412927dcff7a04d37dc0.tar.gz c-catch-dac6b72f8f5fc9ecf564412927dcff7a04d37dc0.zip |
Added birds and a readme file
Diffstat (limited to 'catch.h')
-rw-r--r-- | catch.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8,6 +8,7 @@ #include <stdbool.h> #include <unistd.h> #include <string.h> +#include <stdlib.h> #include "chargebar.h" #include "cat_bmp.h" @@ -24,7 +25,7 @@ #define BIRD_COUNT 3 #define BIRD_TYPE_NONE 0 -#define BIRD_TYPE_BIRD 1 +#define BIRD_TYPE_PIDGIN 1 #define STATE_MAIN_MENU 1 #define STATE_GAME 2 @@ -49,3 +50,8 @@ extern void gameRoutine(); // BitmapFontRenderer.c extern void Font_Init(); extern void Font_DrawString(SDL_Surface* surface, int x, int y, char* string); + +// pidginImage.c +extern void Pidgin_Init(); +extern void draw_Pidgin(SDL_Surface* surface, int x, int y); +extern void Pidgin_IncrementFrame(); |