Subversion Repositories Kolibri OS

Rev

Rev 9700 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9700 Rev 9701
Line 37... Line 37...
37
dword  I_Param      =   #__argv;
37
dword  I_Param      =   #__argv;
38
dword  I_Path       =   #__path;
38
dword  I_Path       =   #__path;
Line 39... Line 39...
39
 
39
 
40
#define param           __argv
40
#define param           __argv
-
 
41
#define program_path    __path
41
#define program_path    __path
42
#define ______INIT______  start
Line 42... Line 43...
42
#endif
43
#endif
Line 43... Line 44...
43
 
44
 
Line 663... Line 664...
663
:byte skin_h;
664
:byte skin_h;
Line 664... Line 665...
664
 
665
 
Line 665... Line 666...
665
dword __generator;  // random number generator init
666
dword __generator;  // random number generator init
666
 
-
 
667
//The initialization of the initial data before running
-
 
668
//#ifdef __COFF__
-
 
669
//void start()
667
 
670
//#else
-
 
671
:void ______INIT______()
668
//The initialization of the initial data before running
672
//#endif
669
:void ______INIT______()
673
{
670
{
674
	skin_h   = @GetSkinHeight();
671
	skin_h   = @GetSkinHeight();
675
	screen.w  = @GetScreenWidth()+1;
672
	screen.w  = @GetScreenWidth()+1;
676
	screen.h = @GetScreenHeight()+1;
673
	screen.h = @GetScreenHeight()+1;
677
	__generator = @GetStartTime();
674
	__generator = @GetStartTime();
678
#ifndef __COFF__	
675
#ifndef __COFF__	
679
	mem_init();
676
	mem_init();
680
#endif
677
#endif
-
 
678
	main();
-
 
679
}
-
 
680
 
-
 
681
#ifdef __COFF__
-
 
682
@ void start();
681
	main();
683
#undef ______INIT______
682
}
684
#else
-
 
685
______STOP______:
Line 683... Line 686...
683
______STOP______:
686
#endif
684
#endif
687
#endif
685
 
688