home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1999 February
/
VPR9902A.BIN
/
FFILLY
/
UG
/
ugmain.tfy
< prev
next >
Wrap
Text File
|
1998-04-30
|
1KB
|
57 lines
// GLOBAL VAL----------------------------------------------------------
int basePic;
int scrW, scrH; // SCREEN SIZE
str prgDir;
str picExt;
#include "winbut.tfy"
#include "mci.tfy"
#include "game.tfy"
#include "data.tfy"
#include "chara.tfy"
#include "waza.tfy"
#include "mwin.tfy"
#include "card.tfy"
// MAIN -----------------------------------------------------------------
main() {
int pic;
int i;
Debug(1);
//Ext = "bmp";
prgDir = GetCWD();
if ( SubStr( prgDir, StrLen( prgDir ) - 1, 1 ) != "\" ) {
prgDir = StrPrint( "%s\", prgDir );
}
scrW = WinInfo( 0 ); scrH = WinInfo( 1 );
pic = LoadPic( "1pixel.bmp" );
basePic = CreatePic( pic, scrW, scrH );
DelPic( pic );
initGame( basePic );
MainWin( 1, 0, basePic );
} // method end
// END ALL ------------------------------------------------------------
int TheEnd() {
int i;
mes( TIME ){
step( 15 ){
,
del_all;
DelPic( basePic );
CloseWinAll();
ExitTitle();
del_me;
}
}
} // method end