From 2892a844d43d4c0e8209ad1efc0b135a957a4b8d Mon Sep 17 00:00:00 2001 From: faketruth Date: Sat, 24 Dec 2011 23:34:30 +0000 Subject: 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 --- VC2010/tolua++-1.0.93.vcxproj | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'VC2010/tolua++-1.0.93.vcxproj') diff --git a/VC2010/tolua++-1.0.93.vcxproj b/VC2010/tolua++-1.0.93.vcxproj index 9fbec5d5d..3cac62db7 100644 --- a/VC2010/tolua++-1.0.93.vcxproj +++ b/VC2010/tolua++-1.0.93.vcxproj @@ -25,7 +25,6 @@ StaticLibrary - MultiByte true @@ -35,7 +34,6 @@ StaticLibrary - MultiByte StaticLibrary @@ -63,6 +61,8 @@ $(Configuration)\ $(SolutionDir) $(Configuration)\ + $(Configuration)\$(ProjectName)\ + $(Configuration)\$(ProjectName)\ @@ -71,8 +71,9 @@ true EnableFastChecks MultiThreadedDebugDLL - Level3 + TurnOffAllWarnings EditAndContinue + true @@ -96,9 +97,10 @@ ..\lua-5.1.4\src;..\tolua++-1.0.93\include;%(AdditionalIncludeDirectories) MultiThreaded true - Level3 + TurnOffAllWarnings ProgramDatabase Speed + true true -- cgit v1.2.3