git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
non-exclusive instadrop and soft drop
[netris.git]
/
netris.h
diff --git
a/netris.h
b/netris.h
index 1af1db61bea6e27f9561af78d70dfa174993fd0a..489dfaccdb4aa2a03a049f96c016de579f737cd8 100644
(file)
--- a/
netris.h
+++ b/
netris.h
@@
-63,9
+63,9
@@
typedef long netint4;
#define CONFIG_FILE "netris.conf"
#define CONFIG_FILE "netris.conf"
-//#define DEFAULT_KEYS "hlkj m
fp^l
q"
-//#define DEFAULT_KEYS "4685
2fp^l
q"
-#define DEFAULT_KEYS "dcaf
b^fp^l
q"
+//#define DEFAULT_KEYS "hlkj m
nfp^lt
q"
+//#define DEFAULT_KEYS "4685
02fp^l^m
q"
+#define DEFAULT_KEYS "dcaf
xb^fp^l^m
q"
#define MAX_BOARD_WIDTH 32
#define MAX_BOARD_HEIGHT 64
#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,
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;
BT_wall, BT_len
} BlockTypeA;
typedef enum _FDType { FT_read, FT_write, FT_except, FT_len } FDType;
@@
-195,7
+195,7
@@
EXT _Game Game;
EXT GameType game; // => Game.type
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
#endif //__NETRIS_H