-
Notifications
You must be signed in to change notification settings - Fork 36
/
replay.fdh
68 lines (41 loc) · 1.82 KB
/
replay.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
//hash:afdce1d2
//automatically generated by Makegen
/* located in game.cpp */
//--------------------[referenced from replay.cpp]-------------------//
bool game_save(Profile *p);
bool game_load(Profile *p);
/* located in map.cpp */
//--------------------[referenced from replay.cpp]-------------------//
const char *map_get_stage_name(int mapno);
/* located in profile.cpp */
//--------------------[referenced from replay.cpp]-------------------//
bool profile_save(const char *pfname, Profile *file);
bool profile_load(const char *pfname, Profile *file);
/* located in platform.cpp */
//--------------------[referenced from replay.cpp]-------------------//
FILE *fileopen(const char *fname, const char *mode);
/* located in replay.cpp */
//--------------------[referenced from replay.cpp]-------------------//
static void write_record(uint32_t keys, uint32_t runlength, FileBuffer *fb);
static bool read_record(uint32_t *keys, uint32_t *runlength, FILE *fp);
const char *GetReplayName(int slotno, char *buffer);
static void dump_replay();
/* located in debug.cpp */
//--------------------[referenced from replay.cpp]-------------------//
void debug(const char *fmt, ...);
/* located in graphics/font.cpp */
//--------------------[referenced from replay.cpp]-------------------//
int GetFontHeight();
int font_draw_shaded(int x, int y, const char *text, int spacing, NXFont *font);
/* located in common/stat.cpp */
//--------------------[referenced from replay.cpp]-------------------//
void stat(const char *fmt, ...);
void staterr(const char *fmt, ...);
/* located in common/misc.cpp */
//--------------------[referenced from replay.cpp]-------------------//
uint32_t getrand();
void seedrand(uint32_t newseed);
void fputl(uint32_t word, FILE *fp);
uint32_t fgetl(FILE *fp);
bool file_exists(const char *fname);
char *GetStaticStr(void);