mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-13 20:04:07 +00:00
hooks_scalefactor (to be used in ads)
This commit is contained in:
parent
e69f80c65b
commit
8ba1b97ebe
@ -846,6 +846,8 @@ void geometry_information::prepare_basics() {
|
|||||||
floorrad1 = rhexf * (GDIM == 3 ? 1 : .8);
|
floorrad1 = rhexf * (GDIM == 3 ? 1 : .8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
callhooks(hooks_scalefactor, this);
|
||||||
|
|
||||||
plevel = vid.plevel_factor * scalefactor;
|
plevel = vid.plevel_factor * scalefactor;
|
||||||
single_step = 1;
|
single_step = 1;
|
||||||
auto fak = hybrid::underlying == gFake;
|
auto fak = hybrid::underlying == gFake;
|
||||||
@ -932,6 +934,8 @@ void geometry_information::prepare_basics() {
|
|||||||
|
|
||||||
EX purehookset hooks_swapdim;
|
EX purehookset hooks_swapdim;
|
||||||
|
|
||||||
|
EX hookset<void(geometry_information*)> hooks_scalefactor;
|
||||||
|
|
||||||
EX namespace geom3 {
|
EX namespace geom3 {
|
||||||
|
|
||||||
// Here we convert between the following parameters:
|
// Here we convert between the following parameters:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user