-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h
47 lines (35 loc) · 1.1 KB
/
main.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
#pragma once
#include "common.h"
#include "catalog.h"
#include "shader_catalog.h"
#include "texture_catalog.h"
#include "level_set.h"
#include "mesh_catalog.h"
#include "animation_catalog.h"
#include "animation_names.h"
#include "animation_graph.h"
extern String dir_of_running_exe;
extern RArr<Catalog_Base*> all_catalogs;
extern Shader_Catalog shader_catalog;
extern Texture_Catalog texture_catalog;
extern Level_Set_Catalog level_set_catalog;
extern Mesh_Catalog mesh_catalog;
extern Animation_Catalog animation_catalog;
extern Animation_Names_Catalog animation_names_catalog;
extern Animation_Graph_Catalog animation_graph_catalog;
extern Animation_Graph *human_animation_graph;
extern Texture_Map *white_texture;
extern bool was_window_resized_this_frame;
#define DEVELOPER_MODE
extern const String LEVEL_SET_NAME;
extern const String OVERRIDE_LEVEL_NAME;
// extern const String SOUND_FOLDER;
// extern const String MUSIC_FOLDER;
extern const String FONT_FOLDER;
extern i32 BIG_FONT_SIZE;
enum Program_Mode
{
GAME,
EDITOR,
};
extern Program_Mode program_mode;