git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
archive common color schemes for later
[netris.git]
/
netris.h
diff --git
a/netris.h
b/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;
union {
char key;
_netEvent net;
- struct {
- int size;
- char *data;
- } robot;
} u;
} MyEvent;
} u;
} MyEvent;
@@
-150,8
+146,6
@@
typedef struct _EventGenRec {
int bufSize, bufGoal;
} EventGenRec;
int bufSize, bufGoal;
} EventGenRec;
-MyEventType NetGenFunc(EventGenRec *gen, MyEvent *event);
-
/* NP_startConn flags */
#define SCF_paused 1
/* 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
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
#endif //__NETRIS_H