mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-25 04:47:02 +00:00
fixed the plain graphics for {4,oo}
This commit is contained in:
parent
3330d6060b
commit
8672720773
@ -251,7 +251,7 @@ template<class T> void sizeto(T& t, int n) {
|
||||
if(isize(t) <= n) t.resize(n+1);
|
||||
}
|
||||
|
||||
void geometry_information::bshape_regular(floorshape &fsh, int id, int sides, int shift, ld size, cell *c) {
|
||||
void geometry_information::bshape_regular(floorshape &fsh, int id, int sides, ld shift, ld size, cell *c) {
|
||||
|
||||
sizeto(fsh.b, id);
|
||||
sizeto(fsh.shadow, id);
|
||||
@ -332,8 +332,10 @@ void geometry_information::generate_floorshapes_for(int id, cell *c, int siid, i
|
||||
|
||||
for(int k=0; k<SIDEPARS; k++) sizeto(fsh.side[k], id);
|
||||
|
||||
int td = (PURE && !(S7&1)) ? S42+S6 : 0;
|
||||
ld td = (PURE && !(S7&1)) ? S42+S6 : 0;
|
||||
if(&fsh == &shBigHepta) td += S6;
|
||||
|
||||
if(S3 >= OINF && !(S7 & 1)) td = S42 * 1. / S7;
|
||||
|
||||
int b = 0;
|
||||
if(S3 == 4 && BITRUNCATED) b += S14;
|
||||
|
@ -339,7 +339,7 @@ hpcshape
|
||||
|
||||
void init_floorshapes();
|
||||
void bshape2(hpcshape& sh, PPR prio, int shapeid, struct matrixlist& m);
|
||||
void bshape_regular(floorshape &fsh, int id, int sides, int shift, ld size, cell *model);
|
||||
void bshape_regular(floorshape &fsh, int id, int sides, ld shift, ld size, cell *model);
|
||||
void generate_floorshapes_for(int id, cell *c, int siid, int sidir);
|
||||
void generate_floorshapes();
|
||||
void make_floor_textures_here();
|
||||
|
Loading…
x
Reference in New Issue
Block a user