From 4919e623c6695a80aaf96187253756dcbb72bf87 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 8 Jun 2008 21:43:44 +0000 Subject: - kod bol prepisany tak aby dokazal pracovat aj s arenami vascimi ako je obrazovka okna ( ako pozadie na arenu sa da pouzit aj tepeta aj textura ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@62 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/arena.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/arena.h') 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 -- cgit v1.2.3