summaryrefslogtreecommitdiff
path: root/include/arena.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arena.h')
-rw-r--r--include/arena.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/arena.h b/include/arena.h
index b79c094..c800169 100644
--- a/include/arena.h
+++ b/include/arena.h
@@ -16,7 +16,7 @@ typedef struct arena_struct
SDL_Surface *background;
#endif
-
+ int w, h;
list_t *listTimer;
list_t *listTux;
list_t *listShot;
@@ -29,6 +29,7 @@ extern arena_t* newArena();
extern int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2);
extern int isFreeSpace(arena_t *arena, int x, int y, int w, int h);
extern void findFreeSpace(arena_t *arena, int *x, int *y, int w, int h);
+extern void getCenterScreen(int *screen_x, int *screen_y, int x, int y);
#ifndef PUBLIC_SERVER
extern void drawArena(arena_t *arena);
#endif