mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
all the references to RogueViz from main HR removed, except 'rogueviz.cpp' included with CAP_ROGUEVIZ. RogueViz can be compiled eitehr by setting CAP_ROGUEVIZ=1 or by linking rogueviz.cpp
This commit is contained in:
parent
ef182b225e
commit
0c42b32efc
@ -15,10 +15,6 @@
|
|||||||
#include "classes.h"
|
#include "classes.h"
|
||||||
#include "hyper.h"
|
#include "hyper.h"
|
||||||
|
|
||||||
#if CAP_ROGUEVIZ
|
|
||||||
#include "rogueviz.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CU_INIT IN_CU(0)
|
#define CU_INIT IN_CU(0)
|
||||||
#define CU_HYPER IN_CU(0)
|
#define CU_HYPER IN_CU(0)
|
||||||
|
|
||||||
@ -74,9 +70,6 @@ namespace hr { namespace inv { bool on, activating; } }
|
|||||||
#include "geom-exp.cpp"
|
#include "geom-exp.cpp"
|
||||||
#include "quit.cpp"
|
#include "quit.cpp"
|
||||||
#include "shmup.cpp"
|
#include "shmup.cpp"
|
||||||
#if CAP_ROGUEVIZ
|
|
||||||
#include "rogueviz.cpp"
|
|
||||||
#endif
|
|
||||||
#include "conformal.cpp"
|
#include "conformal.cpp"
|
||||||
#include "rug.cpp"
|
#include "rug.cpp"
|
||||||
#include "control.cpp"
|
#include "control.cpp"
|
||||||
@ -95,6 +88,10 @@ namespace hr { namespace inv { bool on, activating; } }
|
|||||||
#include "commandline.cpp"
|
#include "commandline.cpp"
|
||||||
#include "bigstuff.cpp"
|
#include "bigstuff.cpp"
|
||||||
|
|
||||||
|
#if CAP_ROGUEVIZ
|
||||||
|
#include "rogueviz.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CAP_DAILY
|
#if CAP_DAILY
|
||||||
#include "private/daily.cpp"
|
#include "private/daily.cpp"
|
||||||
#else
|
#else
|
||||||
|
@ -20,6 +20,13 @@
|
|||||||
|
|
||||||
// hyper -tess <parameter file> -- visualize a horocyclic tesselation,
|
// hyper -tess <parameter file> -- visualize a horocyclic tesselation,
|
||||||
|
|
||||||
|
#ifndef CAP_ROGUEVIZ
|
||||||
|
#define CU 1
|
||||||
|
#include "init.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "rogueviz.h"
|
||||||
|
|
||||||
namespace rogueviz {
|
namespace rogueviz {
|
||||||
|
|
||||||
using namespace hr;
|
using namespace hr;
|
||||||
|
Loading…
Reference in New Issue
Block a user