Move editor functions to separate header

Editor functions now live in Editor.h, which is a new file - the
existing editor.h has been renamed to CustomLevels.h.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2021-09-01 15:30:02 -07:00
1 parent 3e380e23fb
commit 6f0177ec04
3 files changed
+20 -13

No files matched your search

+3 -13
View File
@@ -1,7 +1,7 @@
#if !defined(NO_CUSTOM_LEVELS)
#ifndef EDITOR_H
#define EDITOR_H
#ifndef CUSTOMLEVELS_H
#define CUSTOMLEVELS_H
#include <SDL.h>
#include <string>
@@ -307,20 +307,10 @@ class editorclass{
int currentghosts;
};
#if !defined(NO_EDITOR)
void editorrender(void);
void editorrenderfixed(void);
void editorlogic(void);
void editorinput(void);
#endif
#ifndef ED_DEFINITION
extern editorclass ed;
#endif
#endif /* EDITOR_H */
#endif /* CUSTOMLEVELS_H */
#endif /* NO_CUSTOM_LEVELS */