From be42b7ff6268d6567706729381e467c5ffaf47bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Sat, 27 Mar 2010 22:00:55 +0000 Subject: [PATCH] Solution file for VC9. Minor. --- VCMI_VC9.sln | 56 +++++++++++++++++++++++++++++++++++++++ client/GUIBase.cpp | 3 ++- client/VCMI_client.vcproj | 4 --- 3 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 VCMI_VC9.sln diff --git a/VCMI_VC9.sln b/VCMI_VC9.sln new file mode 100644 index 000000000..095bf8687 --- /dev/null +++ b/VCMI_VC9.sln @@ -0,0 +1,56 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VCMI_client", "client\VCMI_client.vcproj", "{8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}" + ProjectSection(ProjectDependencies) = postProject + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} = {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VCMI_lib", "lib\VCMI_lib.vcproj", "{B952FFC5-3039-4DE1-9F08-90ACDA483D8F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VCMI_server", "server\VCMI_server.vcproj", "{8AF697C3-465E-4910-B31B-576A9ECDB309}" + ProjectSection(ProjectDependencies) = postProject + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} = {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "genius", "AI\GeniusAI\genius.vcproj", "{B6A14ED9-E7C1-411B-A596-2FE90B3145B4}" + ProjectSection(ProjectDependencies) = postProject + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} = {B952FFC5-3039-4DE1-9F08-90ACDA483D8F} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + RD|Win32 = RD|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.Debug|Win32.ActiveCfg = Debug|Win32 + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.Debug|Win32.Build.0 = Debug|Win32 + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.RD|Win32.ActiveCfg = RD|Win32 + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.RD|Win32.Build.0 = RD|Win32 + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.Release|Win32.ActiveCfg = Release|Win32 + {8355EBA8-65C2-44A4-BC2D-78053E1BF2D6}.Release|Win32.Build.0 = Release|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.Debug|Win32.ActiveCfg = Debug|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.Debug|Win32.Build.0 = Debug|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.RD|Win32.ActiveCfg = RD|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.RD|Win32.Build.0 = RD|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.Release|Win32.ActiveCfg = Release|Win32 + {B952FFC5-3039-4DE1-9F08-90ACDA483D8F}.Release|Win32.Build.0 = Release|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.Debug|Win32.ActiveCfg = Debug|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.Debug|Win32.Build.0 = Debug|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.RD|Win32.ActiveCfg = RD|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.RD|Win32.Build.0 = RD|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.Release|Win32.ActiveCfg = Release|Win32 + {8AF697C3-465E-4910-B31B-576A9ECDB309}.Release|Win32.Build.0 = Release|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.Debug|Win32.ActiveCfg = Debug|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.Debug|Win32.Build.0 = Debug|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.RD|Win32.ActiveCfg = RD|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.RD|Win32.Build.0 = RD|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.Release|Win32.ActiveCfg = Release|Win32 + {B6A14ED9-E7C1-411B-A596-2FE90B3145B4}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/client/GUIBase.cpp b/client/GUIBase.cpp index ae6acfe10..464217b11 100644 --- a/client/GUIBase.cpp +++ b/client/GUIBase.cpp @@ -29,7 +29,8 @@ void KeyShortcut::keyPressed(const SDL_KeyboardEvent & key) { pressedL = true; clickLeft(true, prev); - } else + } + else { pressedL = false; clickLeft(false, prev); diff --git a/client/VCMI_client.vcproj b/client/VCMI_client.vcproj index d2ae55230..38bc50e6b 100644 --- a/client/VCMI_client.vcproj +++ b/client/VCMI_client.vcproj @@ -588,10 +588,6 @@ RelativePath="..\ChangeLog" > - -