1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 03:47:58 +00:00

removed hint def from hyper.h

This commit is contained in:
Zeno Rogue
2019-12-14 11:53:27 +01:00
parent f772f9b7fd
commit 059953fe58
2 changed files with 11 additions and 12 deletions

View File

@@ -40,7 +40,16 @@ void noaction() {}
function<void()> cancel = noaction;
hint hints[] = {
#if HDR
struct hint {
time_t last;
function<bool()> usable;
function<void()> display;
function<void()> action;
};
#endif
EX hint hints[] = {
{
0,
@@ -512,7 +521,7 @@ EX void handleKeyQuit(int sym, int uni) {
}
}
int counthints() {
EX int counthints() {
for(int h=0;; h++) if(hints[h].last < 0) return h;
}