Clean up console output functions

FossilOrigin-Name: 003b06901f169b5d97cbbaa313ad31a2493d2a56b295cffda136500ecc5d4f05
This commit is contained in:
Jonathan Schleifer 2025-03-05 21:55:28 +00:00
parent ab582d3745
commit cac7cebba0
16 changed files with 108 additions and 105 deletions

View file

@ -11,12 +11,13 @@ dvector &
getmonsters()
{
return monsters;
};
}
void
restoremonsterstate()
{
loopv(monsters) if (monsters[i]->state == CS_DEAD) numkilled++;
}; // for savegames
} // for savegames
#define TOTMFREQ 13
#define NUMMONSTERTYPES 8
@ -345,7 +346,7 @@ monsterpain(dynent *m, int damage, dynent *d)
conoutf(@"only %d monster(s) remaining", remain);
} else {
playsound(monstertypes[m->mtype].painsound, &m->o);
};
}
};
void
@ -357,7 +358,7 @@ endsp(bool allkilled)
(lastmillis - mtimestart) / 1000);
monstertotal = 0;
startintermission();
};
}
void
monsterthink()
@ -401,7 +402,7 @@ monsterthink()
loopv(monsters) if (monsters[i]->state == CS_ALIVE)
monsteraction(monsters[i]);
};
}
void
monsterrender()