diff options
Diffstat (limited to 'editor/editor-types.hpp')
| -rw-r--r-- | editor/editor-types.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/editor/editor-types.hpp b/editor/editor-types.hpp new file mode 100644 index 0000000..ff8239b --- /dev/null +++ b/editor/editor-types.hpp @@ -0,0 +1,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; + pk_str target_scene_path; + bool shouldLoadScene = false; + bool shouldSaveScene = false; +}; +extern struct editor_master editor_mstr; + +#endif /* PKE_EDITOR_EDITOR_TYPES_HPP */ |
