mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
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:
@@ -2299,6 +2299,7 @@ void editorclass::generatecustomminimap()
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(NO_EDITOR)
|
||||
void editormenurender(int tr, int tg, int tb)
|
||||
{
|
||||
switch (game.currentmenuname)
|
||||
@@ -5594,6 +5595,7 @@ void editorinput()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* NO_EDITOR */
|
||||
|
||||
int editorclass::numtrinkets()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user