Debugging.
This commit is contained in:
parent
5960e881ea
commit
2c64f5f8c0
|
@ -625,6 +625,11 @@ static void drawSuspicionLevel(void)
|
|||
}
|
||||
|
||||
SDL_RenderFillRect(app.renderer, &r);
|
||||
|
||||
if (dev.debug)
|
||||
{
|
||||
drawText(r.x + r.w + 7, SCREEN_HEIGHT - 57, 12, TA_LEFT, colors.white, "%d", (battle.suspicionLevel / 10));
|
||||
}
|
||||
}
|
||||
|
||||
void resetHud(void)
|
||||
|
|
|
@ -39,5 +39,6 @@ extern int jumpgateEnabled(void);
|
|||
extern App app;
|
||||
extern Battle battle;
|
||||
extern Colors colors;
|
||||
extern Dev dev;
|
||||
extern Entity *player;
|
||||
extern Game game;
|
||||
|
|
Loading…
Reference in New Issue