Mercurial > hg > forks > pwpunix
view final_isi/fisimain.c @ 51:53676367d46f
Hack Final Isi to "work", kind of. Requires a nasty hack in pwplib to actually run (without it, it quits abruptly .. not yet sure why.)
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 24 May 2010 11:48:48 +0300 |
parents | acb5694e93d9 |
children |
line wrap: on
line source
#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; }