Rev 136 | Rev 153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 136 | Rev 140 | ||
|---|---|---|---|
| Line 217... | Line 217... | ||
| 217 | return (false); // consistency check: if we aren't connected, don't do anything |
217 | return (false); // consistency check: if we aren't connected, don't do anything |
| 218 | 218 | ||
| 219 | // are we NOT logged in yet AND is our socket valid AND is there nothing in the center of the screen yet ? |
219 | // are we NOT logged in yet AND is our socket valid AND is there nothing in the center of the screen yet ? |
| 220 | if (!player->is_logged_in && (player->our_socket != INVALID_SOCKET) && !the_scene.gui.central_text.is_displayed) |
220 | if (!player->is_logged_in && (player->our_socket != INVALID_SOCKET) && !the_scene.gui.central_text.is_displayed) |
| 221 | { |
221 | { |
| 222 | Scene_SetText (&the_scene.gui.central_text, 50.0f, 40.0f, -1, ALIGN_CENTER, ALIGN_CENTER, ALIGN_CENTER, centermsg_fontindex, RGBA_TO_RGBACOLOR (255, 255, 255, 191), |
- | |
| 223 |
|
222 | Scene_UpdateText (&the_scene.gui.central_text, RGBA_TO_RGBACOLOR (255, 255, 255, 191), DURATION_INFINITE, true, LOCALIZE (L"Connecting")); // display "connecting" in the middle of the screen |
| 224 | the_scene.gui.want_spinwheel = true; // start spinning wheel |
223 | the_scene.gui.want_spinwheel = true; // start spinning wheel |
| 225 | } |
224 | } |
| 226 | 225 | ||
| 227 | do_update = false; // assume we don't need to update the scene until told otherwise |
226 | do_update = false; // assume we don't need to update the scene until told otherwise |
| 228 | 227 | ||