mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-06 07:44:30 +00:00
preparing for daily
This commit is contained in:
1 parent
02aac914d4
commit
67ad5f2f4b
8 files changed
+64
-32
No files matched your search
@@ -181,6 +181,10 @@ void initgame() {
|
||||
|
||||
if(shmup::on) shmup::init();
|
||||
|
||||
#if CAP_DAILY
|
||||
daily::split();
|
||||
#endif
|
||||
|
||||
// extern int sightrange; sightrange = 9;
|
||||
// cwt.c->land = laHell; items[itHell] = 10;
|
||||
for(int i=BARLEV; i>=7 - getDistLimit() - genrange_bonus; i--) {
|
||||
@@ -1184,6 +1188,8 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
|
||||
inv::on = false;
|
||||
princess::challenge = false;
|
||||
}
|
||||
if(switchWhat == rg::daily)
|
||||
daily::setup();
|
||||
if(switchWhat == rg::princess) {
|
||||
princess::challenge = !princess::challenge;
|
||||
firstland = princess::challenge ? laPalace : laIce;
|
||||
|
||||
Reference in new issue
Block a user