equal
deleted
inserted
replaced
7 // This file handles the GameList |
7 // This file handles the GameList |
8 // Also, it handles the request to a server for data about the server |
8 // Also, it handles the request to a server for data about the server |
9 |
9 |
10 extern void UpdateNetworkGameWindow(bool unselect); |
10 extern void UpdateNetworkGameWindow(bool unselect); |
11 |
11 |
12 void NetworkGameListClear(void) |
12 static void NetworkGameListClear(void) |
13 { |
13 { |
14 NetworkGameList *item; |
14 NetworkGameList *item; |
15 NetworkGameList *next; |
15 NetworkGameList *next; |
16 |
16 |
17 item = _network_game_list; |
17 item = _network_game_list; |
90 } |
90 } |
91 item = item->next; |
91 item = item->next; |
92 } |
92 } |
93 } |
93 } |
94 |
94 |
95 void NetworkGameListAddQueriedItem(const NetworkGameInfo *info, bool server_online) |
95 static void NetworkGameListAddQueriedItem(const NetworkGameInfo *info, bool server_online) |
96 { |
96 { |
97 // We queried a server and now we are going to add it to the list |
97 // We queried a server and now we are going to add it to the list |
98 NetworkGameList *item; |
98 NetworkGameList *item; |
99 |
99 |
100 item = NetworkGameListAddItem(_network_last_host_ip, _network_last_port); |
100 item = NetworkGameListAddItem(_network_last_host_ip, _network_last_port); |