1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-17 03:28:05 +00:00

hat:: hat parameter

This commit is contained in:
Zeno Rogue
2023-03-24 23:53:13 +01:00
parent 56ca00df82
commit defeaf2cc6
4 changed files with 41 additions and 11 deletions

View File

@@ -720,7 +720,6 @@ void geometry_information::prepare_basics() {
#if CAP_BT
if(bt::in()) hexvdist = rhexf = 1, tessf = 1, scalefactor = 1, crossf = hcrossf7;
if(geometry == gHoroRec || kite::in() || sol || nil || nih) hexvdist = rhexf = .5, tessf = .5, scalefactor = .5, crossf = hcrossf7/2;
if(hat::in()) scalefactor *= 1.5, crossf *= 1.5, tessf *= 1.5, hexvdist *= 1.5, rhexf *= 1.5;
if(bt::in()) scalefactor *= min<ld>(vid.binary_width, 1), crossf *= min<ld>(vid.binary_width, 1);
#endif
#if MAXMDIM >= 4
@@ -1262,6 +1261,7 @@ EX string cgi_string() {
if(nil) V("NIL", its(S7));
if(bt::in()) V("BT", fts(vid.binary_width));
if(hat::in()) V("H", fts(hat::hat_param));
if(nil) V("NILW", fts(nilv::nilwidth));