extern bool isclient;
extern bool alwaysblur;
extern bool velocityblur;
-extern bool debugmode;
+extern bool devtools;
extern int mainmenu;
extern int bloodtoggle;
extern int difficulty;
if (!tutoriallevel && !winfreeze && !Dialog::inDialog() && !mainmenu) {
if (campaign) {
if (scoreadded)
- sprintf (string, "Score: %d", (int)accountactive->getCampaignScore());
+ sprintf (string, "Score: %d", (int)Account::active().getCampaignScore());
else
- sprintf (string, "Score: %d", (int)accountactive->getCampaignScore() + (int)bonustotal);
+ sprintf (string, "Score: %d", (int)Account::active().getCampaignScore() + (int)bonustotal);
}
if (!campaign)
sprintf (string, "Score: %d", (int)bonustotal);
glColor4f(.5, .5, .5, 1);
- if ((texttoggle || editorenabled) && debugmode && !mainmenu) {
+ if ((texttoggle || editorenabled) && devtools && !mainmenu) {
sprintf (string, "The framespersecond is %d.", (int)(fps));
text->glPrint(10, 30, string, 0, .8, 1024, 768);