Subversion Repositories Kolibri OS

Rev

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

Rev 950 Rev 1810
Line 1... Line -...
1
#include "kolibri.h"
-
 
2
#include "stdio.h"
-
 
3
#include "stdlib.h"
-
 
4
#include "string.h"
-
 
Line -... Line 1...
-
 
1
#include "system/kolibri.h"
-
 
2
#include "system/stdlib.h"
-
 
3
#include "system/string.h"
-
 
4
 
5
 
5
#include "system/gblib.h"
-
 
6
 
6
#include "gblib.h"
7
#include "az3.h"
7
#include "az3.h"
8
#include "az4.h"
Line 8... Line 9...
8
#include "az4.h"
9
 
Line 21... Line 22...
21
} p_point;
22
 
22
 
23
//=====================================
Line 23... Line 24...
23
//=====================================
24
 
Line 24... Line 25...
24
 
25
char STR_TITLE[] = {"Piton 0.3.1"};
Line 25... Line 26...
25
char STR_TITLE[] = {"Piton 0.3"};
26
 
26
 
27
int mode;
Line 27... Line 28...
27
int mode;
28
char score[10];
Line 173... Line 174...
173
switch ( mode)
174
	{
174
	{
175
	case 0:
175
	case 0:
176
		gb_bar(&screen, 0, 0, scrw, scrh, 0xbb);
176
		gb_bar(&screen, 0, 0, scrw, scrh, 0xbb);
177
		az_puts("Ï È Ò Î Í   0.3.1", 10, 60);
177
		az_puts("Ï È Ò Î Í   0.3", 10, 60);
178
		az_puts("ðåìåéê äëÿ ÎÑ Êîëèáðè", 10, 120);
178
		az_puts("ðåìåéê äëÿ ÎÑ Êîëèáðè", 10, 120);
179
		az_puts("àâòîð: À. Áîãîìàç", 10, 135);
179
		az_puts("àâòîð: À. Áîãîìàç", 10, 135);
180
		press_space();
180
		press_space();
181
		break;
181
		break;
182
	
Line 201... Line 202...
201
		gb_bar(&screen, 0, 0, scrw, scrh, 0xee0000);
202
		az_puts("Ê Î Í Å Ö    È Ã Ð Û", 10, 60);
202
		az_puts("Ê Î Í Å Ö    È Ã Ð Û", 10, 60);
203
		kol_screen_wait_rr();
203
		kol_screen_wait_rr();
204
		kol_paint_image(0, 0, scrw, scrh, screen.bmp);
204
		kol_paint_image(0, 0, scrw, scrh, screen.bmp);
205
		kol_sleep(170);
205
		kol_sleep(120);
206
		mode = 0;
206
		mode = 0;
207
		return;
207
		return;
208
	};
208
	};
209
 
209
 
210
kol_screen_wait_rr();
Line 210... Line 211...
210
kol_screen_wait_rr();
211
kol_paint_image(0, 0, scrw, scrh, screen.bmp);
Line 280... Line 281...
280
mode = 0;
281
 
Line 281... Line 282...
281
 
282
for (;;)
282
for (;;)
283
	{
283
	{
284
	kol_sleep(7);
Line 284... Line 285...
284
	kol_sleep(9);
285
 
285
 
286
	if ( 1 == mode)
286
	if ( 1 == mode)
287
		{