diff --git a/.gitignore b/.gitignore
index 8c735b6b14..fd8e78785c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -87,6 +87,13 @@
/tools/*.ilk
/tools/*.pdb
+# /vcproj-13/
+/vcproj-13/char-server_sql
+/vcproj-13/login-server_sql
+/vcproj-13/mapcache
+/vcproj-13/map-server_sql
+/vcproj-13/*.user
+
# /vcproj-12/
/vcproj-12/char-server_sql
/vcproj-12/login-server_sql
diff --git a/rAthena-13.sln b/rAthena-13.sln
new file mode 100644
index 0000000000..7fe37e4f8c
--- /dev/null
+++ b/rAthena-13.sln
@@ -0,0 +1,40 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "char-server_sql", "vcproj-13\char-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E4E9646175AF}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "login-server_sql", "vcproj-13\login-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E5E9646175AF}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "map-server_sql", "vcproj-13\map-server_sql.vcxproj", "{D356871D-58E1-450B-967A-E6E9646175AF}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mapcache", "vcproj-13\mapcache.vcxproj", "{D356871D-58E1-450B-967A-E7E9646175AF}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D356871D-58E1-450B-967A-E4E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E4E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E4E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E4E9646175AF}.Release|Win32.Build.0 = Release|Win32
+ {D356871D-58E1-450B-967A-E5E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E5E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E5E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E5E9646175AF}.Release|Win32.Build.0 = Release|Win32
+ {D356871D-58E1-450B-967A-E6E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E6E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E6E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E6E9646175AF}.Release|Win32.Build.0 = Release|Win32
+ {D356871D-58E1-450B-967A-E7E9646175AF}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D356871D-58E1-450B-967A-E7E9646175AF}.Debug|Win32.Build.0 = Debug|Win32
+ {D356871D-58E1-450B-967A-E7E9646175AF}.Release|Win32.ActiveCfg = Release|Win32
+ {D356871D-58E1-450B-967A-E7E9646175AF}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/src/common/atomic.h b/src/common/atomic.h
index b1a4bda927..89f0b910f9 100644
--- a/src/common/atomic.h
+++ b/src/common/atomic.h
@@ -8,9 +8,9 @@
// (Interlocked CompareExchange, Add .. and so on ..)
//
// Implementation varies / depends on:
-// - Architecture
-// - Compiler
-// - Operating System
+// - Architecture
+// - Compiler
+// - Operating System
//
// our Abstraction is fully API-Compatible to Microsofts implementation @ NT5.0+
//
@@ -19,67 +19,72 @@
#if defined(_MSC_VER)
#include "../common/winapi.h"
+// This checks if C/C++ Compiler Version is 18.00
+#if _MSC_VER < 1800
+
#if !defined(_M_X64)
// When compiling for windows 32bit, the 8byte interlocked operations are not provided by microsoft
// (because they need at least i586 so its not generic enough.. ... )
forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 _cmp){
- _asm{
- lea esi,_cmp;
- lea edi,exch;
+ _asm{
+ lea esi,_cmp;
+ lea edi,exch;
- mov eax,[esi];
- mov edx,4[esi];
- mov ebx,[edi];
- mov ecx,4[edi];
- mov esi,dest;
-
- lock CMPXCHG8B [esi];
- }
+ mov eax,[esi];
+ mov edx,4[esi];
+ mov ebx,[edi];
+ mov ecx,4[edi];
+ mov esi,dest;
+
+ lock CMPXCHG8B [esi];
+ }
}
forceinline volatile int64 InterlockedIncrement64(volatile int64 *addend){
- __int64 old;
- do{
- old = *addend;
- }while(InterlockedCompareExchange64(addend, (old+1), old) != old);
+ __int64 old;
+ do{
+ old = *addend;
+ }while(InterlockedCompareExchange64(addend, (old+1), old) != old);
- return (old + 1);
+ return (old + 1);
}
forceinline volatile int64 InterlockedDecrement64(volatile int64 *addend){
- __int64 old;
+ __int64 old;
- do{
- old = *addend;
- }while(InterlockedCompareExchange64(addend, (old-1), old) != old);
+ do{
+ old = *addend;
+ }while(InterlockedCompareExchange64(addend, (old-1), old) != old);
- return (old - 1);
+ return (old - 1);
}
forceinline volatile int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){
- __int64 old;
+ __int64 old;
- do{
- old = *addend;
- }while(InterlockedCompareExchange64(addend, (old + increment), old) != old);
+ do{
+ old = *addend;
+ }while(InterlockedCompareExchange64(addend, (old + increment), old) != old);
- return old;
+ return old;
}
forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 val){
- __int64 old;
- do{
- old = *target;
- }while(InterlockedCompareExchange64(target, val, old) != old);
+ __int64 old;
+ do{
+ old = *target;
+ }while(InterlockedCompareExchange64(target, val, old) != old);
- return old;
+ return old;
}
#endif //endif 32bit windows
+#endif //endif _msc_ver check
+
#elif defined(__GNUC__)
#if !defined(__x86_64__) && !defined(__i386__)
@@ -87,17 +92,17 @@ forceinline volatile int64 InterlockedExchange64(volatile int64 *target, int64 v
#endif
static forceinline int64 InterlockedExchangeAdd64(volatile int64 *addend, int64 increment){
- return __sync_fetch_and_add(addend, increment);
+ return __sync_fetch_and_add(addend, increment);
}//end: InterlockedExchangeAdd64()
static forceinline int32 InterlockedExchangeAdd(volatile int32 *addend, int32 increment){
- return __sync_fetch_and_add(addend, increment);
+ return __sync_fetch_and_add(addend, increment);
}//end: InterlockedExchangeAdd()
static forceinline int64 InterlockedIncrement64(volatile int64 *addend){
- return __sync_add_and_fetch(addend, 1);
+ return __sync_add_and_fetch(addend, 1);
}//end: InterlockedIncrement64()
@@ -107,27 +112,27 @@ static forceinline int32 InterlockedIncrement(volatile int32 *addend){
static forceinline int64 InterlockedDecrement64(volatile int64 *addend){
- return __sync_sub_and_fetch(addend, 1);
+ return __sync_sub_and_fetch(addend, 1);
}//end: InterlockedDecrement64()
static forceinline int32 InterlockedDecrement(volatile int32 *addend){
- return __sync_sub_and_fetch(addend, 1);
+ return __sync_sub_and_fetch(addend, 1);
}//end: InterlockedDecrement()
static forceinline int64 InterlockedCompareExchange64(volatile int64 *dest, int64 exch, int64 cmp){
- return __sync_val_compare_and_swap(dest, cmp, exch);
+ return __sync_val_compare_and_swap(dest, cmp, exch);
}//end: InterlockedCompareExchange64()
static forceinline int32 InterlockedCompareExchange(volatile int32 *dest, int32 exch, int32 cmp){
- return __sync_val_compare_and_swap(dest, cmp, exch);
+ return __sync_val_compare_and_swap(dest, cmp, exch);
}//end: InterlockedCompareExchnage()
static forceinline int64 InterlockedExchange64(volatile int64 *target, int64 val){
- return __sync_lock_test_and_set(target, val);
+ return __sync_lock_test_and_set(target, val);
}//end: InterlockedExchange64()
@@ -139,4 +144,4 @@ static forceinline int32 InterlockedExchange(volatile int32 *target, int32 val){
#endif //endif compiler decission
-#endif
+#endif
\ No newline at end of file
diff --git a/vcproj-13/char-server_sql.vcxproj b/vcproj-13/char-server_sql.vcxproj
new file mode 100644
index 0000000000..728e2554a9
--- /dev/null
+++ b/vcproj-13/char-server_sql.vcxproj
@@ -0,0 +1,221 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {D356871D-58E1-450B-967A-E4E9646175AF}
+ char-server_sql
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+ true
+ v120
+
+
+ Application
+ MultiByte
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ ..\
+ $(ProjectName)\$(Configuration)\
+ true
+ ..\
+ $(ProjectName)\$(Configuration)\
+ false
+ char-server_sql
+ char-server_sql
+
+
+
+ Disabled
+ ..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ false
+ false
+
+
+ EnableFastChecks
+ MultiThreadedDebug
+ true
+
+
+
+
+ Level3
+ EditAndContinue
+ CompileAsC
+ 4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+ MaxSpeed
+ AnySuitable
+ true
+ Speed
+ true
+ true
+ true
+ ..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;LIBCONFIG_STATIC;YY_USE_CONST;FD_SETSIZE=4096;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+
+
+
+
+ Level3
+ ProgramDatabase
+ CompileAsC
+ 4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ true
+ true
+ UseLinkTimeCodeGeneration
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/char-server_sql.vcxproj.filters b/vcproj-13/char-server_sql.vcxproj.filters
new file mode 100644
index 0000000000..ddb29f4b89
--- /dev/null
+++ b/vcproj-13/char-server_sql.vcxproj.filters
@@ -0,0 +1,259 @@
+
+
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ char_sql
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+
+ {623f21b1-c166-4848-83d8-8b4fe0e2e2df}
+
+
+ {83b1ecf5-21d1-4dac-915f-95ff77a90899}
+
+
+ {b3f5c857-79c0-4a55-b8c5-7e7f56a8f948}
+
+
+ {847768ab-8c4b-431b-8667-00f8ae3b915c}
+
+
+ {9e8badd7-548f-4eb4-9e87-613e87e772ff}
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/login-server_sql.vcxproj b/vcproj-13/login-server_sql.vcxproj
new file mode 100644
index 0000000000..17dc5d3e1a
--- /dev/null
+++ b/vcproj-13/login-server_sql.vcxproj
@@ -0,0 +1,209 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {D356871D-58E1-450B-967A-E5E9646175AF}
+ login-server_sql
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+ true
+ v120
+
+
+ Application
+ MultiByte
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ ..\
+ $(ProjectName)\$(Configuration)\
+ true
+ ..\
+ $(ProjectName)\$(Configuration)\
+ false
+ login-server_sql
+ login-server_sql
+
+
+
+ Disabled
+ ..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ false
+ false
+
+
+ EnableFastChecks
+ MultiThreadedDebug
+ true
+
+
+
+
+ Level3
+ EditAndContinue
+ CompileAsC
+ 4100;4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+ MaxSpeed
+ AnySuitable
+ true
+ Speed
+ true
+ true
+ true
+ ..\3rdparty\libconfig;..\3rdparty\mysql\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;WITH_SQL;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+
+
+
+
+
+
+
+
+ Level3
+ ProgramDatabase
+ CompileAsC
+ 4100;4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ true
+ true
+ UseLinkTimeCodeGeneration
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/login-server_sql.vcxproj.filters b/vcproj-13/login-server_sql.vcxproj.filters
new file mode 100644
index 0000000000..515a0481e3
--- /dev/null
+++ b/vcproj-13/login-server_sql.vcxproj.filters
@@ -0,0 +1,211 @@
+
+
+
+
+ login_sql
+
+
+ login_sql
+
+
+ login_sql
+
+
+ login_sql
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+
+ login_sql
+
+
+ login_sql
+
+
+ login_sql
+
+
+ login_sql
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+
+ {b50ee803-e71d-4d41-8f7d-2dad5839df50}
+
+
+ {8eea96ed-d379-4694-ae2e-ffb0be95170c}
+
+
+ {ab5c90ec-923d-4847-a214-45b40818211e}
+
+
+ {68e3bcee-28d9-4b2d-8701-614d50f32999}
+
+
+ {779e8145-9bb2-4a88-9149-60586ab0bdd4}
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/map-server_sql.vcxproj b/vcproj-13/map-server_sql.vcxproj
new file mode 100644
index 0000000000..7f342302fe
--- /dev/null
+++ b/vcproj-13/map-server_sql.vcxproj
@@ -0,0 +1,303 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {D356871D-58E1-450B-967A-E6E9646175AF}
+ map-server_sql
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+ true
+ v120
+
+
+ Application
+ MultiByte
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ ..\
+ $(ProjectName)\$(Configuration)\
+ true
+ ..\
+ $(ProjectName)\$(Configuration)\
+ false
+ map-server_sql
+ map-server_sql
+
+
+
+ Disabled
+ ..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;_DEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ false
+ false
+
+
+ EnableFastChecks
+ MultiThreadedDebug
+ true
+
+
+
+
+ Level3
+ EditAndContinue
+ CompileAsC
+ 4018;4100;4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmtd.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+ MaxSpeed
+ AnySuitable
+ true
+ Speed
+ true
+ true
+ true
+ ..\3rdparty\mysql\include;..\3rdparty\zlib\include;..\3rdparty\pcre\include;..\3rdparty\msinttypes\include;..\3rdparty\mt19937ar;..\3rdparty\libconfig;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;NDEBUG;PCRE_SUPPORT;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;FD_SETSIZE=4096;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+
+
+
+
+ Level3
+ ProgramDatabase
+ CompileAsC
+ 4018;4100;4800;%(DisableSpecificWarnings)
+ true
+
+
+ libcmt.lib;oldnames.lib;ws2_32.lib;libmysql.lib;zdll.lib;pcre.lib;%(AdditionalDependencies)
+ $(OutDir)$(ProjectName).exe
+ ..\3rdparty\mysql\lib;..\3rdparty\zlib\lib;..\3rdparty\pcre\lib;%(AdditionalLibraryDirectories)
+ true
+ %(IgnoreSpecificDefaultLibraries)
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ true
+ true
+ UseLinkTimeCodeGeneration
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/map-server_sql.vcxproj.filters b/vcproj-13/map-server_sql.vcxproj.filters
new file mode 100644
index 0000000000..03be2a77b7
--- /dev/null
+++ b/vcproj-13/map-server_sql.vcxproj.filters
@@ -0,0 +1,449 @@
+
+
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ map_sql
+
+
+ common
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ map_sql
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+
+
+ common
+
+
+ map_sql
+
+
+ common
+
+
+ 3rdparty\mt19937ar
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ 3rdparty\libconfig
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+ {3a137217-ebf7-44ee-95d9-3d7c51d2a199}
+
+
+ {8c01a080-5a78-4fb7-96f2-862c33a02230}
+
+
+ {c4845ea8-bcc7-411b-af29-e3842adb6714}
+
+
+ {fcf23386-ddba-4a72-9b41-62f8e2d0e6c0}
+
+
+ {9caf40b7-c4d1-43b4-bd1f-0376b4f920e7}
+
+
+
diff --git a/vcproj-13/mapcache.vcxproj b/vcproj-13/mapcache.vcxproj
new file mode 100644
index 0000000000..a5e7b8639d
--- /dev/null
+++ b/vcproj-13/mapcache.vcxproj
@@ -0,0 +1,155 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {D356871D-58E1-450B-967A-E7E9646175AF}
+ mapcache
+ Win32Proj
+
+
+
+ Application
+ MultiByte
+ true
+ v120
+
+
+ Application
+ MultiByte
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ ..\
+ $(ProjectName)\$(Configuration)\
+ true
+ ..\
+ $(ProjectName)\$(Configuration)\
+ false
+ mapcache
+ mapcache
+
+
+
+ Disabled
+ ..\3rdparty\libconfig;..\3rdparty\zlib\include;..\3rdparty\msinttypes\include;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;_DEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MINICORE;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ false
+ false
+
+
+ EnableFastChecks
+ MultiThreadedDebug
+ true
+
+
+
+
+ Level3
+ EditAndContinue
+ CompileAsC
+ true
+
+
+ /FIXED:NO %(AdditionalOptions)
+ libcmtd.lib;oldnames.lib;zdll.lib;%(AdditionalDependencies)
+ $(OutDir)mapcache.exe
+ ..\3rdparty\zlib\lib;%(AdditionalLibraryDirectories)
+ true
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+ MaxSpeed
+ AnySuitable
+ true
+ Speed
+ true
+ true
+ true
+ ..\3rdparty\libconfig;..\3rdparty\zlib\include;..\3rdparty\msinttypes\include;%(AdditionalIncludeDirectories)
+ WIN32;_WIN32;__WIN32;NDEBUG;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;MINICORE;LIBCONFIG_STATIC;YY_USE_CONST;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+ false
+
+
+
+
+ Level3
+ ProgramDatabase
+ CompileAsC
+ true
+
+
+ libcmt.lib;oldnames.lib;zdll.lib;%(AdditionalDependencies)
+ $(OutDir)mapcache.exe
+ ..\3rdparty\zlib\lib;%(AdditionalLibraryDirectories)
+ true
+ true
+ $(OutDir)$(ProjectName).pdb
+ Console
+ true
+ true
+ UseLinkTimeCodeGeneration
+ false
+
+
+ MachineX86
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vcproj-13/mapcache.vcxproj.filters b/vcproj-13/mapcache.vcxproj.filters
new file mode 100644
index 0000000000..9db61046e6
--- /dev/null
+++ b/vcproj-13/mapcache.vcxproj.filters
@@ -0,0 +1,70 @@
+
+
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ mapcache
+
+
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+ common
+
+
+
+
+
+ {a9c2444c-ffec-4e89-8412-e530231d79dc}
+
+
+ {5ea9d6f7-0a10-4bfb-ad39-478e4b1d8a0d}
+
+
+
\ No newline at end of file