summaryrefslogtreecommitdiff
path: root/include/teleport.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/teleport.h')
-rw-r--r--include/teleport.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/include/teleport.h b/include/teleport.h
deleted file mode 100644
index 1101a57..0000000
--- a/include/teleport.h
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#ifndef TELEPORT_H
-
-#define TELEPORT_H
-
-#ifndef PUBLIC_SERVER
-#include "interface.h"
-#endif
-#include "main.h"
-#include "list.h"
-
-typedef struct teleport_struct
-{
- int x; // poloha steny
- int y;
-
- int w; // rozmery steny
- int h;
-
- int layer; // vrstva
-
-#ifndef PUBLIC_SERVER
- SDL_Surface *img; //obrazok
-#endif
-} teleport_t;
-
-#ifndef PUBLIC_SERVER
-extern teleport_t* newTeleport(int x, int y, int w, int h, int layer, SDL_Surface *img);
-#endif
-
-#ifdef PUBLIC_SERVER
-extern teleport_t* newTeleport(int x, int y, int w, int h, int layer);
-#endif
-
-#ifndef PUBLIC_SERVER
-extern void drawTeleport(teleport_t *p);
-extern void drawListTeleport(list_t *listTeleport);
-#endif
-extern teleport_t* isConflictWithListTeleport(list_t *listTeleport, int x, int y, int w, int h);
-extern void eventConflictShotWithTeleport(list_t *listTeleport, list_t *listShot);
-extern void eventTeleportTux(list_t *listTeleport, teleport_t *teleport, tux_t *tux);
-extern void destroyTeleport(teleport_t *p);
-
-#endif
-