-
Notifications
You must be signed in to change notification settings - Fork 6
/
KORNY.H
116 lines (83 loc) · 2.21 KB
/
KORNY.H
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
class kornyezet {
public:
pic8* ppic_fomenu;
abc8* pabc_fomenu;
ddpal* pal_fomenu;
ddpal* pal_editor;
pic8* ppic_load;
abc8* pabc_load;
ddpal* pal_load;
pic8* ppic_help;
abc8* pabc_help;
ddpal* pal_help;
pic8* ppic_saveplay;
abc8* pabc_saveplay;
ddpal* pal_saveplay;
//pic8* ppic_loadplay;
//abc8* pabc_loadplay;
//unsigned char* pal_loadplay;
pic8* ppic_playmenu;
abc8* pabc_playmenu;
ddpal* pal_playmenu;
pic8* ppic_afterplaymenu;
abc8* pabc_afterplaymenu;
ddpal* pal_afterplaymenu;
pic8* ppic_newjatekos;
abc8* pabc_newjatekos;
ddpal* pal_newjatekos;
pic8* ppic_jatekosval;
abc8* pabc_jatekosval;
ddpal* pal_jatekosval;
pic8* ppic_times;
abc8* pabc_times;
ddpal* pal_times;
pic8* ppic_leveltimes;
abc8* pabc_leveltimes;
ddpal* pal_leveltimes;
pic8* ppic_setsize;
abc8* pabc_setsize;
ddpal* pal_setsize;
pic8* ppic_setsizemot;
unsigned char setsizeindex;
pic8* ppic_vollecbal; // Eggyel szelesebb jobbra, amit kozepre megy
pic8* ppic_vollecjobb;
pic8* ppic_volgomb;
pic8* picbuffervalaszt;
pic8* picbuffer;
rubrika* rubrikak;
palyaleiro* pleiro;
int leiroazonosito;
st320 st;
int levelpszak;
//unsigned long belyegpszak;
recorder* prec;
char legjobbido[10];
int resbeolvlevel; // 0 -> text, 1 -> 320x200, 3 -> 640x400
double fakt_beolvlevel;
// Hatterkeppel kapcsolatos dolgok:
double lassitas;
int hatteralapx, hatteralapy;
kornyezet( void );
~kornyezet( void );
void hatterszamitas( double tartxsize, double tartysize );
};
void pleasewait( char* nev );
extern kornyezet* Korny; // teljes.cpp-ben van inicializalva.
void dialog320( char* text0, char* text1 = NULL, char* text2 = NULL,
char* text3 = NULL, char* text4 = NULL,
char* text5 = NULL, char* text6 = NULL );
/* Ez volt regen:
extern char Palyanevek[PALYASZAM][MAXRUBRIKAHOSSZ-5];
extern int Leiroazonositotomb[PALYASZAM];
extern char Palyatextnevtomb[PALYASZAM][20]; */
extern char Leironevtomb[5][20];
struct leveltomb_s {
int ujpalya;
int leiroazonosito;
char description[MAXRUBRIKAHOSSZ];
char filenev[12];
};
extern leveltomb_s Leveltomb[100];
extern int Levellista[100]; // Leveltombbe indexel
// Visszaadja level leirasat (nem szabad bantani):
char* getleveldescription( int level );