1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

moved CAP_NCONF and CAP_RVSLIDES back to rogueviz

This commit is contained in:
Zeno Rogue 2020-05-15 12:04:29 +02:00
parent 021dd34647
commit b5219ad0fe
6 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,3 @@
#include "../hyper.h"
#include "rogueviz.h" #include "rogueviz.h"
namespace rogueviz { namespace rogueviz {

View File

@ -1,6 +1,6 @@
/* explore the Janko group J1: https://en.wikipedia.org/wiki/Janko_group_J1 */ /* explore the Janko group J1: https://en.wikipedia.org/wiki/Janko_group_J1 */
#include "../hyper.h" #include "rogueviz.h"
#if !ISWEB #if !ISWEB

View File

@ -1,4 +1,4 @@
#include "../hyper.h" #include "rogueviz.h"
namespace rogueviz { namespace rogueviz {

View File

@ -2,9 +2,14 @@
// example commandline: -noplayer -rugtsize 4096 -smart 1 -canvas B -ncee // example commandline: -noplayer -rugtsize 4096 -smart 1 -canvas B -ncee
// set CAP_NCONF (and change the path) if you have access to newconformist // set CAP_NCONF (and change the path) if you have access to newconformist
#include "../hyper.h" #include "rogueviz.h"
#if CAP_NCONF #if CAP_NCONF
#ifndef CAP_DRAW
#define CAP_DRAW 0
#endif
#define main nconf_main #define main nconf_main
#undef unordered_map #undef unordered_map
#undef self #undef self

View File

@ -6,6 +6,14 @@
#define RVPATH HYPERPATH "rogueviz/" #define RVPATH HYPERPATH "rogueviz/"
#ifndef CAP_NCONF
#define CAP_NCONF 0
#endif
#ifndef CAP_RVSLIDES
#define CAP_RVSLIDES (CAP_TOUR && !ISWEB)
#endif
namespace rogueviz { namespace rogueviz {
using namespace hr; using namespace hr;

View File

@ -63,14 +63,6 @@
#define ISMINI 0 #define ISMINI 0
#endif #endif
#ifndef CAP_NCONF
#define CAP_NCONF 0
#endif
#ifndef CAP_DRAW
#define CAP_DRAW 0
#endif
#ifndef CAP_XGD #ifndef CAP_XGD
#define CAP_XGD (ISANDROID || ISFAKEMOBILE) #define CAP_XGD (ISANDROID || ISFAKEMOBILE)
#endif #endif
@ -213,10 +205,6 @@
#define CAP_ROGUEVIZ 0 #define CAP_ROGUEVIZ 0
#endif #endif
#ifndef CAP_RVSLIDES
#define CAP_RVSLIDES (CAP_TOUR && !ISWEB)
#endif
#ifndef CAP_PROFILING #ifndef CAP_PROFILING
#define CAP_PROFILING 0 #define CAP_PROFILING 0
#endif #endif