Mercurial > hg > forks > pwpunix
diff final_isi/main.c @ 69:c13a2f8c5b10
Rename files and some minor cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 01 Jun 2012 17:41:15 +0300 |
parents | final_isi/fisimain.c@53676367d46f |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/final_isi/main.c Fri Jun 01 17:41:15 2012 +0300 @@ -0,0 +1,33 @@ +#include <stdio.h> +#include <stdlib.h> +#include "pwplib.h" + +char setup_english=0; + +extern void playtick(); + +int main(int argc,char**argv) +{ + if(!pwplib_init(argc,argv))return 1; + + pwpwrite("final isi (1st at abduction '98 pc introcompo)\n"); + + pwplib.videobuf.width=80; + pwplib.videobuf.height=50; + + if(!pwplib.setup[SETUP_NOSOUND]) + pwplib.player=playtick; + + precalx(); + + pwpwrite(setup_english?"using the english language\n" + :"puhumme suomea\n"); + + pwplib_startup(); + + demoloop(); + + pwplib_end(); + + return 0; +}