-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFLCommon.h
executable file
·137 lines (117 loc) · 4.41 KB
/
FLCommon.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
class __declspec(dllimport) INI_Reader
{
public:
INI_Reader(class INI_Reader const &);
INI_Reader(void);
~INI_Reader(void);
class INI_Reader & operator=(class INI_Reader const &);
void close(void);
bool find_header(char const *);
bool get_bool(unsigned int);
char const * get_file_name(void)const;
char const * get_header_ptr(void);
char const * get_indexed_value(unsigned int);
int get_line_num(void)const;
char const * get_line_ptr(void);
char const * get_name(void)const;
char const * get_name_ptr(void);
unsigned int get_num_parameters(void)const;
void get_state(struct State &)const;
bool get_value_bool(unsigned int);
float get_value_float(unsigned int);
int get_value_int(unsigned int);
char const * get_value_ptr(void);
char const * get_value_string(unsigned int);
char const * get_value_string(void);
unsigned short const * get_value_wstring(void);
class Vector get_vector(void);
bool is_end(void)const;
bool is_header(char const *);
bool is_number(char const *)const;
bool is_value(char const *);
bool is_value_empty(unsigned int);
void log_link(char const *)const;
bool open(char const *,bool);
bool open_memory(char const *,unsigned int);
bool read_header(void);
bool read_value(void);
void reset(void);
void seek(unsigned int);
void set_state(struct State const &);
unsigned int tell(void)const;
double value_num(unsigned int);
public:
unsigned char data[5480];
};
////////////////////////////////////////////////////////////////////////////////////////
class __declspec(dllimport) RenderDisplayList
{
public:
RenderDisplayList(class RenderDisplayList const &);
RenderDisplayList(void);
~RenderDisplayList(void);
class RenderDisplayList & operator=(class RenderDisplayList const &);
void execute(class TextRenderContext &,bool);
void get_dimensions(class TextRenderContext &,float &,float &,float &);
int get_element_count(void)const ;
bool get_element_pos(class TextRenderContext &,int,float &,float &,float &);
void optimize(void);
void update(float);
public:
unsigned char data[2048];
};
////////////////////////////////////////////////////////////////////////////////////////
class __declspec(dllimport) BinaryRDLReader
{
public:
BinaryRDLReader(class BinaryRDLReader const &);
BinaryRDLReader(void);
class BinaryRDLReader & operator=(class BinaryRDLReader const &);
virtual bool extract_text_from_buffer(unsigned short *,unsigned int,unsigned int &,char const *,unsigned int);
virtual bool read_buffer(class RenderDisplayList &,char const *,unsigned int);
virtual bool read_file(class RenderDisplayList &,char const *);
public:
unsigned char data[2048];
};
////////////////////////////////////////////////////////////////////////////////////////
class __declspec(dllimport) BinaryRDLWriter
{
public:
BinaryRDLWriter(class BinaryRDLWriter const &);
BinaryRDLWriter(void);
class BinaryRDLWriter & operator=(class BinaryRDLWriter const &);
virtual bool write_buffer(class RenderDisplayList const &,char *,unsigned int,unsigned int &);
virtual bool write_file(class RenderDisplayList const &,char const *);
public:
unsigned char data[2048];
};
////////////////////////////////////////////////////////////////////////////////////////
class __declspec(dllimport) XMLReader
{
public:
XMLReader(class XMLReader const &);
XMLReader(void);
class XMLReader & operator=(class XMLReader const &);
virtual bool extract_text_from_buffer(unsigned short *,unsigned int,unsigned int &,char const *,unsigned int);
virtual bool read_buffer(class RenderDisplayList &,char const *,unsigned int);
virtual bool read_file(class RenderDisplayList &,char const *);
public:
unsigned char data[2048];
};
////////////////////////////////////////////////////////////////////////////////////////
class __declspec(dllimport) XMLWriter
{
public:
XMLWriter(class XMLWriter const &);
XMLWriter(void);
class XMLWriter & operator=(class XMLWriter const &);
virtual bool write_buffer(class RenderDisplayList const &,char *,unsigned int,unsigned int &);
virtual bool write_file(class RenderDisplayList const &,char const *);
public:
unsigned char data[2048];
};
////////////////////////////////////////////////////////////////////////////////////////
bool __declspec(dllimport) SinglePlayer(void);
///
////////////////////////////////////////////////////////////////////////////////////////
///