mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
gametime available in formulas
This commit is contained in:
1 parent
99bc842c57
commit
727ae8a260
3 files changed
+7
-1
No files matched your search
+2
-1
@@ -54,7 +54,7 @@ EX int truelotus;
|
||||
|
||||
EX int asteroids_generated, asteroid_orbs_generated;
|
||||
|
||||
EX time_t timerstart, savetime;
|
||||
EX time_t timerstart, savetime, tickstart;
|
||||
EX bool timerstopped;
|
||||
EX int savecount;
|
||||
EX int save_turns;
|
||||
@@ -378,6 +378,7 @@ EX void initgame() {
|
||||
if(!safety) {
|
||||
usedSafety = false;
|
||||
timerstart = time(NULL); turncount = 0; rosewave = 0; rosephase = 0;
|
||||
tickstart = ticks;
|
||||
noiseuntil = 0;
|
||||
sagephase = 0; hardcoreAt = 0;
|
||||
timerstopped = false;
|
||||
|
||||
Reference in new issue
Block a user