mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Simple pass over the codebase to standardize the platform types.
This commit is contained in:
parent
c75d6feb20
commit
4c35fd37af
189 changed files with 824 additions and 824 deletions
|
|
@ -348,7 +348,7 @@ bool SimXMLDocument::pushFirstChildElement(const char* rName)
|
|||
TiXmlElement* pElement;
|
||||
if(!m_paNode.empty())
|
||||
{
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -412,7 +412,7 @@ bool SimXMLDocument::pushChildElement(S32 index)
|
|||
TiXmlElement* pElement;
|
||||
if(!m_paNode.empty())
|
||||
{
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -472,7 +472,7 @@ bool SimXMLDocument::nextSiblingElement(const char* rName)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement*& pElement = m_paNode[iLastElement];
|
||||
if(!pElement)
|
||||
{
|
||||
|
|
@ -506,7 +506,7 @@ const char* SimXMLDocument::elementValue()
|
|||
{
|
||||
return StringTable->insert("");
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -547,7 +547,7 @@ const char* SimXMLDocument::attribute(const char* rAttribute)
|
|||
{
|
||||
return StringTable->insert("");
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -597,7 +597,7 @@ bool SimXMLDocument::attributeExists(const char* rAttribute)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -630,7 +630,7 @@ const char* SimXMLDocument::firstAttribute()
|
|||
{
|
||||
return StringTable->insert("");
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -667,7 +667,7 @@ const char* SimXMLDocument::lastAttribute()
|
|||
{
|
||||
return StringTable->insert("");
|
||||
}
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -766,7 +766,7 @@ void SimXMLDocument::setAttribute(const char* rAttribute, const char* rVal)
|
|||
return;
|
||||
}
|
||||
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pElement = m_paNode[iLastElement];
|
||||
if(!pElement)
|
||||
{
|
||||
|
|
@ -798,7 +798,7 @@ void SimXMLDocument::setObjectAttributes(const char* objectID)
|
|||
if( pObject == NULL )
|
||||
return;
|
||||
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pElement = m_paNode[iLastElement];
|
||||
if(!pElement)
|
||||
return;
|
||||
|
|
@ -925,7 +925,7 @@ void SimXMLDocument::pushNewElement(const char* rName)
|
|||
}
|
||||
else
|
||||
{
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -975,7 +975,7 @@ void SimXMLDocument::addNewElement(const char* rName)
|
|||
return;
|
||||
}
|
||||
|
||||
const int iParentElement = m_paNode.size() - 2;
|
||||
const S32 iParentElement = m_paNode.size() - 2;
|
||||
if(iParentElement < 0)
|
||||
{
|
||||
pStackTop = dynamic_cast<TiXmlElement*>
|
||||
|
|
@ -1002,7 +1002,7 @@ void SimXMLDocument::addNewElement(const char* rName)
|
|||
}
|
||||
|
||||
// Overwrite top stack position.
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
m_paNode[iFinalElement] = pStackTop;
|
||||
//pNode = pStackTop;
|
||||
}
|
||||
|
|
@ -1091,7 +1091,7 @@ const char* SimXMLDocument::readComment( S32 index )
|
|||
// Push the first element found under the current element of the given name
|
||||
if(!m_paNode.empty())
|
||||
{
|
||||
const int iLastElement = m_paNode.size() - 1;
|
||||
const S32 iLastElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iLastElement];
|
||||
if(!pNode)
|
||||
{
|
||||
|
|
@ -1159,7 +1159,7 @@ void SimXMLDocument::addText(const char* text)
|
|||
if(m_paNode.empty())
|
||||
return;
|
||||
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
return;
|
||||
|
|
@ -1204,7 +1204,7 @@ const char* SimXMLDocument::getText()
|
|||
if(m_paNode.empty())
|
||||
return "";
|
||||
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlNode* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
return "";
|
||||
|
|
@ -1264,7 +1264,7 @@ void SimXMLDocument::removeText()
|
|||
if(m_paNode.empty())
|
||||
return;
|
||||
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
return;
|
||||
|
|
@ -1300,7 +1300,7 @@ void SimXMLDocument::addData(const char* text)
|
|||
if(m_paNode.empty())
|
||||
return;
|
||||
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlElement* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
return;
|
||||
|
|
@ -1346,7 +1346,7 @@ const char* SimXMLDocument::getData()
|
|||
if(m_paNode.empty())
|
||||
return "";
|
||||
|
||||
const int iFinalElement = m_paNode.size() - 1;
|
||||
const S32 iFinalElement = m_paNode.size() - 1;
|
||||
TiXmlNode* pNode = m_paNode[iFinalElement];
|
||||
if(!pNode)
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue