mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-19 22:31:15 +00:00
Fixed comments
This commit is contained in:
parent
8dc4936720
commit
246a7c407f
@ -355,7 +355,7 @@ void LegoCarBuildAnimPresenter::InitBuildPlatform()
|
|||||||
LegoAnimNodeData* destData;
|
LegoAnimNodeData* destData;
|
||||||
LegoTreeNode** children;
|
LegoTreeNode** children;
|
||||||
|
|
||||||
//Get Platform data, Shelf Frame data, and number of build parts
|
// Get Platform data, Shelf Frame data, and number of build parts
|
||||||
for (i = 0; i < totalNodes; i++) {
|
for (i = 0; i < totalNodes; i++) {
|
||||||
LegoAnimNodeData* data = (LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData();
|
LegoAnimNodeData* data = (LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData();
|
||||||
name = data->GetName();
|
name = data->GetName();
|
||||||
@ -385,7 +385,7 @@ void LegoCarBuildAnimPresenter::InitBuildPlatform()
|
|||||||
m_parts = new UnknownListEntry[m_numberOfParts];
|
m_parts = new UnknownListEntry[m_numberOfParts];
|
||||||
assert(m_parts);
|
assert(m_parts);
|
||||||
|
|
||||||
//Go through and add the wired name of each part
|
// Go through and add the wired name of each part
|
||||||
for (i = 0; i < totalNodes; i++) {
|
for (i = 0; i < totalNodes; i++) {
|
||||||
name = ((LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData())->GetName();
|
name = ((LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData())->GetName();
|
||||||
|
|
||||||
@ -404,7 +404,7 @@ void LegoCarBuildAnimPresenter::InitBuildPlatform()
|
|||||||
|
|
||||||
MxS16 counter = 0;
|
MxS16 counter = 0;
|
||||||
|
|
||||||
//Go through and add the normal name of each part
|
// Go through and add the normal name of each part
|
||||||
for (i = 0; i < totalNodes; i++) {
|
for (i = 0; i < totalNodes; i++) {
|
||||||
name = ((LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData())->GetName();
|
name = ((LegoAnimNodeData*) GetTreeNode(m_anim->GetRoot(), i)->GetData())->GetName();
|
||||||
if (StringEndsOnYOrN(name)) {
|
if (StringEndsOnYOrN(name)) {
|
||||||
@ -423,7 +423,7 @@ void LegoCarBuildAnimPresenter::InitBuildPlatform()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set Platform root node
|
// Set Platform root node
|
||||||
destNode = new LegoTreeNode();
|
destNode = new LegoTreeNode();
|
||||||
assert(destNode);
|
assert(destNode);
|
||||||
destData = new LegoAnimNodeData();
|
destData = new LegoAnimNodeData();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user