1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 18:37:39 +00:00

improved key handling: shift+5 works now, and better key assignments in crystal rug

This commit is contained in:
Zeno Rogue
2018-12-06 11:43:10 +01:00
parent 58d584eed2
commit 9b21b9c5a0
4 changed files with 39 additions and 22 deletions

View File

@@ -2487,6 +2487,9 @@ extern function <bool(SDL_Event &ev)> joyhandler;
#endif
void gmodekeys(int sym, int uni);
// check for a plain number key
bool numberkey(int sym, int uni, char number);
void switchGL();
void switchFullscreen();
extern int cmode;
@@ -4157,6 +4160,7 @@ namespace crystal {
void apply_rotation(const transmatrix t);
void switch_z_coordinate();
void next_home_orientation();
void flip_z();
void set_land(cell *c);
int dist_alt(cell *c);
int dist_relative(cell *c);