mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
several features which actually were in 10.4p but not commited
This commit is contained in:
parent
3b50632217
commit
ebe57688ad
@ -1492,6 +1492,9 @@ int read_config_args() {
|
||||
else if(argis("-els")) {
|
||||
shift(); conformal::extra_line_steps = argf();
|
||||
}
|
||||
else if(argis("-stretch")) {
|
||||
PHASEFROM(2); shift(); vid.stretch = argf();
|
||||
}
|
||||
TOGGLE('o', vid.usingGL, switchGL())
|
||||
TOGGLE('f', vid.full, switchFullscreen())
|
||||
else return 1;
|
||||
|
@ -2,7 +2,7 @@ namespace hr { namespace irr {
|
||||
|
||||
bool on;
|
||||
|
||||
ld density = 6;
|
||||
ld density = 2;
|
||||
ld quality = .2;
|
||||
int place_attempts = 10;
|
||||
int rearrange_max_attempts = 50;
|
||||
@ -416,6 +416,10 @@ bool step(int delta) {
|
||||
p1.spin.resize(N);
|
||||
for(int j=0; j<N; j++) {
|
||||
auto i1 = p1.neid[j];
|
||||
if(i1 < 0 || i1 >= isize(cells)) {
|
||||
runlevel = 0;
|
||||
return false;
|
||||
}
|
||||
bool found = false;
|
||||
for(int k=0; k < isize(cells[i1].vertices); k++)
|
||||
if(cells[i1].neid[k] == i)
|
||||
|
Loading…
Reference in New Issue
Block a user