mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
reworked wmspatial: consistent naming of geometry variables, priorities, and side parameters. Fixed some bugs with shallow water
This commit is contained in:
@@ -190,9 +190,9 @@ bool draw_fifteen(cell *c, const shiftmatrix& V) {
|
||||
ensure_floorshape_generated(shvid(c), c);
|
||||
for(int i=0; i<c->type; i++)
|
||||
if(!fif.count(c->move(i)) || (showing ? fif[c->move(i)].target : fif[c->move(i)].current) == Empty)
|
||||
placeSidewall(c, i, SIDE_SLEV, V, 0xFFFFFFFF);
|
||||
auto V1 = orthogonal_move_fol(V, cgi.SLEV[1]);
|
||||
draw_qfi(c, V1, 0xFFFFFFFF, PPR::WALL3A);
|
||||
placeSidewall(c, i, SIDE::RED1, V, 0xFFFFFFFF);
|
||||
auto V1 = orthogonal_move_fol(V, cgi.RED[1]);
|
||||
draw_qfi(c, V1, 0xFFFFFFFF, PPR::WALL_DECO);
|
||||
write_in_space(V1 * ddspin(c,cdir,0) * (cmir ? MirrorX: Id), 72, 1, dotted(cur), 0xFF, 0, 8);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user