kolibrios/programs/cmm/examples/pig.c
Kirill Lipatov (Leency) e0615bc762 Rtfread:
- remove outdated unused code
- use built-in font instead of a file in /fonts/ folder

git-svn-id: svn://kolibrios.org@7433 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-04 17:53:33 +00:00

26 lines
448 B
C

/*
* Template C-- program.
*/
#define MEMSIZE 4096*5
#include "../lib/kolibri.h"
#include "../lib/fs.h"
#include "../lib/patterns/restart_process.h"
proc_info Form;
void main()
{
int i;
CreateDir("/tmp0/1/pig");
RunProgram("/sys/UNZ", "-o /tmp0/1/pig -h /kolibrios/games/pig.zip");
for (i = 0; i < 200; i++)
{
if (CheckProcessExists("UNZ")==false) break;
pause(3);
}
RunProgram("/tmp0/1/pig/pig", NULL);
}