Subversion Repositories Kolibri OS

Rev

Rev 7480 | Rev 7484 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7480 Rev 7481
Line 71... Line 71...
71
			break;
71
			break;
72
		default:
72
		default:
73
			OnMouseMove();
73
			OnMouseMove();
74
			break;
74
			break;
75
		}
75
		}
76
		if (kos_GetButtonID(btn_id)==1) OnExit();
76
		if (kos_GetButtonID(btn_id)) OnExit();
77
		DrawBombs();
77
		DrawBombs();
78
		DrawRocketsAndCrosses();
78
		DrawRocketsAndCrosses();
79
		DrawExplodes();
79
		DrawExplodes();
80
		frame_end = kos_GetTime();
80
		frame_end = kos_GetTime();
81
		if (frame_end - frame_start < FRAME_TIME)
81
		if (frame_end - frame_start < FRAME_TIME)
Line 90... Line 90...
90
}
90
}
Line 91... Line 91...
91
 
91
 
92
void DrawWindow()
92
void DrawWindow()
93
{
93
{
94
	kos_WindowRedrawStatus(1);
94
	kos_WindowRedrawStatus(1);
95
	kos_DefineAndDrawWindow(10, 40, WINDOW_WIDTH + 8, WINDOW_HEIGHT + 25, 0x33, BG_COLOR, 0, 0, (Dword)header);
95
	kos_DefineAndDrawWindow(10, 40, WINDOW_WIDTH + 8, WINDOW_HEIGHT + kos_GetSkinHeight(), 0x34, BG_COLOR, 0, 0, (Dword)header);
Line 96... Line 96...
96
	kos_WindowRedrawStatus(2);
96
	kos_WindowRedrawStatus(2);
97
 
97