X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=netris.h;h=45d61bf1764f9ab2d32e1181e6ba2c44bb0670cb;hb=d7474b3b1e099c0cd8f41855778022c8b580b687;hp=24f3578a3834c85f99628ce345599c31ef155df8;hpb=ec844657fccb6475314c51da1ae21dc2fee9a470;p=pkg%2Fnetris.git diff --git a/netris.h b/netris.h index 24f3578..45d61bf 100644 --- a/netris.h +++ b/netris.h @@ -65,7 +65,7 @@ typedef long netint4; #define DEFAULT_PORT 9284 /* Very arbitrary */ -#define DEFAULT_KEYS "jkl mspf^ln" +#define DEFAULT_KEYS "jkl mspf^l" /* Protocol versions */ #define MAJOR_VERSION 1 @@ -152,13 +152,6 @@ typedef struct _ShapeOption { typedef int (*ShapeDrawFunc)(int scr, int y, int x, BlockType type, void *data); -enum States { - STATE_STARTING, - STATE_PLAYING, - STATE_WAIT_CONNECTION, - STATE_WAIT_KEYPRESS -}; - EXT GameType game; EXT int boardHeight[MAX_SCREENS]; EXT int boardVisible[MAX_SCREENS], boardWidth[MAX_SCREENS]; @@ -174,9 +167,6 @@ EXT long stepDownInterval, speed; EXT int myFlags, opponentFlags; -EXT int won, lost; -EXT enum States gameState; - EXT char scratch[1024]; extern ShapeOption stdOptions[];