Replaced uint with unsigned int

This commit is contained in:
Marcus Minhorst 2025-07-19 10:00:49 -04:00 committed by Ricardo Luís Vaz Silva
commit 649ddd7774
31 changed files with 86 additions and 90 deletions

View file

@ -1154,7 +1154,7 @@ void G_Ticker ()
// do player reborns if needed
// TODO: These should really be moved to queues.
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
if (!playeringame[i])
continue;
@ -1473,7 +1473,7 @@ double FLevelLocals::PlayersRangeFromSpot (FPlayerStart *spot)
{
double closest = INT_MAX;
double distance;
uint i;
unsigned int i;
for (i = 0; i < MAXPLAYERS; i++)
{
@ -1569,7 +1569,7 @@ void FLevelLocals::DeathMatchSpawnPlayer (int playernum)
I_Error ("No deathmatch starts");
bool hasSpawned = false;
for (uint i = 0; i < MAXPLAYERS; ++i)
for (unsigned int i = 0; i < MAXPLAYERS; ++i)
{
if (PlayerInGame(i) && Players[i]->mo != nullptr && Players[i]->health > 0)
{
@ -2604,7 +2604,7 @@ void G_RecordDemo (const char* name)
void G_BeginRecording (const char *startmap)
{
uint i;
unsigned int i;
if (startmap == NULL)
{
@ -2719,7 +2719,7 @@ bool G_ProcessIFFDemo (FString &mapname)
bool bodyHit = false;
int numPlayers = 0;
int id, len;
uint i;
unsigned int i;
uLong uncompSize = 0;
uint8_t *nextchunk;
@ -2992,7 +2992,7 @@ bool G_CheckDemoStatus (void)
demoplayback = false;
netgame = false;
multiplayer = false;
for (uint i = 1; i < MAXPLAYERS; i++)
for (unsigned int i = 1; i < MAXPLAYERS; i++)
playeringame[i] = 0;
consoleplayer = 0;
players[0].camera = nullptr;