From d46d713fb9d5fb17f7bb67819bb23515a989244e Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Sun, 18 Dec 2016 13:19:02 -0500 Subject: [PATCH] Update MSVC project and fix warnings --- projectfiles/VC12/wesnoth.vcxproj | 8 ++++++++ projectfiles/VC12/wesnoth.vcxproj.filters | 6 ++++++ src/gui/dialogs/attack_predictions.hpp | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/projectfiles/VC12/wesnoth.vcxproj b/projectfiles/VC12/wesnoth.vcxproj index 662fc42495b..46f2c8a8981 100644 --- a/projectfiles/VC12/wesnoth.vcxproj +++ b/projectfiles/VC12/wesnoth.vcxproj @@ -1700,6 +1700,13 @@ $(IntDir)Gui\Dialogs\ $(IntDir)Gui\Dialogs\ + + $(IntDir)Gui\Dialogs\ + $(IntDir)Gui\Dialogs\ + $(IntDir)Gui\Dialogs\ + $(IntDir)Gui\Dialogs\ + $(IntDir)Gui\Dialogs\ + $(IntDir)Gui\Dialogs\ $(IntDir)Gui\Dialogs\ @@ -4115,6 +4122,7 @@ + diff --git a/projectfiles/VC12/wesnoth.vcxproj.filters b/projectfiles/VC12/wesnoth.vcxproj.filters index fe5868602cb..b16f7011f80 100644 --- a/projectfiles/VC12/wesnoth.vcxproj.filters +++ b/projectfiles/VC12/wesnoth.vcxproj.filters @@ -1519,6 +1519,9 @@ Font + + Gui\Dialogs + @@ -2946,6 +2949,9 @@ Font\Pango + + Gui\Dialogs + diff --git a/src/gui/dialogs/attack_predictions.hpp b/src/gui/dialogs/attack_predictions.hpp index 9e93bbc053a..4fe55948073 100644 --- a/src/gui/dialogs/attack_predictions.hpp +++ b/src/gui/dialogs/attack_predictions.hpp @@ -20,9 +20,9 @@ #include "units/map.hpp" class battle_context; -class battle_context_unit_stats; +struct battle_context_unit_stats; class CVideo; -class map_location; +struct map_location; struct combatant; namespace gui2