blob: 36c9fd113e3ffa148637d437d9efe563eefd5b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef PKE_EDITOR_EDITOR_TYPES_HPP
#define PKE_EDITOR_EDITOR_TYPES_HPP
#include "font.hpp"
#include "scene-types.hpp"
#include "pk.h"
// TODO editor state (scene vs level)
struct editor_master {
pke_scene *active_scene = nullptr;
pk_str target_scene_path = {};
bool shouldLoadScene = false;
bool shouldSaveScene = false;
struct editor_master_runtime {
FontType *selected_font_type = nullptr;
bool show_font_glyphs = false;
} rt;
};
extern struct editor_master editor_mstr;
#endif /* PKE_EDITOR_EDITOR_TYPES_HPP */
|