Add '#if !defined(NO_EDITOR)' guards around editorinput/render/logic

These functions aren't needed in a NO_EDITOR build, so it's useful to
reduce the binary size this way.
This commit is contained in:
Misa
2020-06-19 15:23:28 -07:00
committed by Ethan Lee
parent 5c7e869ee7
commit c6e800db6f
3 changed files with 7 additions and 3 deletions

View File

@@ -259,11 +259,13 @@ void fillbox(int x, int y, int x2, int y2, int c);
void fillboxabs(int x, int y, int x2, int y2, int c);
#if !defined(NO_EDITOR)
void editorrender();
void editorlogic();
void editorinput();
#endif
extern editorclass ed;