export some linepatterns and expansion stuff

This commit is contained in:
Zeno Rogue 2022-05-17 09:41:10 +02:00
parent a6dc4b9314
commit 6285e39b06
2 changed files with 5 additions and 3 deletions

View File

@ -426,9 +426,11 @@ EX string dfnames[3] = { "player", "start", "land" };
eDistanceFrom distance_from = dfPlayer;
#if HDR
enum eNumberCoding { ncNone, ncDistance, ncType, ncDebug, ncError };
#endif
EX string ncnames[5] = { "NO", "distance", "type", "debug", "error" };
eNumberCoding number_coding = ncDistance;
EX eNumberCoding number_coding = ncDistance;
bool mod_allowed() {
return cheater || autocheat || arcm::in() || tour::on;

View File

@ -2693,7 +2693,7 @@ EX namespace linepatterns {
)
);
linepattern patTree("underlying tree", 0x00d0d000, cheating,
EX linepattern patTree = linepattern("underlying tree", 0x00d0d000, cheating,
ALLCELLS(
if(is_master(c)) {
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(
for(int j=-180; j<=180; j+=15) {
for(int i=-90; i<90; i+=15) {