mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
nilrider:: simulation speed parameter (still needs to be settable
This commit is contained in:
parent
821f7eee60
commit
04b8287dbe
@ -135,7 +135,7 @@ bool turn(int delta) {
|
||||
auto t = curlev->current.collected_triangles;
|
||||
bool fail = false;
|
||||
|
||||
for(int i=0; i<delta; i++) {
|
||||
for(int i=0; i<delta * simulation_speed; i++) {
|
||||
curlev->history.push_back(curlev->current);
|
||||
curlev->current.be_consistent();
|
||||
bool b = curlev->current.tick(curlev);
|
||||
|
@ -212,6 +212,9 @@ inline ld gfx_slope = 0;
|
||||
/** default block unit */
|
||||
inline double dft_block = 1;
|
||||
|
||||
/** default block unit */
|
||||
inline double simulation_speed = 2;
|
||||
|
||||
extern map<char, color_t> bcols;
|
||||
extern map<char, array<string, 16> > submaps;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user