home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
games
/
sot.zip
/
SOT.C
next >
Wrap
Text File
|
1988-08-25
|
581b
|
38 lines
/********** The Son of Tetris Project ************/
/* WRW August '88 V1.0 */
/***************** Main file ********************/
#include <setjmp.h>
#include "sot.h"
/* Global data */
int arena[BLW][BLH]; /* Where everything is stored */
SHP_TYPE *shp_lst;
int no_of_shapes;
jmp_buf end_game;
/* Main function */
main(int argc, char *argv[])
{
if (argc)
init_score(argv[0]);
init_shapes();
init_video();
if (!setjmp(end_game))
game();
end_video();
end_score();
return 0;
} /* main */