and some more stragglers

This commit is contained in:
DarthArgus
2016-03-24 21:19:10 +00:00
parent 3b430656ba
commit 01cdf52bc0
5 changed files with 1 additions and 136 deletions
@@ -110,16 +110,6 @@ public:
int int2;
char char1;
const char *charp1;
#if 0
// if this node's parent is branch head, this variable is ignored.
// if this node's parent is list head, if node is required, at least one instance of this node must be present.
bool nodeRequired;
// if this node is a list head, this variable is ignored.
// if this node is a branch head, false = 0 or 1 child may be present, true = one child must be present.
bool childrenRequired;
#endif
};
enum ArgumentPolicy
@@ -524,26 +524,6 @@ const CellProperty *PortalProperty::getCell(int index) const
// ----------------------------------------------------------------------
#if 0
int PortalProperty::getNumberOfLights(int cellIndex) const
{
DEBUG_FATAL(cellIndex < 0 || cellIndex >= static_cast<int>(m_cellList->size()), ("cell index out of range"));
return (*m_cellDataList)[cellIndex]->getNumberOfLights();
}
// ----------------------------------------------------------------------
const PortalProperty::LightData &PortalProperty::getLightData(int cellIndex, int lightIndex) const
{
DEBUG_FATAL(cellIndex < 0 || cellIndex >= static_cast<int>(m_cellList->size()), ("cell index out of range"));
return (*m_cellDataList)[cellIndex]->getLightData(lightIndex);
}
#endif
// ----------------------------------------------------------------------
const PortalProperty::CellNameList &PortalProperty::getCellNames() const
{
return m_template->getCellNames();