Fix compile error on Windows

This commit is contained in:
yinjimmy 2015-01-12 20:55:36 +08:00
parent d1205ceeea
commit e700d47dbd
6 changed files with 293 additions and 260 deletions

View File

@ -25,7 +25,8 @@
#include "CCLuaEngine.h"
#include "AppEvent.h"
#include "AppLang.h"
#include "ConfigParser.h"
#include "runtime/ConfigParser.h"
#include "runtime/Runtime.h"
#include "platform/win32/PlayerWin.h"
#include "platform/win32/PlayerMenuServiceWin.h"
@ -231,7 +232,7 @@ int SimulatorWin::run()
// create the application instance
_app = new AppDelegate();
_app->setProjectConfig(_project);
RuntimeEngine::getInstance()->setProjectConfig(_project);
// create console window
if (_project.isShowConsole())
@ -541,8 +542,7 @@ void SimulatorWin::setupUI()
project.setScriptFile(ConfigParser::getInstance()->getEntryFile());
project.setWritablePath(dirPath);
app->setProjectConfig(project);
app->reopenProject();
RuntimeEngine::getInstance()->setProjectConfig(project);
}
}
});

View File

@ -178,39 +178,6 @@ xcopy /Y /Q "$(ProjectDir)..\Classes\lang" "$(ProjectDir)..\..\..\runtime\win32\
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\Classes\AppDelegate.h" />
<ClInclude Include="..\Classes\ConfigParser.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\extension_set.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\generated_message_util.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream_inl.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\message_lite.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\repeated_field.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\common.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\hash.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\map-util.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\once.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\platform_macros.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\stl_util.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\stringprintf.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\template_util.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\type_traits.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.h" />
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite_inl.h" />
<ClInclude Include="..\Classes\runtime\ConnectWaitLayer.h" />
<ClInclude Include="..\Classes\runtime\ConsoleCommand.h" />
<ClInclude Include="..\Classes\runtime\FileServer.h" />
<ClInclude Include="..\Classes\runtime\lua_debugger.h" />
<ClInclude Include="..\Classes\runtime\Protos.pb.h" />
<ClInclude Include="..\Classes\runtime\ResData.h" />
<ClInclude Include="..\Classes\runtime\Runtime.h" />
<ClInclude Include="..\Classes\runtime\RuntimeCCSImpl.h" />
<ClInclude Include="..\Classes\runtime\RuntimeLuaImpl.h" />
<ClInclude Include="..\Classes\runtime\RuntimeProtocol.h" />
<ClInclude Include="..\Classes\VisibleRect.h" />
<ClInclude Include="main.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="SimulatorWin.h" />
@ -219,36 +186,7 @@ xcopy /Y /Q "$(ProjectDir)..\Classes\lang" "$(ProjectDir)..\..\..\runtime\win32\
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\Classes\AppDelegate.cpp" />
<ClCompile Include="..\Classes\ConfigParser.cpp" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\extension_set.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\generated_message_util.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\message_lite.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\repeated_field.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\common.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\once.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\stringprintf.cc" />
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.cc" />
<ClCompile Include="..\Classes\runtime\ConnectWaitLayer.cpp" />
<ClCompile Include="..\Classes\runtime\ConsoleCommand.cpp" />
<ClCompile Include="..\Classes\runtime\FileServer.cpp" />
<ClCompile Include="..\Classes\runtime\Landscape_png.cpp" />
<ClCompile Include="..\Classes\runtime\lua_debugger.c" />
<ClCompile Include="..\Classes\runtime\PlayDisable_png.cpp" />
<ClCompile Include="..\Classes\runtime\PlayEnable_png.cpp" />
<ClCompile Include="..\Classes\runtime\Portrait_png.cpp" />
<ClCompile Include="..\Classes\runtime\Protos.pb.cc" />
<ClCompile Include="..\Classes\runtime\Runtime.cpp" />
<ClCompile Include="..\Classes\runtime\RuntimeCCSImpl.cpp" />
<ClCompile Include="..\Classes\runtime\RuntimeLuaImpl.cpp" />
<ClCompile Include="..\Classes\runtime\RuntimeProtocol.cpp" />
<ClCompile Include="..\Classes\runtime\Shine_png.cpp" />
<ClCompile Include="..\Classes\VisibleRect.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="Runtime_win32.cpp" />
<ClCompile Include="SimulatorWin.cpp" />
<ClCompile Include="stdafx.cpp" />
</ItemGroup>

View File

@ -10,12 +10,6 @@
<Filter Include="resource">
<UniqueIdentifier>{2d1d0979-58cd-4ab6-b91c-13650158f1fa}</UniqueIdentifier>
</Filter>
<Filter Include="Classes\runtime">
<UniqueIdentifier>{44c0d166-6d84-43b5-8be7-a440c1c0f1ae}</UniqueIdentifier>
</Filter>
<Filter Include="Classes\runtime\protobuf-lite">
<UniqueIdentifier>{28edb895-7c19-408b-abd6-130196087d96}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\Classes\AppDelegate.h">
@ -25,96 +19,6 @@
<Filter>win32</Filter>
</ClInclude>
<ClInclude Include="resource.h" />
<ClInclude Include="..\Classes\ConfigParser.h">
<Filter>Classes</Filter>
</ClInclude>
<ClInclude Include="..\Classes\VisibleRect.h">
<Filter>Classes</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\ResData.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\Runtime.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\Protos.pb.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\extension_set.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\generated_message_util.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream_inl.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\message_lite.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\repeated_field.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\common.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\hash.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\map-util.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\once.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\platform_macros.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\stl_util.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\stringprintf.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\template_util.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\type_traits.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite_inl.h">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\lua_debugger.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\ConnectWaitLayer.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\ConsoleCommand.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\FileServer.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="SimulatorWin.h" />
<ClInclude Include="stdafx.h">
<Filter>win32</Filter>
@ -122,15 +26,6 @@
<ClInclude Include="targetver.h">
<Filter>win32</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\RuntimeCCSImpl.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\RuntimeLuaImpl.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
<ClInclude Include="..\Classes\runtime\RuntimeProtocol.h">
<Filter>Classes\runtime</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\Classes\AppDelegate.cpp">
@ -139,97 +34,10 @@
<ClCompile Include="main.cpp">
<Filter>win32</Filter>
</ClCompile>
<ClCompile Include="Runtime_win32.cpp">
<Filter>win32</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ConfigParser.cpp">
<Filter>Classes</Filter>
</ClCompile>
<ClCompile Include="..\Classes\VisibleRect.cpp">
<Filter>Classes</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\Landscape_png.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\PlayDisable_png.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\PlayEnable_png.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\Portrait_png.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\Runtime.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\Shine_png.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\Protos.pb.cc">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\extension_set.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\generated_message_util.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\coded_stream.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\message_lite.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\repeated_field.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\common.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\once.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\stringprintf.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.cc">
<Filter>Classes\runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\lua_debugger.c">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\ConnectWaitLayer.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\ConsoleCommand.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\FileServer.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="SimulatorWin.cpp" />
<ClCompile Include="stdafx.cpp">
<Filter>win32</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\RuntimeCCSImpl.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\RuntimeLuaImpl.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
<ClCompile Include="..\Classes\runtime\RuntimeProtocol.cpp">
<Filter>Classes\runtime</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="game.rc">

View File

@ -6,7 +6,7 @@
#include <string>
#include "cocos2d.h"
#include "ConfigParser.h"
#include "runtime/ConfigParser.h"
using namespace std;
string getIPAddress()

View File

@ -53,7 +53,7 @@
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS_DEBUG;COCOS2D_DEBUG=1;GLFW_EXPOSE_NATIVE_WIN32;GLFW_EXPOSE_NATIVE_WGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>
</SDLCheck>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\lib;$(ProjectDir)..\Classes\protobuf-lite;$(EngineRoot)external\win32-specific\zlib\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external\curl\include\win32;$(EngineRoot)tools\simulator\libsimulator\lib;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\lib\protobuf-lite;$(ProjectDir)..\lib;$(EngineRoot)external\win32-specific\zlib\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external\curl\include\win32;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<CompileAs>CompileAsCpp</CompileAs>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
@ -74,6 +74,7 @@
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)..\lib\protobuf-lite;$(ProjectDir)..\lib;$(EngineRoot)external\win32-specific\zlib\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external\curl\include\win32;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@ -107,6 +108,45 @@
<ClInclude Include="..\lib\PlayerSettings.h" />
<ClInclude Include="..\lib\PlayerTaskServiceProtocol.h" />
<ClInclude Include="..\lib\PlayerUtils.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\extension_set.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\generated_message_util.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream_inl.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\message_lite.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\repeated_field.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_arm_gcc.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_atomicword_compat.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_generic_gcc.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_macosx.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_gcc.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\common.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\hash.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\map-util.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\once.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\platform_macros.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\stl_util.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\stringprintf.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\template_util.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\type_traits.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite.h" />
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite_inl.h" />
<ClInclude Include="..\lib\runtime\ConfigParser.h" />
<ClInclude Include="..\lib\runtime\ConnectWaitLayer.h" />
<ClInclude Include="..\lib\runtime\ConsoleCommand.h" />
<ClInclude Include="..\lib\runtime\FileServer.h" />
<ClInclude Include="..\lib\runtime\lua_debugger.h" />
<ClInclude Include="..\lib\runtime\Protos.pb.h" />
<ClInclude Include="..\lib\runtime\ResData.h" />
<ClInclude Include="..\lib\runtime\Runtime.h" />
<ClInclude Include="..\lib\runtime\RuntimeCCSImpl.h" />
<ClInclude Include="..\lib\runtime\RuntimeLuaImpl.h" />
<ClInclude Include="..\lib\runtime\RuntimeProtocol.h" />
<ClInclude Include="..\lib\runtime\VisibleRect.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
@ -129,6 +169,36 @@
<ClCompile Include="..\lib\PlayerSettings.cpp" />
<ClCompile Include="..\lib\PlayerTaskServiceProtocol.cpp" />
<ClCompile Include="..\lib\PlayerUtils.cpp" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\extension_set.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\generated_message_util.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\message_lite.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\repeated_field.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_gcc.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\common.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\once.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\stringprintf.cc" />
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite.cc" />
<ClCompile Include="..\lib\runtime\ConfigParser.cpp" />
<ClCompile Include="..\lib\runtime\ConnectWaitLayer.cpp" />
<ClCompile Include="..\lib\runtime\ConsoleCommand.cpp" />
<ClCompile Include="..\lib\runtime\FileServer.cpp" />
<ClCompile Include="..\lib\runtime\Landscape_png.cpp" />
<ClCompile Include="..\lib\runtime\lua_debugger.c" />
<ClCompile Include="..\lib\runtime\PlayDisable_png.cpp" />
<ClCompile Include="..\lib\runtime\PlayEnable_png.cpp" />
<ClCompile Include="..\lib\runtime\Portrait_png.cpp" />
<ClCompile Include="..\lib\runtime\Protos.pb.cc" />
<ClCompile Include="..\lib\runtime\Runtime.cpp" />
<ClCompile Include="..\lib\runtime\RuntimeCCSImpl.cpp" />
<ClCompile Include="..\lib\runtime\RuntimeLuaImpl.cpp" />
<ClCompile Include="..\lib\runtime\RuntimeProtocol.cpp" />
<ClCompile Include="..\lib\runtime\Shine_png.cpp" />
<ClCompile Include="..\lib\runtime\VisibleRect.cpp" />
<ClCompile Include="Runtime_win32.cpp" />
<ClCompile Include="stdafx.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -20,6 +20,18 @@
<Filter Include="platform\win32">
<UniqueIdentifier>{83fb01cd-6985-4d45-a797-da585ec17316}</UniqueIdentifier>
</Filter>
<Filter Include="runtime">
<UniqueIdentifier>{0fbe614e-803e-4c08-a31d-c58069f24fe7}</UniqueIdentifier>
</Filter>
<Filter Include="runtime\protobuf-lite">
<UniqueIdentifier>{c3d9c4ad-c92c-4c72-8582-bacc0ef1defc}</UniqueIdentifier>
</Filter>
<Filter Include="runtime\protobuf-lite\io">
<UniqueIdentifier>{e89dbb53-1c53-43d4-800b-50836ca04168}</UniqueIdentifier>
</Filter>
<Filter Include="runtime\protobuf-lite\stubs">
<UniqueIdentifier>{a3f5b7b6-4464-441c-9fed-1381ae411fb2}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\lib\network\CCHTTPRequest.h">
@ -94,6 +106,123 @@
<ClInclude Include="..\lib\cocos2dx_extra.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
<ClInclude Include="..\lib\runtime\ConfigParser.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\ConnectWaitLayer.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\ConsoleCommand.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\FileServer.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\lua_debugger.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\Protos.pb.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\ResData.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\Runtime.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\RuntimeCCSImpl.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\RuntimeLuaImpl.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\RuntimeProtocol.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\runtime\VisibleRect.h">
<Filter>runtime</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\extension_set.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\generated_message_util.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\message_lite.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\repeated_field.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite_inl.h">
<Filter>runtime\protobuf-lite</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream.h">
<Filter>runtime\protobuf-lite\io</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream_inl.h">
<Filter>runtime\protobuf-lite\io</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream.h">
<Filter>runtime\protobuf-lite\io</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl.h">
<Filter>runtime\protobuf-lite\io</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.h">
<Filter>runtime\protobuf-lite\io</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_arm_gcc.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_atomicword_compat.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_generic_gcc.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_macosx.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_gcc.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\common.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\hash.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\map-util.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\once.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\platform_macros.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\stl_util.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\stringprintf.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\template_util.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
<ClInclude Include="..\lib\protobuf-lite\google\protobuf\stubs\type_traits.h">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\lib\network\CCHTTPRequest.cpp">
@ -151,5 +280,93 @@
<Filter>platform\win32</Filter>
</ClCompile>
<ClCompile Include="stdafx.cpp" />
<ClCompile Include="Runtime_win32.cpp" />
<ClCompile Include="..\lib\runtime\ConfigParser.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\ConnectWaitLayer.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\ConsoleCommand.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\FileServer.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\Landscape_png.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\lua_debugger.c">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\PlayDisable_png.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\PlayEnable_png.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\Portrait_png.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\Protos.pb.cc">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\Runtime.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\RuntimeCCSImpl.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\RuntimeLuaImpl.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\RuntimeProtocol.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\Shine_png.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\runtime\VisibleRect.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\extension_set.cc">
<Filter>runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\generated_message_util.cc">
<Filter>runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\message_lite.cc">
<Filter>runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\repeated_field.cc">
<Filter>runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\wire_format_lite.cc">
<Filter>runtime\protobuf-lite</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\coded_stream.cc">
<Filter>runtime\protobuf-lite\io</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream.cc">
<Filter>runtime\protobuf-lite\io</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\io\zero_copy_stream_impl_lite.cc">
<Filter>runtime\protobuf-lite\io</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_gcc.cc">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\atomicops_internals_x86_msvc.cc">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\common.cc">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\once.cc">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClCompile>
<ClCompile Include="..\lib\protobuf-lite\google\protobuf\stubs\stringprintf.cc">
<Filter>runtime\protobuf-lite\stubs</Filter>
</ClCompile>
</ItemGroup>
</Project>