1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +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:
Zeno Rogue 2018-07-09 21:03:46 +02:00
parent ef182b225e
commit 0c42b32efc
2 changed files with 11 additions and 7 deletions

View File

@ -15,10 +15,6 @@
#include "classes.h"
#include "hyper.h"
#if CAP_ROGUEVIZ
#include "rogueviz.h"
#endif
#define CU_INIT 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 "quit.cpp"
#include "shmup.cpp"
#if CAP_ROGUEVIZ
#include "rogueviz.cpp"
#endif
#include "conformal.cpp"
#include "rug.cpp"
#include "control.cpp"
@ -95,6 +88,10 @@ namespace hr { namespace inv { bool on, activating; } }
#include "commandline.cpp"
#include "bigstuff.cpp"
#if CAP_ROGUEVIZ
#include "rogueviz.cpp"
#endif
#if CAP_DAILY
#include "private/daily.cpp"
#else

View File

@ -20,6 +20,13 @@
// hyper -tess <parameter file> -- visualize a horocyclic tesselation,
#ifndef CAP_ROGUEVIZ
#define CU 1
#include "init.cpp"
#endif
#include "rogueviz.h"
namespace rogueviz {
using namespace hr;