diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-08 21:43:44 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-08 21:43:44 +0000 |
| commit | 4919e623c6695a80aaf96187253756dcbb72bf87 (patch) | |
| tree | 948fbcc211b1a8f13e3830853edef6505234bab2 /include/arena.h | |
| parent | a8110d0786e7931715a0d7116ed7d4c23697bdb6 (diff) | |
- 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
Diffstat (limited to 'include/arena.h')
| -rw-r--r-- | include/arena.h | 3 |
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 |