Mercurial > hg > forks > pwpunix
comparison 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 |
comparison
equal
deleted
inserted
replaced
68:48c3defeca8f | 69:c13a2f8c5b10 |
---|---|
1 #include <stdio.h> | |
2 #include <stdlib.h> | |
3 #include "pwplib.h" | |
4 | |
5 char setup_english=0; | |
6 | |
7 extern void playtick(); | |
8 | |
9 int main(int argc,char**argv) | |
10 { | |
11 if(!pwplib_init(argc,argv))return 1; | |
12 | |
13 pwpwrite("final isi (1st at abduction '98 pc introcompo)\n"); | |
14 | |
15 pwplib.videobuf.width=80; | |
16 pwplib.videobuf.height=50; | |
17 | |
18 if(!pwplib.setup[SETUP_NOSOUND]) | |
19 pwplib.player=playtick; | |
20 | |
21 precalx(); | |
22 | |
23 pwpwrite(setup_english?"using the english language\n" | |
24 :"puhumme suomea\n"); | |
25 | |
26 pwplib_startup(); | |
27 | |
28 demoloop(); | |
29 | |
30 pwplib_end(); | |
31 | |
32 return 0; | |
33 } |