mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixup to remove kind: rogueviz.h was not commited
This commit is contained in:
parent
133bbe5b93
commit
0c47c909ea
@ -7,14 +7,23 @@
|
||||
namespace rogueviz {
|
||||
using namespace hr;
|
||||
|
||||
enum eVizkind { kNONE, kAnyGraph, kTree, kSpiral, kSAG, kCollatz, kFullNet, kKohonen, kFlocking };
|
||||
extern eVizkind kind;
|
||||
inline void *vizid;
|
||||
|
||||
constexpr flagtype RV_GRAPH = 1;
|
||||
constexpr flagtype RV_WHICHWEIGHT = 2; // sag
|
||||
constexpr flagtype RV_AUTO_MAXWEIGHT = 4; // sag
|
||||
constexpr flagtype RV_COMPRESS_LABELS = 8; // do not display some labels
|
||||
constexpr flagtype RV_COLOR_TREE = 16; // color vertex together with tree parents
|
||||
constexpr flagtype RV_HAVE_WEIGHT = 32; // edges have weights
|
||||
constexpr flagtype RV_INVERSE_WEIGHT = 64; // edit weight, not 1/weight
|
||||
|
||||
inline flagtype vizflags;
|
||||
string weight_label;
|
||||
|
||||
extern bool on;
|
||||
void drawExtra();
|
||||
void close();
|
||||
|
||||
void init();
|
||||
void init(void *vizid, flagtype flags);
|
||||
|
||||
struct edgetype {
|
||||
double visible_from;
|
||||
@ -89,7 +98,6 @@ namespace rogueviz {
|
||||
inline hookset<void(vertexdata&, cell*, shmup::monster*, int)> *hooks_drawvertex;
|
||||
|
||||
void readcolor(const string& cfname);
|
||||
extern bool on;
|
||||
|
||||
void close();
|
||||
extern bool showlabels;
|
||||
|
Loading…
Reference in New Issue
Block a user