l3tde/src/game/map_editor/editor.c

17 lines
331 B
C

#include <l3tde/game/map_editor/editor.h>
void
map_editor_editor_handle_input (MapEditorStatus *status) {
int input = getch ();
switch (input) {
case ctrl ('c'):
case 'q':
status->exit = true;
break;
}
}
void
map_editor_editor_render (MapEditorStatus *status) {
erase ();
}