| 33 | } |
| 34 | |
| 35 | void DrawCutscene() |
| 36 | { |
| 37 | DWORD i; |
| 38 | |
| 39 | lock_buf(1); |
| 40 | CelDraw(PANEL_X, 480 + SCREEN_Y - 1, (BYTE *)sgpBackCel, 1, 640); |
| 41 | |
| 42 | for (i = 0; i < sgdwProgress; i++) { |
| 43 | DrawProgress( |
| 44 | BarPos[progress_id][0] + i + PANEL_X, |
| 45 | BarPos[progress_id][1] + SCREEN_Y, |
| 46 | progress_id); |
| 47 | } |
| 48 | |
| 49 | unlock_buf(1); |
| 50 | force_redraw = 255; |
| 51 | scrollrt_draw_game_screen(FALSE); |
| 52 | } |
| 53 | |
| 54 | void DrawProgress(int screen_x, int screen_y, int progress_id) |
| 55 | { |
no test coverage detected