summaryrefslogtreecommitdiff
path: root/include/wall.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-26 12:45:53 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-26 12:45:53 +0000
commitc94fd664bba352732bf0e5c9a77e709b49f1aa4f (patch)
tree70936acfc33b46792ce1e3170de6a82f86edfe68 /include/wall.h
parenta1e9bc7430ca827808a502f455b20a23ba15e31a (diff)
- mensie upravy v kode
- navod na zostavovanie projektu - da sa to skompilovat :D - PS: este to nie je odladene, a musim sa ucit na prijmacky na FEI git-svn-id: http://opensvn.csie.org/tuxanci_ng@54 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/wall.h')
-rw-r--r--include/wall.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/include/wall.h b/include/wall.h
deleted file mode 100644
index 1389539..0000000
--- a/include/wall.h
+++ /dev/null
@@ -1,49 +0,0 @@
-
-#ifndef WALL_H
-
-#define WALL_H
-
-#include "main.h"
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#endif
-
-#include "list.h"
-
-typedef struct wall_struct
-{
- int x; // poloha steny
- int y;
-
- int w; // rozmery steny
- int h;
-
- int img_x; // poloha obrazka
- int img_y;
-
- int layer; // vrstva
-
-#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
-#endif
-} wall_t;
-
-#ifndef PUBLIC_SERVER
-extern wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer, SDL_Surface *img);
-#endif
-
-#ifdef PUBLIC_SERVER
-extern wall_t* newWall(int x, int y, int w, int h,
- int img_x, int img_y, int layer);
-#endif
-
-extern void drawWall(wall_t *p);
-extern void drawListWall(list_t *listWall);
-extern int isConflictWithListWall(list_t *listWall, int x, int y, int w, int h);
-extern void eventConflictShotWithWall(list_t *listWall, list_t *listShot);
-extern void destroyWall(wall_t *p);
-
-#endif
-