mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
export some linepatterns and expansion stuff
This commit is contained in:
parent
a6dc4b9314
commit
6285e39b06
@ -426,9 +426,11 @@ EX string dfnames[3] = { "player", "start", "land" };
|
|||||||
|
|
||||||
eDistanceFrom distance_from = dfPlayer;
|
eDistanceFrom distance_from = dfPlayer;
|
||||||
|
|
||||||
|
#if HDR
|
||||||
enum eNumberCoding { ncNone, ncDistance, ncType, ncDebug, ncError };
|
enum eNumberCoding { ncNone, ncDistance, ncType, ncDebug, ncError };
|
||||||
|
#endif
|
||||||
EX string ncnames[5] = { "NO", "distance", "type", "debug", "error" };
|
EX string ncnames[5] = { "NO", "distance", "type", "debug", "error" };
|
||||||
eNumberCoding number_coding = ncDistance;
|
EX eNumberCoding number_coding = ncDistance;
|
||||||
|
|
||||||
bool mod_allowed() {
|
bool mod_allowed() {
|
||||||
return cheater || autocheat || arcm::in() || tour::on;
|
return cheater || autocheat || arcm::in() || tour::on;
|
||||||
|
@ -2693,7 +2693,7 @@ EX namespace linepatterns {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
linepattern patTree("underlying tree", 0x00d0d000, cheating,
|
EX linepattern patTree = linepattern("underlying tree", 0x00d0d000, cheating,
|
||||||
ALLCELLS(
|
ALLCELLS(
|
||||||
if(is_master(c)) {
|
if(is_master(c)) {
|
||||||
int dir = updir(c->master);
|
int dir = updir(c->master);
|
||||||
@ -2896,7 +2896,7 @@ EX namespace linepatterns {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
linepattern patMeridians("meridians", 0xFFFFFF00, always_available,
|
EX linepattern patMeridians = linepattern("meridians", 0xFFFFFF00, always_available,
|
||||||
ATCENTER(
|
ATCENTER(
|
||||||
for(int j=-180; j<=180; j+=15) {
|
for(int j=-180; j<=180; j+=15) {
|
||||||
for(int i=-90; i<90; i+=15) {
|
for(int i=-90; i<90; i+=15) {
|
||||||
|
Loading…
Reference in New Issue
Block a user