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

@ -130,12 +130,12 @@ void plOccluder::IRemoveVisRegion(plVisRegion* reg)
}
}
plDrawableSpans* plOccluder::CreateProxy(hsGMaterial* mat, hsTArray<UInt32>& idx, plDrawableSpans* addTo)
plDrawableSpans* plOccluder::CreateProxy(hsGMaterial* mat, hsTArray<uint32_t>& idx, plDrawableSpans* addTo)
{
hsTArray<hsPoint3> pos;
hsTArray<hsVector3> norm;
hsTArray<hsColorRGBA> color;
hsTArray<UInt16> tris;
hsTArray<uint16_t> tris;
plLayer* lay = plLayer::ConvertNoRef(mat->GetLayer(0)->BottomOfStack());
if( lay )
@ -258,7 +258,7 @@ hsScalar plOccluder::IComputeSurfaceArea()
void plOccluder::SetPolyList(const hsTArray<plCullPoly>& list)
{
UInt16 n = list.GetCount();
uint16_t n = list.GetCount();
fPolys.SetCount(n);
int i;
for( i = 0; i < n; i++ )
@ -290,7 +290,7 @@ void plOccluder::Read(hsStream* s, hsResMgr* mgr)
fPriority = s->ReadLEScalar();
hsTArray<plCullPoly>& localPolys = IGetLocalPolyList();
UInt16 n = s->ReadLE16();
uint16_t n = s->ReadLE16();
localPolys.SetCount(n);
int i;
for( i = 0; i < n; i++ )
@ -360,7 +360,7 @@ void plMobileOccluder::SetTransform(const hsMatrix44& l2w, const hsMatrix44& w2l
void plMobileOccluder::SetPolyList(const hsTArray<plCullPoly>& list)
{
UInt16 n = list.GetCount();
uint16_t n = list.GetCount();
fOrigPolys.SetCount(n);
fPolys.SetCount(n);