mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-01 00:07:02 +00:00
nilrider:: standalone version
This commit is contained in:
parent
a0058eed72
commit
426361ad96
@ -1,3 +1,32 @@
|
|||||||
|
#if NILRIDER
|
||||||
|
#define CUSTOM_CAPTION "Nil Rider 0.1"
|
||||||
|
#define MAXMDIM 4
|
||||||
|
#define CAP_INV 0
|
||||||
|
#define CAP_COMPLEX2 0
|
||||||
|
#define CAP_EDIT 0
|
||||||
|
#define CAP_BT 0
|
||||||
|
#define CAP_SOLV 0
|
||||||
|
#define CAP_THREAD 0
|
||||||
|
#define CAP_RUG 0
|
||||||
|
#define CAP_SVG 0
|
||||||
|
#define CAP_TOUR 0
|
||||||
|
#define CAP_IRR 0
|
||||||
|
#define CAP_CRYSTAL 0
|
||||||
|
#define CAP_ARCM 0
|
||||||
|
#define CAP_HISTORY 0
|
||||||
|
#define CAP_STARTANIM 0
|
||||||
|
#define CAP_SAVE 0
|
||||||
|
#define CAP_TRANS 0
|
||||||
|
|
||||||
|
#ifdef BWEB
|
||||||
|
#include "../../hyperweb.cpp"
|
||||||
|
#else
|
||||||
|
#include "../../hyper.cpp"
|
||||||
|
#endif
|
||||||
|
#include "../simple-impossible.cpp"
|
||||||
|
#include "../rogueviz.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "nilrider.h"
|
#include "nilrider.h"
|
||||||
#include "statues.cpp"
|
#include "statues.cpp"
|
||||||
#include "timestamp.cpp"
|
#include "timestamp.cpp"
|
||||||
@ -498,5 +527,13 @@ auto celldemo = arg::add3("-unilcycle", initialize) + arg::add3("-unilplan", []
|
|||||||
pconf.rotational_nil = 0;
|
pconf.rotational_nil = 0;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
#ifdef NILRIDER
|
||||||
|
auto hook1=
|
||||||
|
addHook(hooks_config, 100, [] {
|
||||||
|
if(arg::curphase == 1)
|
||||||
|
conffile = "nilrider.ini";
|
||||||
|
if(arg::curphase == 2) initialize_all();
|
||||||
|
});
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ namespace bricks {
|
|||||||
|
|
||||||
extern void build(bool in_pair);
|
extern void build(bool in_pair);
|
||||||
|
|
||||||
|
#if !NILRIDER
|
||||||
struct brick {
|
struct brick {
|
||||||
euc::coord co;
|
euc::coord co;
|
||||||
color_t col;
|
color_t col;
|
||||||
@ -12,6 +13,7 @@ namespace bricks {
|
|||||||
hyperpoint location;
|
hyperpoint location;
|
||||||
hpcshape shRotWall[6];
|
hpcshape shRotWall[6];
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
extern vector<brick> bricks;
|
extern vector<brick> bricks;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user