#define EM_connect 000020
#define EM_any 000777
-typedef enum _GameType { GT_onePlayer, GT_classicTwo, GT_len } GameType;
typedef enum _BlockTypeA {
BT_shadow, BT_none,
BT_S, BT_L, BT_I, BT_O, BT_Z, BT_J, BT_T,
char name[16];
int flags;
int team;
- int dropmode;
int boardHeight, boardWidth, boardVisible;
int curX, curY;
char curShape, nextShape;
#define SPEEDINC 1.2
#define SPEEDMINIMUM 40000
+typedef enum _GameType { GT_onePlayer, GT_classicTwo, GT_len } GameType;
typedef struct {
+ GameType type;
int gravity; //1
int started; //2
int continuous; //3
#define MSG_WIDTH 128
-EXT GameType game; // => Game.type
-
EXT short port; // => just in client.c, parameter to inet connect
#endif //__NETRIS_H