Added swatter cpp and hpp to vc10 project. Fixed warning in arenas_screen.cpp relating to comparing unsigned and signed integers in for loop condition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fed9fbf695
commit
e1ae80d8c0
@ -117,6 +117,7 @@
|
||||
<ClCompile Include="..\..\graphics\per_camera_node.cpp" />
|
||||
<ClCompile Include="..\..\graphics\rain.cpp" />
|
||||
<ClCompile Include="..\..\guiengine\widgets\CGUIEditBox.cpp" />
|
||||
<ClCompile Include="..\..\items\swatter.cpp" />
|
||||
<ClCompile Include="..\..\main.cpp" />
|
||||
<ClCompile Include="..\..\main_loop.cpp" />
|
||||
<ClCompile Include="..\..\guiengine\abstract_state_manager.cpp" />
|
||||
@ -328,6 +329,7 @@
|
||||
<ClInclude Include="..\..\graphics\per_camera_node.hpp" />
|
||||
<ClInclude Include="..\..\graphics\rain.hpp" />
|
||||
<ClInclude Include="..\..\guiengine\widgets\CGUIEditBox.h" />
|
||||
<ClInclude Include="..\..\items\swatter.hpp" />
|
||||
<ClInclude Include="..\..\main_loop.hpp" />
|
||||
<ClInclude Include="..\..\guiengine\abstract_state_manager.hpp" />
|
||||
<ClInclude Include="..\..\guiengine\abstract_top_level_container.hpp" />
|
||||
|
@ -777,6 +777,9 @@
|
||||
<ClCompile Include="..\..\addons\request.cpp">
|
||||
<Filter>Quelldateien\addons</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\items\swatter.cpp">
|
||||
<Filter>Quelldateien\items</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\main_loop.hpp">
|
||||
@ -1472,5 +1475,8 @@
|
||||
<ClInclude Include="..\..\addons\request.hpp">
|
||||
<Filter>Headerdateien\addons</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\items\swatter.hpp">
|
||||
<Filter>Headerdateien\items</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -57,7 +57,7 @@ void ArenasScreen::loadedFromFile()
|
||||
DynamicRibbonWidget* w = this->getWidget<DynamicRibbonWidget>("tracks");
|
||||
|
||||
int num_of_arenas=0;
|
||||
for (int n=0; n<track_manager->getNumberOfTracks(); n++) //iterate through tracks to find how many are arenas
|
||||
for (unsigned int n=0; n<track_manager->getNumberOfTracks(); n++) //iterate through tracks to find how many are arenas
|
||||
{
|
||||
Track* temp = track_manager->getTrack(n);
|
||||
if (temp->isArena()){
|
||||
|
Loading…
Reference in New Issue
Block a user