(int x, int y, int f)
| 366 | private static boolean cached; |
| 367 | |
| 368 | private static void DrawCursor(int x, int y, int f) { |
| 369 | assert (f >= 0) : "negative time and cursor bug"; |
| 370 | |
| 371 | f = Math.abs(f); |
| 372 | |
| 373 | if (!cached) { |
| 374 | for (int i = 0; i < NUM_CURSOR_FRAMES; i++) { |
| 375 | ClientGlobals.re.RegisterPic("m_cursor" + i); |
| 376 | } |
| 377 | cached = true; |
| 378 | } |
| 379 | ClientGlobals.re.DrawPic(x, y, "m_cursor" + f); |
| 380 | } |
| 381 | |
| 382 | private static void DrawTextBox(int x, int y, int width, int lines) { |
| 383 | int cx, cy; |
no test coverage detected