diff --git a/rogueviz.cpp b/rogueviz.cpp index 606c3f56..c88363a7 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -50,7 +50,6 @@ string fname; // const char *fname; // const char *cfname; -enum eVizkind { kNONE, kAnyGraph, kTree, kSpiral, kSAG, kCollatz, kFullNet, kKohonen }; eVizkind kind; bool on; diff --git a/rogueviz.h b/rogueviz.h index 875a62bf..8222bc6a 100644 --- a/rogueviz.h +++ b/rogueviz.h @@ -3,6 +3,9 @@ namespace rogueviz { using namespace hr; + enum eVizkind { kNONE, kAnyGraph, kTree, kSpiral, kSAG, kCollatz, kFullNet, kKohonen }; + extern eVizkind kind; + extern bool on; void drawExtra(); void close();