blob: f84b7d34a6fa776fe8469c9689e8261bdc892aab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef PKE_EDITOR_EDITOR_TYPES_HPP
#define PKE_EDITOR_EDITOR_TYPES_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;
};
extern struct editor_master editor_mstr;
#endif /* PKE_EDITOR_EDITOR_TYPES_HPP */
|