summaryrefslogtreecommitdiff
path: root/editor.hpp
blob: 77c7e9e50a9c0f4970aa72fe9d68763f548b0fdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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_draw(Line_Renderer& lr);
Editor_Settings& editor_settings();

#endif