1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-18 06:30:41 +00:00

nilrider:: simulation speed parameter (still needs to be settable

This commit is contained in:
Zeno Rogue 2024-08-18 13:04:33 +02:00
parent 821f7eee60
commit 04b8287dbe
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -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;