From c94fd664bba352732bf0e5c9a77e709b49f1aa4f Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 26 May 2008 12:45:53 +0000 Subject: - 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 --- include/pipe.h | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 include/pipe.h (limited to 'include/pipe.h') diff --git a/include/pipe.h b/include/pipe.h deleted file mode 100644 index af8e180..0000000 --- a/include/pipe.h +++ /dev/null @@ -1,50 +0,0 @@ - -#ifndef PIPE_H - -#define PIPE_H - -#include "main.h" -#ifndef PUBLIC_SERVER -#include "interface.h" -#endif -#include "list.h" - -typedef struct pipe_struct -{ - int x; // poloha steny - int y; - - int w; // rozmery steny - int h; - - int id; - int id_out; - int position; - - int layer; // vrstva - -#ifndef PUBLIC_SERVER - SDL_Surface *img; //obrazok -#endif -} pipe_t; - -#ifndef PUBLIC_SERVER -extern pipe_t* newPipe(int x, int y, int w, int h, int layer, - int id, int id_out, int position, SDL_Surface *img); -#endif - -#ifdef PUBLIC_SERVER -extern pipe_t* newPipe(int x, int y, int w, int h, int layer, - int id, int id_out, int position); -#endif - -#ifndef PUBLIC_SERVER -extern void drawPipe(pipe_t *p); -extern void drawListPipe(list_t *listPipe); -#endif -extern pipe_t* isConflictWithListPipe(list_t *listPipe, int x, int y, int w, int h); -extern void eventConflictShotWithPipe(list_t *listPipe, list_t *listShot); -extern void destroyPipe(pipe_t *p); - -#endif - -- cgit v1.2.3