equal
deleted
inserted
replaced
25 |
25 |
26 #define BGC 5 |
26 #define BGC 5 |
27 #define BTC 15 |
27 #define BTC 15 |
28 |
28 |
29 typedef struct network_d { |
29 typedef struct network_d { |
30 byte company; // select company in network lobby |
30 PlayerID company; // select company in network lobby |
31 byte field; // select text-field in start-server and game-listing |
31 byte field; // select text-field in start-server and game-listing |
32 NetworkGameList *server; // selected server in lobby and game-listing |
32 NetworkGameList *server; // selected server in lobby and game-listing |
33 FiosItem *map; // selected map in start-server |
33 FiosItem *map; // selected map in start-server |
34 } network_d; |
34 } network_d; |
35 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(network_d)); |
35 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(network_d)); |
1002 |
1002 |
1003 // The window below gives information about the connected clients |
1003 // The window below gives information about the connected clients |
1004 // and also makes able to give money to them, kick them (if server) |
1004 // and also makes able to give money to them, kick them (if server) |
1005 // and stuff like that. |
1005 // and stuff like that. |
1006 |
1006 |
1007 extern void DrawPlayerIcon(int p, int x, int y); |
1007 extern void DrawPlayerIcon(PlayerID pid, int x, int y); |
1008 |
1008 |
1009 // Every action must be of this form |
1009 // Every action must be of this form |
1010 typedef void ClientList_Action_Proc(byte client_no); |
1010 typedef void ClientList_Action_Proc(byte client_no); |
1011 |
1011 |
1012 // Max 10 actions per client |
1012 // Max 10 actions per client |