()
| 2345 | } |
| 2346 | |
| 2347 | private static void SearchLocalGames() { |
| 2348 | int i; |
| 2349 | |
| 2350 | m_num_servers = 0; |
| 2351 | for (i = 0; i < MAX_LOCAL_SERVERS; i++) |
| 2352 | local_server_names[i] = NO_SERVER_STRING; |
| 2353 | |
| 2354 | DrawTextBox(8, 120 - 48, 36, 3); |
| 2355 | Print(16 + 16, 120 - 48 + 8, "Searching for local servers, this"); |
| 2356 | Print(16 + 16, 120 - 48 + 16, "could take up to a minute, so"); |
| 2357 | Print(16 + 16, 120 - 48 + 24, "please be patient."); |
| 2358 | |
| 2359 | // the text box won't show up unless we do a buffer swap |
| 2360 | ClientGlobals.re.EndFrame(); |
| 2361 | |
| 2362 | // send out info packets |
| 2363 | // CL.PingServers_f.execute(Collections.emptyList()); |
| 2364 | } |
| 2365 | |
| 2366 | private static void SearchLocalGamesFunc(Object self) { |
| 2367 | SearchLocalGames(); |
no test coverage detected