-
Notifications
You must be signed in to change notification settings - Fork 0
/
HR.C
48 lines (42 loc) · 732 Bytes
/
HR.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
The Hyper-Reader Ver 4.10
Produced by Zhao Chang
Compile Date: 2000-12-17
Compile by TC++ 3.0
*/
#define HR_MAIN
#include <stdio.h>
#include "reader.h"
void main(int argc,char *argv[])
{ARGC=argc;
CMD=argv[0];
if (ARGC>1)
ARGV=argv[1];
else
ARGV=NULL;
HyperReader_init();
set_graph();
while (1)
{page0=ftell(story_file);
read_story(story);
page1=ftell(story_file);
print(story,xx,yy);
bof_eof();
wait();
clear();
}
}
void HyperReader_init(void)
{CloseCur();
ClrScr();
puts("\nWelcome to the HyperReader 2000");
puts("=========================================");
read_ini();
alloc_mem();
read_HZK();
graph_init();
image();
CloseCur();
read_file();
read_LabelFile();
}