nicer mipstat display

* display mistats in the hud instead of having them flood the console
* added display of 8x8 mips, just to show that they are possible

press F6 in editmode to see the difference
This commit is contained in:
ac-stef
2014-05-15 13:48:30 +02:00
parent 2c2395d97a
commit a37d437a2f
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ int firstindex;
bool showm = false;
void showmip() { showm = !showm; }
void mipstats(int a, int b, int c) { if(showm) conoutf("1x1/2x2/4x4: %d / %d / %d", a, b, c); }
void mipstats(const int a[]) { if(showm) hudeditf(HUDMSG_MIPSTATS, "1x1/2x2/4x4/8x8: %d / %d / %d / %d", a[0], a[1], a[2], a[3]); }
COMMAND(showmip, "");