summaryrefslogtreecommitdiff
path: root/editor.hpp
blob: afa785e4e5f29e4374f07f2b4408f10ffa451a20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef editor_hpp
#define editor_hpp

#include "world.hpp"

struct UI;
struct Model_Instance;
struct Line_Renderer;

struct Editor_Settings {
	bool pause_physics;
	bool debug_physics;
};

void init_editor(UI* ui, World* w);
void deinit_editor();
void editor_on_select(Entity_Id e, int m);
void editor_update(const App& app, const Camera& cam);
void editor_draw(Line_Renderer& lr);
Editor_Settings& editor_settings();

#endif