v4k-git-backup/engine/split/v4k_editor.h

29 lines
729 B
C
Raw Normal View History

// -----------------------------------------------------------------------------
// in-game editor
// - rlyeh, public domain.
2023-11-19 12:07:28 +00:00
API int editor_send(const char *command);
//API void editor();
//API bool editor_active();
2023-11-15 19:14:14 +00:00
API vec3 editor_pick(float mouse_x, float mouse_y);
API char* editor_path(const char *path);
2023-10-26 07:27:46 +00:00
API float* engine_getf(const char *key);
API int* engine_geti(const char *key);
API char** engine_gets(const char *key);
API int engine_send(const char *cmd, const char *optional_value);
2023-10-13 10:59:44 +00:00
2023-10-28 12:16:41 +00:00
API int ui_debug();
// open file dialog
API char* dialog_load();
API char* dialog_save();
// transform gizmos
API int gizmo(vec3 *pos, vec3 *rot, vec3 *sca);
API bool gizmo_active();
API bool gizmo_hover();