mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
nilv:: nilwidth option
This commit is contained in:
@@ -831,7 +831,9 @@ EX namespace nilv {
|
||||
|
||||
static const mvec mvec_zero = mvec(0, 0, 0);
|
||||
|
||||
hyperpoint mvec_to_point(mvec m) { return hpxy3(m[0], m[1], m[2]); }
|
||||
EX ld nilwidth = 1;
|
||||
|
||||
hyperpoint mvec_to_point(mvec m) { return hpxy3(m[0] * nilwidth, m[1] * nilwidth, m[2] * nilwidth * nilwidth); }
|
||||
|
||||
#if HDR
|
||||
struct nilstructure {
|
||||
@@ -2127,6 +2129,11 @@ EX namespace nisot {
|
||||
nilv::set_flags();
|
||||
return 0;
|
||||
}
|
||||
else if(argis("-nilwidth")) {
|
||||
PHASEFROM(2);
|
||||
shift_arg_formula(nilv::nilwidth);
|
||||
return 0;
|
||||
}
|
||||
else if(argis("-nilv")) {
|
||||
PHASEFROM(2);
|
||||
if(nil) stop_game();
|
||||
|
Reference in New Issue
Block a user