Rev 140 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 140 | Rev 164 | ||
|---|---|---|---|
| Line 899... | Line 899... | ||
| 899 | // if needed, print the spinning wheel |
899 | // if needed, print the spinning wheel |
| 900 | if (scene->gui.want_spinwheel) |
900 | if (scene->gui.want_spinwheel) |
| 901 | Render_DrawSprite (&sprites[spinner_spriteindex[(int) (10.0f * current_time) % 12]], 47.0f, 46.0f, 6.0f, 8.0f, 255); |
901 | Render_DrawSprite (&sprites[spinner_spriteindex[(int) (10.0f * current_time) % 12]], 47.0f, 46.0f, 6.0f, 8.0f, 255); |
| 902 | 902 | ||
| 903 | // are we in demo mode ? if so, display the program name as a watermark |
903 | // are we in demo mode ? if so, display the program name as a watermark |
| - | 904 | #ifndef NO_REGISTRATION |
|
| 904 | if (!is_registered) |
905 | if (!is_registered) |
| 905 | Render_wprintf (50.0f, 60.0f, 0.0f, ALIGN_CENTER, ALIGN_CENTER, ALIGN_CENTER, chat_fontindex, |
906 | Render_wprintf (50.0f, 60.0f, 0.0f, ALIGN_CENTER, ALIGN_CENTER, ALIGN_CENTER, chat_fontindex, |
| 906 | D3DCOLOR_RGBA (255, 255, 255, 255), |
907 | D3DCOLOR_RGBA (255, 255, 255, 255), |
| 907 | NULL, PROGRAM_NAME L"%s - " PROGRAM_URL L"\n- %d:%02d -", LOCALIZE (L"EvaluationMode"), (int) (DEMO_TIMEOUT - current_time) / 60, (int) (DEMO_TIMEOUT - current_time) % 60); |
908 | NULL, PROGRAM_NAME L"%s - " PROGRAM_URL L"\n- %d:%02d -", LOCALIZE (L"EvaluationMode"), (int) (DEMO_TIMEOUT - current_time) / 60, (int) (DEMO_TIMEOUT - current_time) % 60); |
| - | 909 | #endif // !NO_REGISTRATION |
|
| 908 | 910 | ||
| 909 | // end 3D rendering on the back buffer |
911 | // end 3D rendering on the back buffer |
| 910 | ////////////////////////////////////// |
912 | ////////////////////////////////////// |
| 911 | 913 | ||
| 912 | d3ddev->EndScene (); // ends the 3D scene |
914 | d3ddev->EndScene (); // ends the 3D scene |