summaryrefslogtreecommitdiff
path: root/catch.h
diff options
context:
space:
mode:
authorVictor Gamper <victor@erika-imac.fritz.box>2020-01-26 13:20:28 +0100
committerVictor Gamper <victor@erika-imac.fritz.box>2020-01-26 13:20:28 +0100
commitdac6b72f8f5fc9ecf564412927dcff7a04d37dc0 (patch)
treed51b5d09f913cda37243be565b95e1a62dd70588 /catch.h
parent06a678629c99293a642af7d3aa39c20ea28e3d4d (diff)
downloadc-catch-dac6b72f8f5fc9ecf564412927dcff7a04d37dc0.tar.gz
c-catch-dac6b72f8f5fc9ecf564412927dcff7a04d37dc0.zip
Added birds and a readme file
Diffstat (limited to 'catch.h')
-rw-r--r--catch.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/catch.h b/catch.h
index ab8a988..9ae7b9b 100644
--- a/catch.h
+++ b/catch.h
@@ -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();