mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
added some declarations to hyper.h
This commit is contained in:
parent
a1b7226837
commit
7859455bfb
@ -344,7 +344,7 @@ bool inSpecialMode() {
|
||||
vid.wallmode != DEFAULT_WALLMODE;
|
||||
}
|
||||
|
||||
void resetModes(char leave = 'c') {
|
||||
void resetModes(char leave) {
|
||||
popAllGames();
|
||||
firstland = laIce; vid.scfg.players = 1;
|
||||
if(shmup::on != (leave == 's')) restartGame('s');
|
||||
|
26
hyper.h
26
hyper.h
@ -742,6 +742,7 @@ namespace rug {
|
||||
extern bool rendernogl;
|
||||
extern int texturesize;
|
||||
extern ld model_distance;
|
||||
extern transmatrix currentrot;
|
||||
#if CAP_RUG
|
||||
void show();
|
||||
void init();
|
||||
@ -1107,6 +1108,11 @@ bool checkOrb(eMonster m1, eItem orb);
|
||||
|
||||
movedir vectodir(const hyperpoint& P);
|
||||
|
||||
namespace tortoise {
|
||||
extern int seekbits;
|
||||
int getRandomBits();
|
||||
}
|
||||
|
||||
namespace sword {
|
||||
|
||||
extern int angle[MAXPLAYER];
|
||||
@ -1166,6 +1172,7 @@ namespace dialog {
|
||||
|
||||
void addSelItem(string body, string value, int key);
|
||||
void addBoolItem(string body, bool value, int key);
|
||||
void addBigItem(string body, int key);
|
||||
void addColorItem(string body, int value, int key);
|
||||
void openColorDialog(unsigned int& col, unsigned int *pal = palette);
|
||||
void addHelp(string body);
|
||||
@ -2457,4 +2464,21 @@ eMonster genRuinMonster(cell *c);
|
||||
template<class T> void hrandom_shuffle(T* x, int n) {
|
||||
for(int k=1; k<n; k++) swap(x[k], x[hrand(k+1)]);
|
||||
}
|
||||
|
||||
|
||||
void resetModes(char leave = 'c');
|
||||
void activateSafety(eLand l);
|
||||
void showMainMenu();
|
||||
extern bool nomenukey;
|
||||
void resetConfig();
|
||||
void welcomeMessage();
|
||||
void jumpTo(cell *dest, eItem byWhat, int bonuskill = 0, eMonster dashmon = moNone);
|
||||
extern bool canmove;
|
||||
|
||||
void activateSafety(eLand l);
|
||||
extern bool childbug;
|
||||
|
||||
void fullcenter();
|
||||
void mainloop();
|
||||
void clearAnimations();
|
||||
|
||||
transmatrix rotmatrix(double rotation, int c0, int c1);
|
||||
|
2
orbs.cpp
2
orbs.cpp
@ -567,7 +567,7 @@ void teleportTo(cell *dest) {
|
||||
checkmoveO();
|
||||
}
|
||||
|
||||
void jumpTo(cell *dest, eItem byWhat, int bonuskill = 0, eMonster dashmon = moNone) {
|
||||
void jumpTo(cell *dest, eItem byWhat, int bonuskill, eMonster dashmon) {
|
||||
if(byWhat != itStrongWind) playSound(dest, "orb-frog");
|
||||
movecost(cwt.c, dest);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user