MSVC 2008 Express compatibility: Added the projects, modified sources to compile. Tested on MSVC 2008 Express and MSVC 2010 Express

git-svn-id: http://mc-server.googlecode.com/svn/trunk@179 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
madmaxoft@gmail.com 2012-01-27 14:04:28 +00:00
parent c2d1e983d7
commit 86158a2d1d
70 changed files with 2712 additions and 87 deletions

185
VC2008/JsonCpp.vcproj Normal file
View File

@ -0,0 +1,185 @@
<?xml version="1.0" encoding="windows-1250"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="JsonCpp"
ProjectGUID="{5AAA90B9-946D-4034-83F3-676B06A6E326}"
RootNamespace="JsonCpp"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../jsoncpp-src-0.5.0/include"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="../jsoncpp-src-0.5.0/include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_batchallocator.h"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_internalarray.inl"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_internalmap.inl"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_reader.cpp"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_value.cpp"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_valueiterator.inl"
>
</File>
<File
RelativePath="..\jsoncpp-src-0.5.0\src\lib_json\json_writer.cpp"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

375
VC2008/Lua.vcproj Normal file
View File

@ -0,0 +1,375 @@
<?xml version="1.0" encoding="windows-1250"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="Lua"
ProjectGUID="{082E8185-7B3A-4945-8C82-9132341A329D}"
RootNamespace="Lua"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\lua-5.1.4\src\lapi.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lauxlib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lbaselib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lcode.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldblib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldebug.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldo.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldump.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lfunc.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lgc.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\linit.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\liolib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\llex.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lmathlib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lmem.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\loadlib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lobject.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lopcodes.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\loslib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lparser.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lstate.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lstring.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lstrlib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ltable.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ltablib.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ltm.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lua.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\luac.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lundump.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lvm.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lzio.c"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\print.c"
>
</File>
</Filter>
<File
RelativePath="..\lua-5.1.4\src\lapi.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lauxlib.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lcode.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldebug.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ldo.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lfunc.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lgc.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\llex.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\llimits.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lmem.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lobject.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lopcodes.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lparser.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lstate.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lstring.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ltable.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\ltm.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lua.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\luaconf.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lualib.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lundump.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lvm.h"
>
</File>
<File
RelativePath="..\lua-5.1.4\src\lzio.h"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

50
VC2008/MCServer.sln Normal file
View File

@ -0,0 +1,50 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MCServer", "MCServer.vcproj", "{32012054-0C96-4C43-AB27-174FF8E72D66}"
ProjectSection(ProjectDependencies) = postProject
{082E8185-7B3A-4945-8C82-9132341A329D} = {082E8185-7B3A-4945-8C82-9132341A329D}
{EEAB54AD-114C-4AB8-8482-0A52D502BD35} = {EEAB54AD-114C-4AB8-8482-0A52D502BD35}
{5AAA90B9-946D-4034-83F3-676B06A6E326} = {5AAA90B9-946D-4034-83F3-676B06A6E326}
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA} = {EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "zlib.vcproj", "{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "JsonCpp", "JsonCpp.vcproj", "{5AAA90B9-946D-4034-83F3-676B06A6E326}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lua", "Lua.vcproj", "{082E8185-7B3A-4945-8C82-9132341A329D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ToLua", "ToLua.vcproj", "{EEAB54AD-114C-4AB8-8482-0A52D502BD35}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{32012054-0C96-4C43-AB27-174FF8E72D66}.Debug|Win32.ActiveCfg = Debug|Win32
{32012054-0C96-4C43-AB27-174FF8E72D66}.Debug|Win32.Build.0 = Debug|Win32
{32012054-0C96-4C43-AB27-174FF8E72D66}.Release|Win32.ActiveCfg = Release|Win32
{32012054-0C96-4C43-AB27-174FF8E72D66}.Release|Win32.Build.0 = Release|Win32
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}.Debug|Win32.ActiveCfg = Debug|Win32
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}.Debug|Win32.Build.0 = Debug|Win32
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}.Release|Win32.ActiveCfg = Release|Win32
{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}.Release|Win32.Build.0 = Release|Win32
{5AAA90B9-946D-4034-83F3-676B06A6E326}.Debug|Win32.ActiveCfg = Debug|Win32
{5AAA90B9-946D-4034-83F3-676B06A6E326}.Debug|Win32.Build.0 = Debug|Win32
{5AAA90B9-946D-4034-83F3-676B06A6E326}.Release|Win32.ActiveCfg = Release|Win32
{5AAA90B9-946D-4034-83F3-676B06A6E326}.Release|Win32.Build.0 = Release|Win32
{082E8185-7B3A-4945-8C82-9132341A329D}.Debug|Win32.ActiveCfg = Debug|Win32
{082E8185-7B3A-4945-8C82-9132341A329D}.Debug|Win32.Build.0 = Debug|Win32
{082E8185-7B3A-4945-8C82-9132341A329D}.Release|Win32.ActiveCfg = Release|Win32
{082E8185-7B3A-4945-8C82-9132341A329D}.Release|Win32.Build.0 = Release|Win32
{EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Debug|Win32.ActiveCfg = Debug|Win32
{EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Debug|Win32.Build.0 = Debug|Win32
{EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Release|Win32.ActiveCfg = Release|Win32
{EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

1545
VC2008/MCServer.vcproj Normal file

File diff suppressed because it is too large Load Diff

201
VC2008/ToLua.vcproj Normal file
View File

@ -0,0 +1,201 @@
<?xml version="1.0" encoding="windows-1250"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="ToLua"
ProjectGUID="{EEAB54AD-114C-4AB8-8482-0A52D502BD35}"
RootNamespace="ToLua"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="../tolua++-1.0.93/include;../lua-5.1.4/src"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="../tolua++-1.0.93/include;../lua-5.1.4/src"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\tolua++-1.0.93\src\bin\tolua.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_event.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_event.h"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_is.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_map.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_push.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\lib\tolua_to.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\bin\toluabind.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\bin\toluabind.h"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\bin\toluabind_default.c"
>
</File>
<File
RelativePath="..\tolua++-1.0.93\src\bin\toluabind_default.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

267
VC2008/zlib.vcproj Normal file
View File

@ -0,0 +1,267 @@
<?xml version="1.0" encoding="windows-1250"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="zlib"
ProjectGUID="{EA9D50FD-937A-4EF5-8C37-5F4175AF4FEA}"
RootNamespace="zlib"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\zlib-1.2.5\adler32.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\compress.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\crc32.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\crc32.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\deflate.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\deflate.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\example.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\gzclose.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\gzguts.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\gzlib.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\gzread.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\gzwrite.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\infback.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inffast.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inffast.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inffixed.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inflate.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inflate.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inftrees.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\inftrees.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\minigzip.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\trees.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\trees.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\uncompr.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\zconf.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\zlib.h"
>
</File>
<File
RelativePath="..\zlib-1.2.5\zutil.c"
>
</File>
<File
RelativePath="..\zlib-1.2.5\zutil.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -1,18 +1,19 @@
#pragma once
#ifdef _WIN32
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#ifndef DEBUG_NEW
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#define new DEBUG_NEW
#endif
#endif
#endif
#ifdef _DEBUG
// Enable the CRT debugging features:
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
// This works only in MSVC 2010+:
#if _MSC_VER >= 1600
// Map the new operator
#ifndef DEBUG_NEW
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#define new DEBUG_NEW
#endif // _CRTDBG_MAP_ALLOC
#endif // _MSC_VER
#endif // _DEBUG
#endif // _WIN32

View File

@ -4,11 +4,11 @@
#include "cWorld.h"
#include "cRoot.h"
#include "cMakeDir.h"
#include <math.h> // floorf
#ifndef _WIN32
#include <cstring> // memcpy
#include <cstdlib> // abs
#include <math.h> // floorf
#include <stdio.h> // sprintf and stuff

View File

@ -9,9 +9,9 @@ public:
void Wait();
void Signal();
private:
void* m_Handle; // HANDLE pointer
#ifndef _WIN32
bool m_bNamed;
void* m_Handle; // HANDLE pointer
#ifndef _WIN32
bool m_bNamed;
#endif
};
};

View File

@ -1,6 +1,6 @@
#include "cPacket.h"
#include "cMCLogger.h"
#include "Endianness.h"
#include "../cMCLogger.h"
#include "../Endianness.h"
#ifdef _WIN32
#define MSG_NOSIGNAL (0)

View File

@ -1,6 +1,8 @@
#pragma once
#include "cSocket.h"
#include "../cSocket.h"
#include "../PacketID.h"
#ifdef _WIN32
#include <xstring>
#else

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_13 : public cPacket
{

View File

@ -1,6 +1,6 @@
#include "cPacket_AddToInventory.h"
#include "cPacket_WholeInventory.h"
#include "cItem.h"
#include "../cItem.h"
#include "cPacket_ItemData.h"
bool cPacket_AddToInventory::Send( cSocket & a_Socket )

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
#include "../BlockID.h"
class cPacket_AddToInventory : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_ArmAnim : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_BlockAction : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_BlockChange : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_BlockDig : public cPacket //tolua_export
{ //tolua_export

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_BlockPlace : public cPacket //tolua_export
{ //tolua_export

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Chat : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_CollectItem : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
//Sure it´s not Creative Inventory?

View File

@ -1,5 +1,5 @@
#include "cPacket_DestroyEntity.h"
#include "cEntity.h"
#include "../cEntity.h"
cPacket_DestroyEntity::cPacket_DestroyEntity(cEntity* a_Entity)
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cEntity;
class cPacket_DestroyEntity : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Disconnect : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_EntityEquipment : public cPacket
{

View File

@ -1,6 +1,6 @@
#include "cPacket_EntityLook.h"
#include "cEntity.h"
#include "../cEntity.h"
cPacket_EntityLook::cPacket_EntityLook(cEntity* a_Entity)
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cEntity;
class cPacket_EntityLook : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_EntityStatus : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Explosion : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Flying : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Handshake : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_InventoryProgressBar : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
#include "../BlockID.h"
class cPacket_InventorySlot : public cPacket // Set item [S -> C] ?

View File

@ -1,8 +1,8 @@
#pragma once
#include "PacketID.h"
#include "cPacket.h"
#include "cItem.h"
#include "../cItem.h"
class cPacket_ItemData : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_ItemSwitch : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_KeepAlive : public cPacket
{

View File

@ -2,7 +2,7 @@
#include "cPacket.h"
#include <string>
#include "PacketID.h"
class cPacket_Login : public cPacket //tolua_export
{ //tolua_export

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cChunk;
class cPacket_MapChunk : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
#include "cPawn.h"
#include "../cPawn.h"
class cPacket_Metadata : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_MultiBlock : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_NamedEntitySpawn : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_NewInvalidState : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_PickupSpawn : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Ping : public cPacket
{

View File

@ -1,5 +1,5 @@
#include "cPacket_PlayerListItem.h"
#include "cChatColor.h"
#include "../cChatColor.h"
cPacket_PlayerListItem::cPacket_PlayerListItem(std::string a_PlayerName, bool a_Online, short a_Ping)
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_PlayerListItem : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPlayer;
class cPacket_PlayerLook : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPlayer;
class cPacket_PlayerMoveLook : public cPacket

View File

@ -1,5 +1,5 @@
#include "cPacket_PlayerPosition.h"
#include "cPlayer.h"
#include "../cPlayer.h"
cPacket_PlayerPosition::cPacket_PlayerPosition( cPlayer* a_Player )
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPlayer;
class cPacket_PlayerPosition : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_PreChunk: public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_RelativeEntityMove : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_RelativeEntityMoveLook : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
#include "cPacket_Login.h"
#include <string>

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_SoundEffect : public cPacket
{

View File

@ -1,7 +1,7 @@
#include "cPacket_SpawnMob.h"
#include "Vector3i.h"
#include "../Vector3i.h"
#include "cMCLogger.h"
#include "../cMCLogger.h"
cPacket_SpawnMob::~cPacket_SpawnMob()
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class Vector3i;
class cPacket_SpawnMob : public cPacket

View File

@ -1,6 +1,6 @@
#include "cPacket_TeleportEntity.h"
#include "cEntity.h"
#include "../cEntity.h"
cPacket_TeleportEntity::cPacket_TeleportEntity(cEntity* a_Client)
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cEntity;
class cPacket_TeleportEntity : public cPacket

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_Thunderbolt : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_TimeUpdate : public cPacket
{

View File

@ -1,6 +1,6 @@
#include "cPacket_UpdateHealth.h"
#include "cMCLogger.h"
#include "../cMCLogger.h"
bool cPacket_UpdateHealth::Send(cSocket & a_Socket)
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_UpdateHealth : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_UpdateSign : public cPacket
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_UseEntity : public cPacket
{

View File

@ -1,8 +1,8 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
#include "BlockID.h"
#include "../BlockID.h"
class cInventory;
class cWindow;

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_WindowClick : public cPacket // [C -> S]
{

View File

@ -1,7 +1,7 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_WindowClose : public cPacket
{

View File

@ -1,7 +1,6 @@
#pragma once
#include "cPacket.h"
#include "PacketID.h"
class cPacket_WindowOpen : public cPacket
{