1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Convert custom HeadSpin integer types to standard types from stdint.h

This commit is contained in:
2012-01-19 21:19:26 -05:00
parent a0d54e2644
commit 5027b5a4ac
1301 changed files with 14497 additions and 14532 deletions

View File

@ -184,12 +184,12 @@ void plNetClientMgr::IShowRooms()
}
}
UInt32 IPrintRelRegion(const hsBitVector& region, int x, int y, const hsBitVector* cmpRegion)
uint32_t IPrintRelRegion(const hsBitVector& region, int x, int y, const hsBitVector* cmpRegion)
{
char buf[256];
int maxBits = 255;
UInt32 num = plRelevanceMgr::Instance()->GetNumRegions();
uint32_t num = plRelevanceMgr::Instance()->GetNumRegions();
if (num > maxBits)
num = maxBits;
@ -229,7 +229,7 @@ void plNetClientMgr::IShowRelevanceRegions()
//
// Print out the player names in the first column
//
UInt32 maxPlayerName = 0;
uint32_t maxPlayerName = 0;
txt.DrawString(x, y, GetPlayerName());
maxPlayerName = hsMaximum(maxPlayerName, txt.CalcStringWidth(GetPlayerName()));
@ -265,7 +265,7 @@ void plNetClientMgr::IShowRelevanceRegions()
if (avMod)
{
ourIn = &avMod->GetRelRegionImIn();
UInt32 width = IPrintRelRegion(*ourIn, x, y, nil);
uint32_t width = IPrintRelRegion(*ourIn, x, y, nil);
ourCare = &avMod->GetRelRegionCareAbout();
IPrintRelRegion(*ourCare, x + width + xOff, y, nil);
@ -287,7 +287,7 @@ void plNetClientMgr::IShowRelevanceRegions()
if (avMod)
{
const hsBitVector& in = avMod->GetRelRegionImIn();
UInt32 width = IPrintRelRegion(in, x, y, ourCare);
uint32_t width = IPrintRelRegion(in, x, y, ourCare);
const hsBitVector& care = avMod->GetRelRegionCareAbout();
IPrintRelRegion(care, x + width + xOff, y, ourIn);