summaryrefslogtreecommitdiff
path: root/editor/editor-types.hpp
blob: ff8239bce2a0dd1c6eca9e06ca4f4692f13c5fb3 (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;
	pk_str target_scene_path;
	bool shouldLoadScene = false;
	bool shouldSaveScene = false;
};
extern struct editor_master editor_mstr;

#endif /* PKE_EDITOR_EDITOR_TYPES_HPP */