mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-03-08 23:05:13 +01: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:
parent
3a5dd5a616
commit
9205421090
4 changed files with 2 additions and 10 deletions
desktop_version/src
|
@ -2,10 +2,6 @@
|
||||||
|
|
||||||
#include "MakeAndPlay.h"
|
#include "MakeAndPlay.h"
|
||||||
|
|
||||||
#if !defined(NO_CUSTOM_LEVELS)
|
|
||||||
extern editorclass ed;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
mapclass::mapclass()
|
mapclass::mapclass()
|
||||||
{
|
{
|
||||||
//Start here!
|
//Start here!
|
||||||
|
|
|
@ -13,10 +13,6 @@
|
||||||
#include "Music.h"
|
#include "Music.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
|
|
||||||
#if !defined(NO_CUSTOM_LEVELS)
|
|
||||||
extern editorclass ed;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class mapclass
|
class mapclass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -2070,8 +2070,6 @@ void fillboxabs( int x, int y, int x2, int y2, int c )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
extern editorclass ed;
|
|
||||||
|
|
||||||
void editorclass::generatecustomminimap()
|
void editorclass::generatecustomminimap()
|
||||||
{
|
{
|
||||||
map.customwidth=mapwidth;
|
map.customwidth=mapwidth;
|
||||||
|
|
|
@ -248,6 +248,8 @@ void editorlogic();
|
||||||
|
|
||||||
void editorinput();
|
void editorinput();
|
||||||
|
|
||||||
|
extern editorclass ed;
|
||||||
|
|
||||||
#endif /* EDITOR_H */
|
#endif /* EDITOR_H */
|
||||||
|
|
||||||
#endif /* NO_CUSTOM_LEVELS */
|
#endif /* NO_CUSTOM_LEVELS */
|
||||||
|
|
Loading…
Add table
Reference in a new issue