diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
| commit | b84b59153c587248ca8a6a94a6d93977e851233f (patch) | |
| tree | e13b33f09ee6ac130bb6045626618b1c5fc4d787 /include/publicServer.h | |
| parent | 6038f9434f1eb40caf7992ece9a3972e95a9fc11 (diff) | |
- moznost skompilovat public server bez GUI ( pomocou Makefile-publicServer )
port sa nastavuje ako ./publicserver --port <port>
- jeto iba prvotna verzia treba to este odladit a zostabilnit
git-svn-id: http://opensvn.csie.org/tuxanci_ng@18 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/publicServer.h')
| -rw-r--r-- | include/publicServer.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/publicServer.h b/include/publicServer.h new file mode 100644 index 0000000..9c3a367 --- /dev/null +++ b/include/publicServer.h @@ -0,0 +1,18 @@ + +#ifndef PUBLIC_SERVER_H + +#define PUBLIC_SERVER_H + +#include "arena.h" + +extern arena_t* getWorldArena(); +extern void countRoundInc(); +extern void initPublicServer(); +extern int getChoiceArenaId(); +extern int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2); +extern int isFreeSpace(int x, int y, int w, int h); +extern void findFreeSpace(int *x, int *y, int w, int h); +extern void eventPublicServer(); +extern void quitPublicServer(); + +#endif |