git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't hardcode string and array length
[netris.git]
/
netris.h
diff --git
a/netris.h
b/netris.h
index e04336eb138d8f3235056f6070eab3a89b7d24d1..6ed388cf58400d37936ff5c3343ea90aa5fd09d4 100644
(file)
--- a/
netris.h
+++ b/
netris.h
@@
-195,5
+195,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