forked from EXL/NXEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.fdh
127 lines (79 loc) · 3.1 KB
/
main.fdh
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
//hash:5e5b9413
//automatically generated by Makegen
/* located in main.cpp */
//---------------------[referenced from main.cpp]--------------------//
void gameloop(void);
static inline void run_tick();
void update_fps();
void InitNewGame(bool with_intro);
void AppMinimized(void);
static void fatal(const char *str);
static bool check_data_exists();
void visible_warning(const char *fmt, ...);
void speed_test(void);
void speed_test(void);
void org_test_miniloop(void);
void SDL_Delay(int ms);
/* located in game.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool game_load(Profile *p);
/* located in map.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool load_stage(int stage_no);
/* located in profile.cpp */
//---------------------[referenced from main.cpp]--------------------//
const char *GetProfileName(int num);
/* located in settings.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool settings_load(Settings *setfile);
bool settings_save(Settings *setfile);
/* located in statusbar.cpp */
//---------------------[referenced from main.cpp]--------------------//
void weapon_introslide();
/* located in tsc.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool tsc_init(void);
void StopScripts(void);
void tsc_close(void);
/* located in input.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool input_init(void);
void input_close(void);
void input_poll(void);
bool justpushed(int k);
/* located in replay.cpp */
//---------------------[referenced from main.cpp]--------------------//
const char *GetReplayName(int slotno, char *buffer);
/* located in trig.cpp */
//---------------------[referenced from main.cpp]--------------------//
char trig_init(void);
/* located in graphics/font.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool font_init(void);
void font_close(void);
int font_draw_shaded(int x, int y, const char *text, int spacing, NXFont *font);
int GetFontHeight();
int GetFontWidth(const char *text, int spacing, bool is_shaded);
void direct_text_draw(int x, int y, const char *text);
int font_draw(int x, int y, const char *text, int spacing, NXFont *font);
/* located in sound/sound.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool sound_init(void);
void StopLoopSounds(void);
void sound_close(void);
void music_set_enabled(int newstate);
void music(int songno);
/* located in sound/org.cpp */
//---------------------[referenced from main.cpp]--------------------//
void org_run(void);
/* located in extract/extract.cpp */
//---------------------[referenced from main.cpp]--------------------//
int extract_main();
/* located in common/stat.cpp */
//---------------------[referenced from main.cpp]--------------------//
void SetLogFilename(const char *fname);
void staterr(const char *fmt, ...);
void stat(const char *fmt, ...);
/* located in common/misc.cpp */
//---------------------[referenced from main.cpp]--------------------//
bool file_exists(const char *fname);