mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
unused function displaynum removed
This commit is contained in:
parent
a290f7c1c0
commit
24a2e6178a
@ -924,19 +924,6 @@ bool displaychr(int x, int y, int shift, int size, char chr, color_t col) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool displaynum(int x, int y, int shift, int size, color_t col, int val, string title) {
|
|
||||||
char buf[64];
|
|
||||||
sprintf(buf, "%d", val);
|
|
||||||
bool b1 = displayfr(x-8, y, 1, size, buf, col, 16);
|
|
||||||
bool b2 = displayfr(x, y, 1, size, title, col, 0);
|
|
||||||
if((b1 || b2) && gtouched) {
|
|
||||||
col ^= 0x00FFFF;
|
|
||||||
displayfr(x-8, y, 1, size, buf, col, 16);
|
|
||||||
displayfr(x, y, 1, size, title, col, 0);
|
|
||||||
}
|
|
||||||
return b1 || b2;
|
|
||||||
}
|
|
||||||
|
|
||||||
vector<msginfo> msgs;
|
vector<msginfo> msgs;
|
||||||
|
|
||||||
vector<msginfo> gamelog;
|
vector<msginfo> gamelog;
|
||||||
|
@ -7713,8 +7713,6 @@ void drawscreen() {
|
|||||||
SDL_FillRect(s, NULL, backcolor);
|
SDL_FillRect(s, NULL, backcolor);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// displaynum(vx,100, 0, 24, 0xc0c0c0, celldist(cwt.at), ":");
|
|
||||||
|
|
||||||
lgetcstat = getcstat;
|
lgetcstat = getcstat;
|
||||||
getcstat = 0; inslider = false;
|
getcstat = 0; inslider = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user