1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 21:23:18 +00:00

unused function displaynum removed

This commit is contained in:
Zeno Rogue 2019-08-09 15:59:06 +02:00
parent a290f7c1c0
commit 24a2e6178a
2 changed files with 0 additions and 15 deletions

View File

@ -924,19 +924,6 @@ bool displaychr(int x, int y, int shift, int size, char chr, color_t col) {
}
#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> gamelog;

View File

@ -7713,8 +7713,6 @@ void drawscreen() {
SDL_FillRect(s, NULL, backcolor);
#endif
// displaynum(vx,100, 0, 24, 0xc0c0c0, celldist(cwt.at), ":");
lgetcstat = getcstat;
getcstat = 0; inslider = false;