summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-22 22:13:43 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-22 22:13:43 +0000
commit20ecf36f401adad01cc5ff67e411c596a8b523d5 (patch)
tree846175c5b9027d576ab67daa2e28c50ddfc693d6 /include
parent114131bf71d7d4ec48c92a7bde8183442995940f (diff)
- oprava chyby, client ktory checkuje status moze zhodit server
- oprava chyby s minami, v sietovom multiplayeri - server si kontroluje cas kedy naposledy komunikval s clientom po kazdom prijati datagramu, nie iba po kazdom datagrame s pingom - bod sa pripocitava aj tuxovy, ktory dal do areny minu a vybuch s miny odpalenej strielov zabyje niekho ineho ako je on - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@32 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include')
-rw-r--r--include/client.h2
-rw-r--r--include/tux.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/client.h b/include/client.h
index aee5e81..fe28eed 100644
--- a/include/client.h
+++ b/include/client.h
@@ -7,7 +7,7 @@
#if defined SUPPORT_NET_UNIX_UDP || defined SUPPORT_NET_SDL_UDP
-#define CLIENT_TIMEOUT 2500
+#define CLIENT_TIMEOUT 1000
#define SERVER_TIMEOUT_ALIVE 5000
#endif
diff --git a/include/tux.h b/include/tux.h
index ebc8ac7..3cb6699 100644
--- a/include/tux.h
+++ b/include/tux.h
@@ -8,7 +8,10 @@
#define TUX_STEP 6
#define TUX_LAYER 0
+
#define TUX_MAX_ANIMATION_FRAME 10
+#define TUX_KEY 1
+
#define TUX_MAX_PICKUP 50
#define TUX_MAX_BONUS 500