logical function names
[netris.git] / netris.h
index 1af1db61bea6e27f9561af78d70dfa174993fd0a..af6841424fc00dcd1a9e9cbc6b5a2eeab98c7e4c 100644 (file)
--- a/netris.h
+++ b/netris.h
@@ -63,9 +63,9 @@ typedef long netint4;
 
 #define CONFIG_FILE "netris.conf"
 
-//#define DEFAULT_KEYS "hlkj mfp^lq"
-//#define DEFAULT_KEYS "4685 2fp^lq"
-#define DEFAULT_KEYS "dcaf b^fp^lq"
+//#define DEFAULT_KEYS "hlkj mnfp^ltq"
+//#define DEFAULT_KEYS "4685 02fp^l^mq"
+#define DEFAULT_KEYS "dcaf xb^fp^l^mq"
 
 #define MAX_BOARD_WIDTH    32
 #define MAX_BOARD_HEIGHT   64
@@ -81,7 +81,7 @@ typedef long netint4;
 typedef enum _GameType { GT_onePlayer, GT_classicTwo, GT_len } GameType;
 typedef enum _BlockTypeA {
        BT_shadow, BT_none,
-       BT_green, BT_cyan, BT_blue, BT_magenta, BT_red, BT_yellow, BT_white,
+       BT_S, BT_L, BT_I, BT_O, BT_Z, BT_J, BT_T,
        BT_wall, BT_len
 } BlockTypeA;
 typedef enum _FDType { FT_read, FT_write, FT_except, FT_len } FDType;
@@ -161,7 +161,6 @@ typedef struct {
        char name[16];
        int flags;
        int team;
-       int dropmode;
        int boardHeight, boardWidth, boardVisible;
        int curX, curY;
        char curShape, nextShape;
@@ -195,7 +194,7 @@ EXT _Game Game;
 
 EXT GameType game; // => Game.type
 
-EXT short port; // => just in game.c, parameter to inet connect
+EXT short port; // => just in client.c, parameter to inet connect
 
 #endif //__NETRIS_H