mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-29 06:47:03 +00:00
patterns export patPalace, patZebraTriangles, patZebraLines
This commit is contained in:
parent
a1f7fa05f8
commit
427df5e8fe
@ -2600,7 +2600,7 @@ EX namespace linepatterns {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
linepattern patZebraTriangles("zebra triangles", 0x40FF4000, stdhyp_only,
|
EX linepattern patZebraTriangles = linepattern("zebra triangles", 0x40FF4000, stdhyp_only,
|
||||||
ALLCELLS(
|
ALLCELLS(
|
||||||
if(zebra40(c) / 4 == 10) {
|
if(zebra40(c) / 4 == 10) {
|
||||||
bool all = true;
|
bool all = true;
|
||||||
@ -2613,7 +2613,7 @@ EX namespace linepatterns {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
linepattern patZebraLines("zebra lines", 0xFF000000, stdhyp_only,
|
EX linepattern patZebraLines = linepattern("zebra lines", 0xFF000000, stdhyp_only,
|
||||||
ALLCELLS(
|
ALLCELLS(
|
||||||
if(!pseudohept(c)) for(int i=0; i<c->type; i+=2) {
|
if(!pseudohept(c)) for(int i=0; i<c->type; i+=2) {
|
||||||
cell *c2 = createMov(c, i);
|
cell *c2 = createMov(c, i);
|
||||||
@ -2666,7 +2666,7 @@ EX namespace linepatterns {
|
|||||||
col, 1 + vid.linequality);
|
col, 1 + vid.linequality);
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
linepattern patPalace("firewall lines: Palace", 0xFFD50000, stdhyp_only,
|
EX linepattern patPalace = linepattern("firewall lines: Palace", 0xFFD50000, stdhyp_only,
|
||||||
ALLCELLS(
|
ALLCELLS(
|
||||||
bool a = polarb50(c);
|
bool a = polarb50(c);
|
||||||
if(pseudohept(c)) for(int i=0; i<7; i++) {
|
if(pseudohept(c)) for(int i=0; i<7; i++) {
|
||||||
|
@ -20,12 +20,6 @@
|
|||||||
#include "../hyper.h"
|
#include "../hyper.h"
|
||||||
#include "rogueviz.h"
|
#include "rogueviz.h"
|
||||||
|
|
||||||
namespace hr {
|
|
||||||
namespace linepatterns {
|
|
||||||
extern linepattern patPalace, patZebraTriangles, patZebraLines;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace rogueviz {
|
namespace rogueviz {
|
||||||
|
|
||||||
ld fat_edges = 0;
|
ld fat_edges = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user