mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-17 10:44:48 +00:00
rogueviz:: sag:: -sagfull and dofullsa now accept times as float
This commit is contained in:
parent
c53972c4b0
commit
9853de5775
@ -413,7 +413,7 @@ namespace sag {
|
||||
reassign();
|
||||
}
|
||||
|
||||
void dofullsa(int satime) {
|
||||
void dofullsa(ld satime) {
|
||||
sagmode = sagSA;
|
||||
int t1 = SDL_GetTicks();
|
||||
int tl = -999999;
|
||||
@ -1283,7 +1283,7 @@ int readArgs() {
|
||||
}
|
||||
// (4) perform simulated annealing: -fullsa <time in seconds>
|
||||
else if(argis("-sagfull")) {
|
||||
shift(); sag::dofullsa(argi());
|
||||
shift(); sag::dofullsa(argf());
|
||||
}
|
||||
else if(argis("-sagfulli")) {
|
||||
shift(); sag::dofullsa_iterations(argll());
|
||||
|
Loading…
Reference in New Issue
Block a user