mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 10:57:59 +00:00
digons arising in the Warped Coast are now shown as narrow tiles
This commit is contained in:
@@ -371,8 +371,13 @@ void generate_floorshapes_for(int id, cell *c, int siid, int sidir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sizeto(fsh.b, id);
|
sizeto(fsh.b, id);
|
||||||
|
|
||||||
bshape(fsh.b[id], fsh.prio);
|
bshape(fsh.b[id], fsh.prio);
|
||||||
for(int i=0; i<=cor; i++) hpcpush(cornerlist[i%cor]);
|
if(&fsh == &shTriheptaFloor && cor == 4 && siid)
|
||||||
|
/* draw digons specially */
|
||||||
|
for(int i=0; i<=cor; i++) hpcpush(spin((i&1) ? .1 : -.1) * cornerlist[i%cor]);
|
||||||
|
else
|
||||||
|
for(int i=0; i<=cor; i++) hpcpush(cornerlist[i%cor]);
|
||||||
|
|
||||||
sizeto(fsh.shadow, id);
|
sizeto(fsh.shadow, id);
|
||||||
bshape(fsh.shadow[id], fsh.prio);
|
bshape(fsh.shadow[id], fsh.prio);
|
||||||
|
|||||||
Reference in New Issue
Block a user