diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-17 20:29:34 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-17 20:29:34 +0000 |
| commit | 437da38a26548714e6e1640722148f0f9f601ccb (patch) | |
| tree | 3bc6a5a0903211e2d1ffa4fd9b3e6e467d413ecf /include/publicServer.h | |
| parent | 51aae47ae08ad61507f219c24ed6d9321c866f45 (diff) | |
<Oroborus> - opravena chyba, clent nacital iba _jeden_ sietovy packet za 50 ms ( ano aj ked ich prislo viacej)
<Oroborus> - server pinguje clientov a na zaklade toho client vie, ci server nespadol
<Oroborus> - publicserver sa da korektne vypnut signalom SIGQUIT
<Oroborus> - publicserver bol pretiahnuty cez valgrind, teraz za pocet volani funkcie malloc rovna poctu volani
funkcie free
<Oroborus> - v sietovom multiplayeri sa da chodit cez teleporty a strielat do teleportov
<Oroborus> - do rur sa da siez strielat
git-svn-id: http://opensvn.csie.org/tuxanci_ng@24 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/publicServer.h')
| -rw-r--r-- | include/publicServer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/publicServer.h b/include/publicServer.h index 9c3a367..9b453d7 100644 --- a/include/publicServer.h +++ b/include/publicServer.h @@ -7,12 +7,13 @@ extern arena_t* getWorldArena(); extern void countRoundInc(); -extern void initPublicServer(); +extern int 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 my_handler_quit(int n); extern void quitPublicServer(); #endif |