-
Notifications
You must be signed in to change notification settings - Fork 11
/
globals.h
68 lines (52 loc) · 1.68 KB
/
globals.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
/*
* ff7_opengl - Complete OpenGL replacement of the Direct3D renderer used in
* the original ports of Final Fantasy VII and Final Fantasy VIII for the PC.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* globals.h - global variables
*/
#ifndef _GLOBALS_H_
#define _GLOBALS_H_
#include <windows.h>
#include "types.h"
#include "ff7.h"
#include "ff8.h"
extern uint version;
#define BASEDIR_LENGTH 512
extern char basedir[BASEDIR_LENGTH];
extern uint width;
extern uint height;
extern uint x_offset;
extern uint y_offset;
extern uint output_size_x;
extern uint output_size_y;
extern bool indirect_rendering;
extern struct texture_format *texture_format;
extern struct ff7_externals ff7_externals;
extern struct ff8_externals ff8_externals;
extern struct common_externals common_externals;
extern struct driver_stats stats;
extern char popup_msg[];
extern uint popup_ttl;
extern uint popup_color;
extern HWND hwnd;
extern unsigned char font_map[];
extern struct game_mode modes[];
extern uint num_modes;
extern uint text_colors[];
extern bool ff8;
extern uint frame_counter;
#endif