1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-01 14:04:07 +00:00
This commit is contained in:
Zeno Rogue 2017-04-04 11:37:16 +02:00
parent 499d4cc025
commit 499978c267

View File

@ -93,7 +93,7 @@ typedef int cellfunction(cell*);
int towerval(cell *c, cellfunction* cf = &coastvalEdge); int towerval(cell *c, cellfunction* cf = &coastvalEdge);
#define HRANDMAX 0x7FFFFFFF #define HRANDMAX 0x7FFFFFFF
int hrandpos(); // 0 to HRANDMAX int hrandpos(); // 0 to HRANDMAX
void restartGame(char switchWhat = 0); void restartGame(char switchWhat = 0, bool push = false);
int landMultiplier(eLand l); int landMultiplier(eLand l);
eItem treasureType(eLand l); eItem treasureType(eLand l);
void buildBarrier(cell *c, int d, eLand l = laNone); void buildBarrier(cell *c, int d, eLand l = laNone);
@ -833,6 +833,7 @@ namespace dialog {
int handlePage(int& nl, int& nlm, int perpage); int handlePage(int& nl, int& nlm, int perpage);
void displayPageButtons(int i, bool pages); void displayPageButtons(int i, bool pages);
bool handlePageButtons(int uni); bool handlePageButtons(int uni);
extern bool sidedialog;
} }
void checkStunKill(cell *dest); void checkStunKill(cell *dest);
@ -1120,3 +1121,9 @@ namespace arg {
} }
extern bool generatingEquidistant; extern bool generatingEquidistant;
void clearfrom(heptagon *at);
void clearHexes(heptagon *at);
void verifycells(heptagon *at);
int zebra40(cell *c);
cell *createMov(cell *c, int d);