Rev 12 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12 | Rev 14 | ||
---|---|---|---|
Line 875... | Line 875... | ||
875 | // if needed, print the spinning wheel |
875 | // if needed, print the spinning wheel |
876 | if (scene->gui.want_spinwheel) |
876 | if (scene->gui.want_spinwheel) |
877 | Render_DrawSprite (&sprites[spinner_spriteindex[(int) (10.0f * current_time) % 12]], 47.0f, 46.0f, 6.0f, 8.0f, 255); |
877 | Render_DrawSprite (&sprites[spinner_spriteindex[(int) (10.0f * current_time) % 12]], 47.0f, 46.0f, 6.0f, 8.0f, 255); |
878 | 878 | ||
879 | // are we in demo mode ? if so, display the program name as a watermark |
879 | // are we in demo mode ? if so, display the program name as a watermark |
880 |
|
880 | if (!is_registered) |
881 | Render_wprintf (initial_width / 2, initial_height * 2 / 3, -1, ALIGN_CENTER, ALIGN_CENTER, ALIGN_CENTER, chat_fontindex, |
881 | Render_wprintf (initial_width / 2, initial_height * 2 / 3, -1, ALIGN_CENTER, ALIGN_CENTER, ALIGN_CENTER, chat_fontindex, |
882 | D3DCOLOR_RGBA (255, 255, 255, 191), |
882 | D3DCOLOR_RGBA (255, 255, 255, 191), |
883 | NULL, PROGRAM_NAME L" - " PROGRAM_URL L"\n- %d:%02d -", (int) (DEMO_TIMEOUT - current_time) / 60, (int) (DEMO_TIMEOUT - current_time) % 60); |
883 | 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); |
884 | #endif // DEMO |
- | |
885 | 884 | ||
886 | // end 3D rendering on the back buffer |
885 | // end 3D rendering on the back buffer |
887 | ////////////////////////////////////// |
886 | ////////////////////////////////////// |
888 | 887 | ||
889 | d3ddev->EndScene (); // ends the 3D scene |
888 | d3ddev->EndScene (); // ends the 3D scene |