mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-02-01 21:55:01 +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
|
@ -2,10 +2,6 @@
|
|||
|
||||
#include "MakeAndPlay.h"
|
||||
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
extern editorclass ed;
|
||||
#endif
|
||||
|
||||
mapclass::mapclass()
|
||||
{
|
||||
//Start here!
|
||||
|
|
|
@ -13,10 +13,6 @@
|
|||
#include "Music.h"
|
||||
#include "editor.h"
|
||||
|
||||
#if !defined(NO_CUSTOM_LEVELS)
|
||||
extern editorclass ed;
|
||||
#endif
|
||||
|
||||
class mapclass
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -248,6 +248,8 @@ void editorlogic();
|
|||
|
||||
void editorinput();
|
||||
|
||||
extern editorclass ed;
|
||||
|
||||
#endif /* EDITOR_H */
|
||||
|
||||
#endif /* NO_CUSTOM_LEVELS */
|
||||
|
|
Loading…
Add table
Reference in a new issue