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
2021-02-19 23:21:58 -08:00
committed by Misa Elizabeth Kai
parent 3e380e23fb
commit 6f0177ec04
3 changed files with 20 additions and 13 deletions

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 */