Subversion Repositories Kolibri OS

Rev

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

Rev 9213 Rev 9790
Line 9... Line 9...
9
#include "wl_def.h"
9
#include "wl_def.h"
10
#pragma hdrstop
10
#pragma hdrstop
11
#include "wl_atmos.h"
11
#include "wl_atmos.h"
12
#include 
12
#include 
Line -... Line 13...
-
 
13
 
-
 
14
#ifdef _KOLIBRI
-
 
15
    #include 
-
 
16
    #include 
-
 
17
#endif
13
 
18
 
14
/*
19
/*
Line 15... Line 20...
15
=============================================================================
20
=============================================================================
Line 22... Line 27...
22
 
27
 
23
=============================================================================
28
=============================================================================
Line 24... Line 29...
24
*/
29
*/
25
 
-
 
26
extern byte signon[];
-
 
27
extern void kolibri_set_win_center();
-
 
28
extern char* dirname(char* path);
-
 
29
extern void setcwd(char* path);
30
 
30
 
31
extern byte signon[];
31
extern boolean SD_Started;
32
extern boolean SD_Started;
Line 32... Line 33...
32
/*
33
/*
Line 1126... Line 1127...
1126
 
1127
 
Line 1127... Line 1128...
1127
    MenuFadeOut();
1128
    MenuFadeOut();
1128
 
1129
 
1129
#ifndef SPEAR
1130
#ifndef SPEAR
1130
#ifndef UPLOAD
1131
#ifndef UPLOAD
1131
    start = (( uSDL_GetTicks()/10)%3)*6;
1132
    start = (( SDL_GetTicks()/10)%3)*6;
1132
#else
1133
#else
1133
    start = 0;
1134
    start = 0;
1134
#endif
1135
#endif
Line 1237... Line 1238...
1237
#if defined(GP2X_940)
1238
#if defined(GP2X_940)
1238
    GP2X_MemoryInit();
1239
    GP2X_MemoryInit();
1239
#endif
1240
#endif
Line 1240... Line 1241...
1240
 
1241
 
1241
    SignonScreen ();
-
 
1242
#ifdef _KOLIBRI
-
 
1243
    kolibri_set_win_center();
-
 
Line 1244... Line 1242...
1244
#endif    
1242
    SignonScreen ();
1245
 
1243
 
1246
#if defined _WIN32
1244
#if defined _WIN32
1247
    if(!fullscreen)
1245
    if(!fullscreen)
Line 1976... Line 1974...
1976
extern void kolibri_set_win_max(void);
1974
extern void kolibri_set_win_max(void);
Line 1977... Line 1975...
1977
 
1975
 
1978
int main (int argc, char *argv[])
1976
int main (int argc, char *argv[])
1979
{
1977
{
1980
#ifdef _KOLIBRI
1978
#ifdef _KOLIBRI
1981
    setcwd(dirname(argv[0]));
1979
    _ksys_setcwd(dirname(argv[0]));
1982
    kolibri_set_win_max();
1980
    kolibri_set_win_max();
Line 1983... Line 1981...
1983
#endif
1981
#endif
1984
 
1982