summaryrefslogtreecommitdiff
path: root/include/pipe.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pipe.h')
-rw-r--r--include/pipe.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/pipe.h b/include/pipe.h
index 867dcc8..af8e180 100644
--- a/include/pipe.h
+++ b/include/pipe.h
@@ -4,7 +4,7 @@
#define PIPE_H
#include "main.h"
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
#include "interface.h"
#endif
#include "list.h"
@@ -23,22 +23,22 @@ typedef struct pipe_struct
int layer; // vrstva
-#ifndef BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
SDL_Surface *img; //obrazok
#endif
} pipe_t;
-#ifndef BUBLIC_SERVER
+#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 BUBLIC_SERVER
+#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 BUBLIC_SERVER
+#ifndef PUBLIC_SERVER
extern void drawPipe(pipe_t *p);
extern void drawListPipe(list_t *listPipe);
#endif