X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/406e72f6bc3be827e1202d817677e8af093231dc..bf847a2163e3d2c60e4aa730b3508620c98b89f1:/netris.h diff --git a/netris.h b/netris.h index 28a4132..99c8dcb 100644 --- a/netris.h +++ b/netris.h @@ -157,14 +157,14 @@ typedef struct { int boardHeight, boardWidth, boardVisible; int curX, curY; char curShape, nextShape; - struct _Score { + struct score_t { short level; long score; int pieces, lines, adds; } score; char host[256]; //last -} _Player; -EXT _Player Players[MAX_SCREENS]; +} player_t; +EXT player_t Players[MAX_SCREENS]; EXT short me; EXT short maxPlayer; EXT int spied; //in player.flags @@ -182,8 +182,8 @@ typedef struct { long seed; //4 int initspeed; //5 int speed; -} _Game; -EXT _Game Game; +} game_t; +EXT game_t Game; #define MSG_WIDTH 128