Spellforce-Spell-framework
Loading...
Searching...
No Matches
sf_screens_loader.h
Go to the documentation of this file.
1
12
13#ifndef SCREENS_LOADER_H
14#define SCREENS_LOADER_H
15
16#include <stdbool.h>
17#include <stdint.h>
18
19#define SCREEN_MAP_NAME_LEN 128
20#define SCREEN_MSB_NAME_LEN 128
21
28
38bool parse_screens_json_file(const char *path, ScreenEntry *out_entries,
39 int max_entries, int *out_count);
40
42#endif // SCREENS_LOADER_H
#define SCREEN_MSB_NAME_LEN
#define SCREEN_MAP_NAME_LEN
bool parse_screens_json_file(const char *path, ScreenEntry *out_entries, int max_entries, int *out_count)
Reads a screens.json: a single object of map_name : msb_file pairs.
One "map name -> loading screen mesh" pair.
char msb_file[128]
char map_name[128]