1
0
cuberite-2a/VC2010/lua-5.1.4.vcxproj
faketruth 2892a844d4 Chunks are generated in a separate thread allowing players to keep on playing and chatting while chunks are generated. This means, however, that cWorld::GetChunk() does not always return a chunk and is something you need to be aware of. I am not entirely sure if all this is completely stable, but I think so :O
Chunks are now generated before the player is able to see them. This is done because after a chunks is done generating, some blocks might still need to be set (parts of trees from neighboring chunk), causing more bandwidth to be used (each changed block needs to be sent to clients again) and (fps) lagging the clients when changing a lot of blocks. Calculating ahead fixes these issues.

Separated the placing of foliage (trees and stuff) when generated chunks into a new function GenerateFoliage()
Cleaned up the VS2010 project, now using some VS2010 specific functions like dependencies on projects (no need for setting library dependencies manually). VS2010 project now compiles way faster in Release by using multi threading.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@103 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-24 23:34:30 +00:00

178 lines
9.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{5E511191-6F1F-4D0D-940A-B850780963D2}</ProjectGuid>
<RootNamespace>lua514</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\$(ProjectName)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\$(ProjectName)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<MinimalRebuild>true</MinimalRebuild>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<Optimization>Disabled</Optimization>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Lib>
<OutputFile>$(OutDir)$(ProjectName)_d.lib</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Lib>
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\lua-5.1.4\src\lapi.c" />
<ClCompile Include="..\lua-5.1.4\src\lauxlib.c" />
<ClCompile Include="..\lua-5.1.4\src\lbaselib.c" />
<ClCompile Include="..\lua-5.1.4\src\lcode.c" />
<ClCompile Include="..\lua-5.1.4\src\ldblib.c" />
<ClCompile Include="..\lua-5.1.4\src\ldebug.c" />
<ClCompile Include="..\lua-5.1.4\src\ldo.c" />
<ClCompile Include="..\lua-5.1.4\src\ldump.c" />
<ClCompile Include="..\lua-5.1.4\src\lfunc.c" />
<ClCompile Include="..\lua-5.1.4\src\lgc.c" />
<ClCompile Include="..\lua-5.1.4\src\linit.c" />
<ClCompile Include="..\lua-5.1.4\src\liolib.c" />
<ClCompile Include="..\lua-5.1.4\src\llex.c" />
<ClCompile Include="..\lua-5.1.4\src\lmathlib.c" />
<ClCompile Include="..\lua-5.1.4\src\lmem.c" />
<ClCompile Include="..\lua-5.1.4\src\loadlib.c" />
<ClCompile Include="..\lua-5.1.4\src\lobject.c" />
<ClCompile Include="..\lua-5.1.4\src\lopcodes.c" />
<ClCompile Include="..\lua-5.1.4\src\loslib.c" />
<ClCompile Include="..\lua-5.1.4\src\lparser.c" />
<ClCompile Include="..\lua-5.1.4\src\lstate.c" />
<ClCompile Include="..\lua-5.1.4\src\lstring.c" />
<ClCompile Include="..\lua-5.1.4\src\lstrlib.c" />
<ClCompile Include="..\lua-5.1.4\src\ltable.c" />
<ClCompile Include="..\lua-5.1.4\src\ltablib.c" />
<ClCompile Include="..\lua-5.1.4\src\ltm.c" />
<ClCompile Include="..\lua-5.1.4\src\lua.c" />
<ClCompile Include="..\lua-5.1.4\src\luac.c" />
<ClCompile Include="..\lua-5.1.4\src\lundump.c" />
<ClCompile Include="..\lua-5.1.4\src\lvm.c" />
<ClCompile Include="..\lua-5.1.4\src\lzio.c" />
<ClCompile Include="..\lua-5.1.4\src\print.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\lua-5.1.4\src\lapi.h" />
<ClInclude Include="..\lua-5.1.4\src\lauxlib.h" />
<ClInclude Include="..\lua-5.1.4\src\lcode.h" />
<ClInclude Include="..\lua-5.1.4\src\ldebug.h" />
<ClInclude Include="..\lua-5.1.4\src\ldo.h" />
<ClInclude Include="..\lua-5.1.4\src\lfunc.h" />
<ClInclude Include="..\lua-5.1.4\src\lgc.h" />
<ClInclude Include="..\lua-5.1.4\src\llex.h" />
<ClInclude Include="..\lua-5.1.4\src\llimits.h" />
<ClInclude Include="..\lua-5.1.4\src\lmem.h" />
<ClInclude Include="..\lua-5.1.4\src\lobject.h" />
<ClInclude Include="..\lua-5.1.4\src\lopcodes.h" />
<ClInclude Include="..\lua-5.1.4\src\lparser.h" />
<ClInclude Include="..\lua-5.1.4\src\lstate.h" />
<ClInclude Include="..\lua-5.1.4\src\lstring.h" />
<ClInclude Include="..\lua-5.1.4\src\ltable.h" />
<ClInclude Include="..\lua-5.1.4\src\ltm.h" />
<ClInclude Include="..\lua-5.1.4\src\lua.h" />
<ClInclude Include="..\lua-5.1.4\src\luaconf.h" />
<ClInclude Include="..\lua-5.1.4\src\lualib.h" />
<ClInclude Include="..\lua-5.1.4\src\lundump.h" />
<ClInclude Include="..\lua-5.1.4\src\lvm.h" />
<ClInclude Include="..\lua-5.1.4\src\lzio.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>