diff --git a/sample_mm/msvc9/sample_mm.sln b/sample_mm/msvc9/sample_mm.sln
new file mode 100644
index 0000000..4a9a7d8
--- /dev/null
+++ b/sample_mm/msvc9/sample_mm.sln
@@ -0,0 +1,26 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample plugin", "sample_mm.vcproj", "{E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug - Orange Box|Win32 = Debug - Orange Box|Win32
+ Debug - Original|Win32 = Debug - Original|Win32
+ Release - Orange Box|Win32 = Release - Orange Box|Win32
+ Release - Original|Win32 = Release - Original|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Orange Box|Win32.ActiveCfg = Debug - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Orange Box|Win32.Build.0 = Debug - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Original|Win32.ActiveCfg = Debug - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Original|Win32.Build.0 = Debug - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Orange Box|Win32.ActiveCfg = Release - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Orange Box|Win32.Build.0 = Release - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Original|Win32.ActiveCfg = Release - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Original|Win32.Build.0 = Release - Original|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/sample_mm/msvc9/sample_mm.vcproj b/sample_mm/msvc9/sample_mm.vcproj
new file mode 100644
index 0000000..435055e
--- /dev/null
+++ b/sample_mm/msvc9/sample_mm.vcproj
@@ -0,0 +1,368 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sourcehook/sourcehook_hookmangen.cpp b/sourcehook/sourcehook_hookmangen.cpp
index 1b8ad24..8578330 100644
--- a/sourcehook/sourcehook_hookmangen.cpp
+++ b/sourcehook/sourcehook_hookmangen.cpp
@@ -15,12 +15,12 @@
// http://www.angelcode.com/dev/callconv/callconv.html
// http://www.arl.wustl.edu/~lockwood/class/cs306/books/artofasm/Chapter_6/CH06-1.html
+#include
#include "sourcehook_impl.h"
#include "sourcehook_hookmangen.h"
#include "sourcehook_hookmangen_x86.h"
#include "sh_memory.h"
#include // we might need the address of vsnprintf
-#include
#if SH_COMP == SH_COMP_MSVC
# define GCC_ONLY(x)
diff --git a/sourcemm/episode2/msvc9/sourcemm.sln b/sourcemm/episode2/msvc9/sourcemm.sln
new file mode 100644
index 0000000..b29443a
--- /dev/null
+++ b/sourcemm/episode2/msvc9/sourcemm.sln
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "metamodsource_ep2", "sourcemm.vcproj", "{F7D47743-73B3-49B5-9D76-2333C5DFD565}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F7D47743-73B3-49B5-9D76-2333C5DFD565}.Debug|Win32.ActiveCfg = Debug|Win32
+ {F7D47743-73B3-49B5-9D76-2333C5DFD565}.Debug|Win32.Build.0 = Debug|Win32
+ {F7D47743-73B3-49B5-9D76-2333C5DFD565}.Release|Win32.ActiveCfg = Release|Win32
+ {F7D47743-73B3-49B5-9D76-2333C5DFD565}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/sourcemm/episode2/msvc9/sourcemm.vcproj b/sourcemm/episode2/msvc9/sourcemm.vcproj
new file mode 100644
index 0000000..e094917
--- /dev/null
+++ b/sourcemm/episode2/msvc9/sourcemm.vcproj
@@ -0,0 +1,417 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sourcemm/episode2/provider_ep2.cpp b/sourcemm/episode2/provider_ep2.cpp
index 39a1376..045ca61 100644
--- a/sourcemm/episode2/provider_ep2.cpp
+++ b/sourcemm/episode2/provider_ep2.cpp
@@ -26,6 +26,7 @@
* Version: $Id$
*/
+#include
#include "../metamod_oslink.h"
#include
#include
diff --git a/sourcemm/episode2/vsp_listener.cpp b/sourcemm/episode2/vsp_listener.cpp
index dea839e..d3c4b27 100644
--- a/sourcemm/episode2/vsp_listener.cpp
+++ b/sourcemm/episode2/vsp_listener.cpp
@@ -25,6 +25,7 @@
* Version: $Id$
*/
+#include
#include "../metamod_oslink.h"
#include "metamod.h"
#include
diff --git a/sourcemm/metamod.cpp b/sourcemm/metamod.cpp
index 8865fc3..0cc318b 100644
--- a/sourcemm/metamod.cpp
+++ b/sourcemm/metamod.cpp
@@ -25,6 +25,7 @@
* Version: $Id$
*/
+#include
#include "metamod_oslink.h"
#include "metamod.h"
#include
diff --git a/sourcemm/metamod_console.cpp b/sourcemm/metamod_console.cpp
index 131e137..854fa9c 100644
--- a/sourcemm/metamod_console.cpp
+++ b/sourcemm/metamod_console.cpp
@@ -25,6 +25,7 @@
* Version: $Id$
*/
+#include
#include "metamod_oslink.h"
#include
#include "metamod.h"
diff --git a/sourcemm/metamod_oslink.cpp b/sourcemm/metamod_oslink.cpp
index 7e5e041..562a7e5 100644
--- a/sourcemm/metamod_oslink.cpp
+++ b/sourcemm/metamod_oslink.cpp
@@ -25,6 +25,7 @@
* Version: $Id$
*/
+#include
#include "metamod_oslink.h"
#include
#include
diff --git a/sourcemm/metamod_plugins.cpp b/sourcemm/metamod_plugins.cpp
index 53255f8..8a23b71 100644
--- a/sourcemm/metamod_plugins.cpp
+++ b/sourcemm/metamod_plugins.cpp
@@ -25,6 +25,7 @@
* Version: $Id$
*/
+#include
#include "metamod_oslink.h"
#include "metamod.h"
#include "metamod_plugins.h"
diff --git a/stub_mm/msvc9/stub_mm.sln b/stub_mm/msvc9/stub_mm.sln
new file mode 100644
index 0000000..1276cbd
--- /dev/null
+++ b/stub_mm/msvc9/stub_mm.sln
@@ -0,0 +1,26 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "stub_mm", "stub_mm.vcproj", "{E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug - Orange Box|Win32 = Debug - Orange Box|Win32
+ Debug - Original|Win32 = Debug - Original|Win32
+ Release - Orange Box|Win32 = Release - Orange Box|Win32
+ Release - Original|Win32 = Release - Original|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Orange Box|Win32.ActiveCfg = Debug - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Orange Box|Win32.Build.0 = Debug - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Original|Win32.ActiveCfg = Debug - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Debug - Original|Win32.Build.0 = Debug - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Orange Box|Win32.ActiveCfg = Release - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Orange Box|Win32.Build.0 = Release - Orange Box|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Original|Win32.ActiveCfg = Release - Original|Win32
+ {E62E5876-E1E2-41A0-85CA-1B41B9DA55F9}.Release - Original|Win32.Build.0 = Release - Original|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/stub_mm/msvc9/stub_mm.vcproj b/stub_mm/msvc9/stub_mm.vcproj
new file mode 100644
index 0000000..b7c2094
--- /dev/null
+++ b/stub_mm/msvc9/stub_mm.vcproj
@@ -0,0 +1,364 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+