Skip to content

Commit

Permalink
VS Tweaks pre-release.
Browse files Browse the repository at this point in the history
  • Loading branch information
thebracket committed Sep 22, 2016
1 parent 1c97d52 commit 42d18c6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions BlackFuture/BlackFuture.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
<ClInclude Include="..\src\systems\lighting_system.hpp" />
<ClInclude Include="..\src\systems\map_render_system.hpp" />
<ClInclude Include="..\src\systems\mining_system.hpp" />
<ClInclude Include="..\src\systems\mode_civs_system.hpp" />
<ClInclude Include="..\src\systems\mode_rogue_render_system.hpp" />
<ClInclude Include="..\src\systems\mode_rogue_system.hpp" />
<ClInclude Include="..\src\systems\mode_units_system.hpp" />
Expand Down Expand Up @@ -296,6 +297,7 @@
<ClCompile Include="..\src\systems\lighting_system.cpp" />
<ClCompile Include="..\src\systems\map_render_system.cpp" />
<ClCompile Include="..\src\systems\mining_system.cpp" />
<ClCompile Include="..\src\systems\mode_civs_system.cpp" />
<ClCompile Include="..\src\systems\mode_rogue_render_system.cpp" />
<ClCompile Include="..\src\systems\mode_rogue_system.cpp" />
<ClCompile Include="..\src\systems\mode_units_system.cpp" />
Expand Down
6 changes: 6 additions & 0 deletions BlackFuture/BlackFuture.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,9 @@
<ClInclude Include="..\src\systems\game_over_system.hpp">
<Filter>Header Files\systems</Filter>
</ClInclude>
<ClInclude Include="..\src\systems\mode_civs_system.hpp">
<Filter>Header Files\systems</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\main.cpp">
Expand Down Expand Up @@ -692,5 +695,8 @@
<ClCompile Include="..\src\systems\game_over_system.cpp">
<Filter>Source Files\systems</Filter>
</ClCompile>
<ClCompile Include="..\src\systems\mode_civs_system.cpp">
<Filter>Source Files\systems</Filter>
</ClCompile>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/planet/builder/region_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ inline std::vector<int> create_subregions(planet_t &planet, region_t &region, st
}
}
}
return subregion_idx;
}

inline void zero_map(region_t &region) {
Expand Down
2 changes: 1 addition & 1 deletion src/systems/settler_ai_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ void settler_ai_system::do_equip_armor(entity_t &e, settler_ai_t &ai, game_stats
each<item_carried_t>([&e, &pos, &loc] (entity_t &E, item_carried_t &c) {
if (c.carried_by == e.id && c.location == loc) emit(drop_item_message{E.id, pos.x, pos.y, pos.z});
});
emit(pickup_item_message{ai.target_id, e.id, loc});
emit(pickup_item_message{static_cast<std::size_t>(ai.target_id), e.id, loc});
ai.current_tool = 0;


Expand Down

0 comments on commit 42d18c6

Please sign in to comment.