}
}
}
+
+//////////////////////////////////////////////////////////////////////////
+//
+void Fleet::resetTicks()
+{
+ for (FleetList::iterator i = m_Fleet.begin(); i != m_Fleet.end(); ++i)
+ {
+ if ( i->second.size() < 2)
+ continue;
+
+ int temp = i->second[0];
+ i->second.clear();
+
+ if (temp > 0)
+ i->second.push_back(temp);
+ }
+ resetResources();
+}
*/
void printFleet();
+ void resetTicks();
//static functions
//
/** This function is used to set the different races used.
int skipped = 0;
for (vector<Fleet*>::iterator i = friendly.begin(); i != friendly.end(); ++i)
- (*i)->resetResources();
+ (*i)->resetTicks();
for (vector<Fleet*>::iterator i = hostile.begin(); i != hostile.end(); ++i)
- (*i)->resetResources();
+ (*i)->resetTicks();
for(int tick = 1; skipped < 20; ++tick)
{
<cstring>ScoreLostLabel</cstring>
</property>
<property name="text">
- <string>Lost</string>
+ <string>Difference</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Shows the difference in score between the selected ticks.</string>
</property>
</widget>
<widget class="QLabel" row="0" column="6" rowspan="1" colspan="2">