1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Clean up editorclass externs into one location

Again, like the previous commit, it should just be put in the header
file of its respective class instead of being a mess everywhere.
This commit is contained in:
Misa 2020-05-18 10:14:12 -07:00 committed by Ethan Lee
parent 3a5dd5a616
commit 9205421090
4 changed files with 2 additions and 10 deletions

View File

@ -2,10 +2,6 @@
#include "MakeAndPlay.h"
#if !defined(NO_CUSTOM_LEVELS)
extern editorclass ed;
#endif
mapclass::mapclass()
{
//Start here!

View File

@ -13,10 +13,6 @@
#include "Music.h"
#include "editor.h"
#if !defined(NO_CUSTOM_LEVELS)
extern editorclass ed;
#endif
class mapclass
{
public:

View File

@ -2070,8 +2070,6 @@ void fillboxabs( int x, int y, int x2, int y2, int c )
}
extern editorclass ed;
void editorclass::generatecustomminimap()
{
map.customwidth=mapwidth;

View File

@ -248,6 +248,8 @@ void editorlogic();
void editorinput();
extern editorclass ed;
#endif /* EDITOR_H */
#endif /* NO_CUSTOM_LEVELS */