declaration cleanup
[netris.git] / netris.h
index e04336eb138d8f3235056f6070eab3a89b7d24d1..28a4132403d7cdb66264aedf3e811d015e67bc95 100644 (file)
--- a/netris.h
+++ b/netris.h
@@ -128,10 +128,6 @@ typedef struct _MyEvent {
        union {
                char key;
                _netEvent net;
-               struct {
-                       int size;
-                       char *data;
-               } robot;
        } u;
 } MyEvent;
 
@@ -150,8 +146,6 @@ typedef struct _EventGenRec {
        int bufSize, bufGoal;
 } EventGenRec;
 
-MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event);
-
 /* NP_startConn flags */
 #define SCF_paused  1
 
@@ -195,5 +189,10 @@ EXT _Game Game;
 
 EXT short port; // => just in client.c, parameter to inet connect
 
+static const char *teamname[] = {
+       "", "Green", "Cyan", "Blue", "Purple",
+       "Red", "Grey", "White", "*Orange"
+};
+
 #endif //__NETRIS_H