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

Fix Endian functions names in hsTypes and hsStream.

Function and macro names for endianness were previously vague,
and on big-endian systems entirely misleading.  The names are
now properly descriptive of what they actually do.
This commit is contained in:
2011-10-23 14:01:54 -07:00
committed by Darryl Pogue
parent ab37a4a486
commit e462ef04b3
255 changed files with 2676 additions and 2676 deletions

View File

@ -99,7 +99,7 @@ void plSceneNode::Read(hsStream* s, hsResMgr* mgr)
UInt32 n;
int i;
n = s->ReadSwap32();
n = s->ReadLE32();
fSceneObjects.Reset();
for( i = 0; i < n; i++ )
{
@ -107,7 +107,7 @@ void plSceneNode::Read(hsStream* s, hsResMgr* mgr)
plKey key = mgr->ReadKeyNotifyMe(s, refMsg, plRefFlags::kActiveRef);
}
n = s->ReadSwap32();
n = s->ReadLE32();
fGenericPool.Reset();
for( i = 0; i < n; i++ )
{
@ -122,11 +122,11 @@ void plSceneNode::Write(hsStream* s, hsResMgr* mgr)
int i;
s->WriteSwap32(fSceneObjects.GetCount());
s->WriteLE32(fSceneObjects.GetCount());
for( i = 0; i < fSceneObjects.GetCount(); i++ )
mgr->WriteKey(s,fSceneObjects[i]);
s->WriteSwap32(fGenericPool.GetCount());
s->WriteLE32(fGenericPool.GetCount());
for( i = 0; i < fGenericPool.GetCount(); i++ )
mgr->WriteKey(s, fGenericPool[i]);
}