blob: ba64a49bec583fa90e2ef948dc0bc4a6663a40f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef editor_hpp
#define editor_hpp
#include "world.hpp"
struct Line_Renderer;
struct Model_Instance;
struct Physics_Debughook;
struct UI;
struct Editor_Settings {
bool pause_physics;
bool debug_physics;
bool debug_sat;
};
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();
Physics_Debughook* editor_physics_debughook();
#endif
|