move runtime source to libsimulator project

This commit is contained in:
yinjimmy 2015-01-12 12:52:44 +08:00
parent d1821fb1ef
commit dea3cf9863
80 changed files with 844 additions and 652 deletions

View File

@ -3,16 +3,10 @@
#include "SimpleAudioEngine.h" #include "SimpleAudioEngine.h"
#include "cocos2d.h" #include "cocos2d.h"
#include "CodeIDESupport.h" #include "CodeIDESupport.h"
#include "Runtime.h"
#include "ConfigParser.h"
#include "lua_module_register.h" #include "lua_module_register.h"
#include "cocostudio/CocoStudio.h" #include "runtime/Runtime.h"
#if ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
#include "DeviceEx.h"
#include "network/CCHTTPRequest.h"
#endif
using namespace CocosDenshion; using namespace CocosDenshion;
@ -21,23 +15,14 @@ using namespace std;
AppDelegate::AppDelegate() AppDelegate::AppDelegate()
{ {
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) && (CC_TARGET_PLATFORM != CC_PLATFORM_MAC)
auto config = ConfigParser::getInstance();
_project.setScriptFile(config->getEntryFile());
#endif
} }
AppDelegate::~AppDelegate() AppDelegate::~AppDelegate()
{ {
SimpleAudioEngine::end(); SimpleAudioEngine::end();
if (_project.getDebuggerType() != kCCRuntimeDebuggerNone)
{
// NOTE:Please don't remove this call if you want to debug with Cocos Code IDE // NOTE:Please don't remove this call if you want to debug with Cocos Code IDE
RuntimeEngine::getInstance()->end(); RuntimeEngine::getInstance()->end();
}
ConfigParser::purge();
} }
//if you want a different context,just modify the value of glContextAttrs //if you want a different context,just modify the value of glContextAttrs
@ -53,12 +38,6 @@ void AppDelegate::initGLContextAttrs()
bool AppDelegate::applicationDidFinishLaunching() bool AppDelegate::applicationDidFinishLaunching()
{ {
//
#if ((CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) && (CC_TARGET_PLATFORM != CC_PLATFORM_MAC) \
&& (CC_CODE_IDE_DEBUG_SUPPORT > 0) && (COCOS2D_DEBUG > 0))
_project.setDebuggerType(kCCRuntimeDebuggerCodeIDE);
#endif
// set default FPS // set default FPS
Director::getInstance()->setAnimationInterval(1.0 / 60.0f); Director::getInstance()->setAnimationInterval(1.0 / 60.0f);
@ -78,8 +57,8 @@ bool AppDelegate::applicationDidFinishLaunching()
//LuaStack* stack = engine->getLuaStack(); //LuaStack* stack = engine->getLuaStack();
//register_custom_function(stack->getLuaState()); //register_custom_function(stack->getLuaState());
StartupCall *call = StartupCall::create(this); // NOTE:Please don't remove this call if you want to debug with Cocos Code IDE
call->startup(); RuntimeEngine::getInstance()->start();
cocos2d::log("iShow!"); cocos2d::log("iShow!");
return true; return true;
@ -101,275 +80,3 @@ void AppDelegate::applicationWillEnterForeground()
SimpleAudioEngine::getInstance()->resumeBackgroundMusic(); SimpleAudioEngine::getInstance()->resumeBackgroundMusic();
} }
void AppDelegate::setProjectConfig(const ProjectConfig& project)
{
_project = project;
}
void AppDelegate::reopenProject()
{
auto fileUtils = FileUtils::getInstance();
//
// set root path
// set search root **MUST** before set search paths
//
fileUtils->setDefaultResourceRootPath(_project.getProjectDir());
// clean
Director::getInstance()->getTextureCache()->removeAllTextures();
Director::getInstance()->purgeCachedData();
SimpleAudioEngine::getInstance()->stopAllEffects();
SimpleAudioEngine::getInstance()->stopBackgroundMusic(true);
vector<string> searchPaths;
fileUtils->setSearchPaths(searchPaths);
const string writablePath = _project.getWritableRealPath();
if (writablePath.length())
{
FileUtils::getInstance()->setWritablePath(writablePath.c_str());
}
resetDesignResolution();
StartupCall *call = StartupCall::create(this);
call->startup();
}
// ----------------------------------------
StartupCall *StartupCall::create(AppDelegate *app)
{
StartupCall *call = new StartupCall();
call->_app = app;
call->autorelease();
return call;
}
StartupCall::StartupCall()
: _launchEvent("empty")
{
}
static bool endWithString(const std::string &buf, const std::string &suffix)
{
return ((buf.find(suffix) + suffix.length()) == buf.length());
}
void StartupCall::startup()
{
auto engine = LuaEngine::getInstance();
auto stack = engine->getLuaStack();
const ProjectConfig &project = _app->_project;
// set search path
string path = FileUtils::getInstance()->fullPathForFilename(project.getScriptFileRealPath().c_str());
size_t pos;
while ((pos = path.find_first_of("\\")) != std::string::npos)
{
path.replace(pos, 1, "/");
}
size_t p = path.find_last_of("/");
string workdir;
if (p != path.npos)
{
workdir = path.substr(0, p);
stack->addSearchPath(workdir.c_str());
FileUtils::getInstance()->addSearchPath(workdir);
}
// update search pathes
FileUtils::getInstance()->addSearchPath(project.getProjectDir());
auto &customizedPathes = project.getSearchPath();
for (auto &path : customizedPathes)
{
FileUtils::getInstance()->addSearchPath(path);
}
updateConfigParser(project);
updatePreviewFuncForPath(path);
// launch
if (project.getDebuggerType() == kCCRuntimeDebuggerNone)
{
_previewFunc(path);
}
else
{
// NOTE:Please don't remove this call if you want to debug with Cocos Code IDE
auto runtimeEngine = RuntimeEngine::getInstance();
runtimeEngine->setProjectPath(project.getProjectDir());
runtimeEngine->startNetwork();
}
// track start event
trackLaunchEvent();
}
//
// *NOTE*
// track event on windows / mac platform
//
void StartupCall::trackEvent(const char *eventName)
{
#if ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
const char *platform = "win";
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
const char *platform = "mac";
#else
const char *platform = "UNKNOWN";
#endif
auto request = extra::HTTPRequest::createWithUrl(NULL,
"http://www.google-analytics.com/collect",
kCCHTTPRequestMethodPOST);
request->addPOSTValue("v", "1");
request->addPOSTValue("tid", "UA-58200293-1");
request->addPOSTValue("cid", player::DeviceEx::getInstance()->getUserGUID().c_str());
request->addPOSTValue("t", "event");
request->addPOSTValue("an", "simulator");
request->addPOSTValue("av", cocos2dVersion());
request->addPOSTValue("ec", platform);
request->addPOSTValue("ea", eventName);
request->start();
#endif // ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
}
void StartupCall::trackLaunchEvent()
{
trackEvent(_launchEvent.c_str());
}
void StartupCall::onPreviewCocosCSD(const std::string &path)
{
std::string filepath = path;
if (filepath.empty())
{
filepath = ConfigParser::getInstance()->getEntryFile();
}
CCLOG("------------------------------------------------");
CCLOG("LOAD Cocos Studio FILE (.csd): %s", filepath.c_str());
CCLOG("------------------------------------------------");
auto node = CSLoader::getInstance()->createNodeWithFlatBuffersForSimulator(filepath.c_str());
auto action = cocostudio::timeline::ActionTimelineCache::getInstance()->createActionWithFlatBuffersForSimulator(filepath.c_str());
if (action)
{
node->runAction(action);
action->gotoFrameAndPlay(0);
}
if (node)
{
if (Director::getInstance()->getRunningScene())
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->replaceScene(scene);
}
else
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->runWithScene(scene);
}
}
}
void StartupCall::onPreviewCocosCSB(const std::string &path)
{
std::string filepath = path;
if (filepath.empty())
{
filepath = ConfigParser::getInstance()->getEntryFile();
}
CCLOG("\n------------------------------------------------\n");
CCLOG("[WARNING]: using **SUITABLE** Cocos Studio generate csb file!!");
CCLOG("LOAD Cocos Studio FILE (.csb): %s", filepath.c_str());
CCLOG("\n------------------------------------------------\n");
auto node = CSLoader::getInstance()->createNode(filepath);
if (node)
{
if (Director::getInstance()->getRunningScene())
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->replaceScene(scene);
}
else
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->runWithScene(scene);
}
}
}
void StartupCall::onPreviewLua(const std::string &path)
{
CCLOG("------------------------------------------------");
CCLOG("LOAD Lua FILE: %s", path.c_str());
CCLOG("------------------------------------------------");
LuaEngine::getInstance()->executeScriptFile(path.c_str());
}
void StartupCall::onPreviewJs(const std::string &path)
{
CCLOG("------------------------------------------------");
CCLOG("LOAD Js FILE: %s", path.c_str());
CCLOG("------------------------------------------------");
CCLOG("TODO: ");
}
void StartupCall::updateConfigParser(const ProjectConfig& project)
{
// set entry file
auto parser = ConfigParser::getInstance();
string entryFile(project.getScriptFileRealPath());
if (entryFile.find(project.getProjectDir()) != string::npos)
{
entryFile.erase(0, project.getProjectDir().length());
}
entryFile = replaceAll(entryFile, "\\", "/");
parser->setEntryFile(entryFile);
parser->setBindAddress(project.getBindAddress());
}
void StartupCall::updatePreviewFuncForPath(const std::string &path)
{
// set loader
_previewFunc = [](const std::string &path) { };
if (endWithString(path, ".lua") || endWithString(path, ".luac"))
{
_launchEvent = "lua";
_previewFunc = std::bind(&StartupCall::onPreviewLua, this, std::placeholders::_1);
}
else if (endWithString(path, ".csd"))
{
_launchEvent = "ccs";
_previewFunc = std::bind(&StartupCall::onPreviewCocosCSD, this, std::placeholders::_1);
}
else if (endWithString(path, ".csb"))
{
_launchEvent = "ccs";
_previewFunc = std::bind(&StartupCall::onPreviewCocosCSB, this, std::placeholders::_1);
}
else if (endWithString(path, ".js") || endWithString(path, ".jsc"))
{
_launchEvent = "js";
}
}

View File

@ -2,8 +2,6 @@
#define __APP_DELEGATE_H__ #define __APP_DELEGATE_H__
#include "cocos2d.h" #include "cocos2d.h"
#include "ProjectConfig/ProjectConfig.h"
#include "ProjectConfig/SimulatorConfig.h"
/** /**
@brief The cocos2d Application. @brief The cocos2d Application.
@ -36,42 +34,6 @@ public:
@param the pointer of the application @param the pointer of the application
*/ */
virtual void applicationWillEnterForeground(); virtual void applicationWillEnterForeground();
void setProjectConfig(const ProjectConfig& project);
void reopenProject();
private:
ProjectConfig _project;
friend class StartupCall;
};
class StartupCall : public cocos2d::Ref
{
public:
static StartupCall *create(AppDelegate *app);
void startup();
private:
StartupCall();
void trackEvent(const char *eventName);
void trackLaunchEvent();
void onPreviewCocosCSD(const std::string &path);
void onPreviewCocosCSB(const std::string &path);
void onPreviewLua(const std::string &path);
void onPreviewJs(const std::string &path);
void updateConfigParser(const ProjectConfig& project);
void updatePreviewFuncForPath(const std::string &path);
private:
AppDelegate *_app;
std::function<void(const std::string &)> _previewFunc;
std::string _launchEvent;
}; };
#endif // __APP_DELEGATE_H__ #endif // __APP_DELEGATE_H__

View File

@ -26,7 +26,6 @@
#import "RootViewController.h" #import "RootViewController.h"
#import "cocos2d.h" #import "cocos2d.h"
#import "platform/ios/CCEAGLView-ios.h" #import "platform/ios/CCEAGLView-ios.h"
#include "ConfigParser.h"
@implementation RootViewController @implementation RootViewController

View File

@ -32,8 +32,8 @@
#include "AppDelegate.h" #include "AppDelegate.h"
#include "glfw3.h" #include "glfw3.h"
#include "glfw3native.h" #include "glfw3native.h"
#include "Runtime.h" #include "runtime/Runtime.h"
#include "ConfigParser.h" #include "runtime/ConfigParser.h"
#include "cocos2d.h" #include "cocos2d.h"
#include "CCLuaEngine.h" #include "CCLuaEngine.h"
@ -337,7 +337,7 @@ static void glfwDropFunc(GLFWwindow *window, int count, const char **files)
[self setupUI]; [self setupUI];
[self adjustEditMenuIndex]; [self adjustEditMenuIndex];
_app->setProjectConfig(_project); RuntimeEngine::getInstance()->setProjectConfig(_project);
Application::getInstance()->run(); Application::getInstance()->run();
// After run, application needs to be terminated immediately. // After run, application needs to be terminated immediately.
[NSApp terminate: self]; [NSApp terminate: self];
@ -512,8 +512,9 @@ static void glfwDropFunc(GLFWwindow *window, int count, const char **files)
project.setScriptFile(ConfigParser::getInstance()->getEntryFile()); project.setScriptFile(ConfigParser::getInstance()->getEntryFile());
project.setWritablePath(dirPath); project.setWritablePath(dirPath);
app->setProjectConfig(project); RuntimeEngine::getInstance()->setProjectConfig(project);
app->reopenProject(); // app->setProjectConfig(project);
// app->reopenProject();
} }
} }
}); });

View File

@ -11,35 +11,7 @@
15427CEE198F24AF00DC375D /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */; }; 15427CEE198F24AF00DC375D /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4171834BDA200142BE0 /* libcocos2d Mac.a */; };
15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; }; 15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; };
15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; }; 15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; };
15AA9648199B6D4600725633 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 15AA9646199B6D4600725633 /* lua_debugger.c */; };
15AA9649199B6D4600725633 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 15AA9646199B6D4600725633 /* lua_debugger.c */; };
1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; }; 1AF4C403178663F200122817 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AF4C402178663F200122817 /* libz.dylib */; };
3EB5152C19528284006966AA /* Protos.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5152A19528284006966AA /* Protos.pb.cc */; };
3EB5152D19528284006966AA /* Protos.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5152A19528284006966AA /* Protos.pb.cc */; };
3EB515581952865D006966AA /* extension_set.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515321952865D006966AA /* extension_set.cc */; };
3EB515591952865D006966AA /* extension_set.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515321952865D006966AA /* extension_set.cc */; };
3EB5155A1952865D006966AA /* generated_message_util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515341952865D006966AA /* generated_message_util.cc */; };
3EB5155B1952865D006966AA /* generated_message_util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515341952865D006966AA /* generated_message_util.cc */; };
3EB5155C1952865D006966AA /* coded_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515371952865D006966AA /* coded_stream.cc */; };
3EB5155D1952865D006966AA /* coded_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515371952865D006966AA /* coded_stream.cc */; };
3EB5155E1952865D006966AA /* zero_copy_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153A1952865D006966AA /* zero_copy_stream.cc */; };
3EB5155F1952865D006966AA /* zero_copy_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153A1952865D006966AA /* zero_copy_stream.cc */; };
3EB515601952865D006966AA /* zero_copy_stream_impl_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153D1952865D006966AA /* zero_copy_stream_impl_lite.cc */; };
3EB515611952865D006966AA /* zero_copy_stream_impl_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153D1952865D006966AA /* zero_copy_stream_impl_lite.cc */; };
3EB515621952865D006966AA /* message_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153F1952865D006966AA /* message_lite.cc */; };
3EB515631952865D006966AA /* message_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5153F1952865D006966AA /* message_lite.cc */; };
3EB515641952865D006966AA /* repeated_field.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515411952865D006966AA /* repeated_field.cc */; };
3EB515651952865D006966AA /* repeated_field.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515411952865D006966AA /* repeated_field.cc */; };
3EB515661952865D006966AA /* atomicops_internals_x86_msvc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515471952865D006966AA /* atomicops_internals_x86_msvc.cc */; };
3EB515671952865D006966AA /* atomicops_internals_x86_msvc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515471952865D006966AA /* atomicops_internals_x86_msvc.cc */; };
3EB515681952865D006966AA /* common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515491952865D006966AA /* common.cc */; };
3EB515691952865D006966AA /* common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515491952865D006966AA /* common.cc */; };
3EB5156A1952865D006966AA /* once.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5154D1952865D006966AA /* once.cc */; };
3EB5156B1952865D006966AA /* once.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB5154D1952865D006966AA /* once.cc */; };
3EB5156C1952865D006966AA /* stringprintf.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515511952865D006966AA /* stringprintf.cc */; };
3EB5156D1952865D006966AA /* stringprintf.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515511952865D006966AA /* stringprintf.cc */; };
3EB5156E1952865D006966AA /* wire_format_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515551952865D006966AA /* wire_format_lite.cc */; };
3EB5156F1952865D006966AA /* wire_format_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3EB515551952865D006966AA /* wire_format_lite.cc */; };
3EEEDB61197107C0006A9FF8 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EEEDB60197107C0006A9FF8 /* MediaPlayer.framework */; }; 3EEEDB61197107C0006A9FF8 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EEEDB60197107C0006A9FF8 /* MediaPlayer.framework */; };
5023811817EBBCAC00990C9B /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5023810817EBBCAC00990C9B /* AppController.mm */; }; 5023811817EBBCAC00990C9B /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5023810817EBBCAC00990C9B /* AppController.mm */; };
5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810917EBBCAC00990C9B /* Default-568h@2x.png */; }; 5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810917EBBCAC00990C9B /* Default-568h@2x.png */; };
@ -81,40 +53,10 @@
9FD6FC0C1A5D278E0028EDC6 /* liblibsimulator_iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD6FC0A1A5D26580028EDC6 /* liblibsimulator_iOS.a */; }; 9FD6FC0C1A5D278E0028EDC6 /* liblibsimulator_iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FD6FC0A1A5D26580028EDC6 /* liblibsimulator_iOS.a */; };
9FD6FC721A5D2A820028EDC6 /* ConsoleWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9FD6FC6F1A5D2A820028EDC6 /* ConsoleWindow.xib */; }; 9FD6FC721A5D2A820028EDC6 /* ConsoleWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9FD6FC6F1A5D2A820028EDC6 /* ConsoleWindow.xib */; };
9FD6FC731A5D2A820028EDC6 /* ConsoleWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FD6FC711A5D2A820028EDC6 /* ConsoleWindowController.m */; }; 9FD6FC731A5D2A820028EDC6 /* ConsoleWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FD6FC711A5D2A820028EDC6 /* ConsoleWindowController.m */; };
9FF5057C1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF5057A1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp */; };
9FF5057D1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF5057A1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp */; };
9FF505801A5ED0C600AFDA55 /* RuntimeProtocol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF5057E1A5ED0C600AFDA55 /* RuntimeProtocol.cpp */; };
9FF505811A5ED0C600AFDA55 /* RuntimeProtocol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF5057E1A5ED0C600AFDA55 /* RuntimeProtocol.cpp */; };
9FF505841A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF505821A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp */; };
9FF505851A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FF505821A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp */; };
9FFC07261A4A739200AED399 /* lang in Resources */ = {isa = PBXBuildFile; fileRef = 9FFC07061A4A739200AED399 /* lang */; }; 9FFC07261A4A739200AED399 /* lang in Resources */ = {isa = PBXBuildFile; fileRef = 9FFC07061A4A739200AED399 /* lang */; };
9FFC07361A4A764100AED399 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9FFC07341A4A764100AED399 /* MainMenu.xib */; }; 9FFC07361A4A764100AED399 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9FFC07341A4A764100AED399 /* MainMenu.xib */; };
AB6CB6F21A1F275E009C2562 /* ConnectWaitLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6EC1A1F275E009C2562 /* ConnectWaitLayer.cpp */; };
AB6CB6F31A1F275E009C2562 /* ConnectWaitLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6EC1A1F275E009C2562 /* ConnectWaitLayer.cpp */; };
AB6CB6F41A1F275E009C2562 /* ConsoleCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6EE1A1F275E009C2562 /* ConsoleCommand.cpp */; };
AB6CB6F51A1F275E009C2562 /* ConsoleCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6EE1A1F275E009C2562 /* ConsoleCommand.cpp */; };
AB6CB6F61A1F275E009C2562 /* FileServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6F01A1F275E009C2562 /* FileServer.cpp */; };
AB6CB6F71A1F275E009C2562 /* FileServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = AB6CB6F01A1F275E009C2562 /* FileServer.cpp */; };
C00FD4921938512100C6382D /* Landscape_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48A1938512100C6382D /* Landscape_png.cpp */; };
C00FD4931938512100C6382D /* Landscape_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48A1938512100C6382D /* Landscape_png.cpp */; };
C00FD4941938512100C6382D /* PlayDisable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48B1938512100C6382D /* PlayDisable_png.cpp */; };
C00FD4951938512100C6382D /* PlayDisable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48B1938512100C6382D /* PlayDisable_png.cpp */; };
C00FD4961938512100C6382D /* PlayEnable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48C1938512100C6382D /* PlayEnable_png.cpp */; };
C00FD4971938512100C6382D /* PlayEnable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48C1938512100C6382D /* PlayEnable_png.cpp */; };
C00FD4981938512100C6382D /* Portrait_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48D1938512100C6382D /* Portrait_png.cpp */; };
C00FD4991938512100C6382D /* Portrait_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48D1938512100C6382D /* Portrait_png.cpp */; };
C00FD49A1938512100C6382D /* Runtime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48F1938512100C6382D /* Runtime.cpp */; };
C00FD49B1938512100C6382D /* Runtime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD48F1938512100C6382D /* Runtime.cpp */; };
C00FD49C1938512100C6382D /* Shine_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD4911938512100C6382D /* Shine_png.cpp */; };
C00FD49D1938512100C6382D /* Shine_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C00FD4911938512100C6382D /* Shine_png.cpp */; };
C033B51C191B337200D06937 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C033B51A191B337200D06937 /* VisibleRect.cpp */; };
C033B51D191B337200D06937 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C033B51A191B337200D06937 /* VisibleRect.cpp */; };
C05D1C121923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; }; C05D1C121923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; };
C05D1C131923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; }; C05D1C131923449100B808A4 /* config.json in Resources */ = {isa = PBXBuildFile; fileRef = C05D1C111923449100B808A4 /* config.json */; };
C0619CD71896894800872C26 /* Runtime_ios-mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0619CD61896894800872C26 /* Runtime_ios-mac.mm */; };
C0619CD81896894800872C26 /* Runtime_ios-mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0619CD61896894800872C26 /* Runtime_ios-mac.mm */; };
C06C3796191A1D1E00617BED /* ConfigParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06C3794191A1D1E00617BED /* ConfigParser.cpp */; };
C06C3797191A1D1E00617BED /* ConfigParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C06C3794191A1D1E00617BED /* ConfigParser.cpp */; };
C07828F818B4D72E00BD2287 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C07828F418B4D72E00BD2287 /* main.m */; }; C07828F818B4D72E00BD2287 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C07828F418B4D72E00BD2287 /* main.m */; };
C07828FA18B4D72E00BD2287 /* SimulatorApp.mm in Sources */ = {isa = PBXBuildFile; fileRef = C07828F718B4D72E00BD2287 /* SimulatorApp.mm */; }; C07828FA18B4D72E00BD2287 /* SimulatorApp.mm in Sources */ = {isa = PBXBuildFile; fileRef = C07828F718B4D72E00BD2287 /* SimulatorApp.mm */; };
D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; }; D6B061351803AC000077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B061341803AC000077942B /* CoreMotion.framework */; };
@ -218,50 +160,9 @@
15427CE2198F237300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_module_register.h; path = ../Classes/lua_module_register.h; sourceTree = "<group>"; }; 15427CE2198F237300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_module_register.h; path = ../Classes/lua_module_register.h; sourceTree = "<group>"; };
15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; }; 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../../../../../build/cocos2d_libs.xcodeproj; sourceTree = "<group>"; };
15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; 15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; };
15AA9646199B6D4600725633 /* lua_debugger.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_debugger.c; sourceTree = "<group>"; };
15AA9647199B6D4600725633 /* lua_debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_debugger.h; sourceTree = "<group>"; };
15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../../../cocos/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; }; 15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../../../../cocos/third_party/ios/libraries/libcurl.a; sourceTree = "<group>"; };
1AF4C402178663F200122817 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; 1AF4C402178663F200122817 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
3EB51526195187AF006966AA /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; 3EB51526195187AF006966AA /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
3EB5152A19528284006966AA /* Protos.pb.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Protos.pb.cc; sourceTree = "<group>"; };
3EB5152B19528284006966AA /* Protos.pb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Protos.pb.h; sourceTree = "<group>"; };
3EB5152F1952865D006966AA /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
3EB515321952865D006966AA /* extension_set.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = extension_set.cc; sourceTree = "<group>"; };
3EB515331952865D006966AA /* extension_set.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = extension_set.h; sourceTree = "<group>"; };
3EB515341952865D006966AA /* generated_message_util.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = generated_message_util.cc; sourceTree = "<group>"; };
3EB515351952865D006966AA /* generated_message_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = generated_message_util.h; sourceTree = "<group>"; };
3EB515371952865D006966AA /* coded_stream.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = coded_stream.cc; sourceTree = "<group>"; };
3EB515381952865D006966AA /* coded_stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = coded_stream.h; sourceTree = "<group>"; };
3EB515391952865D006966AA /* coded_stream_inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = coded_stream_inl.h; sourceTree = "<group>"; };
3EB5153A1952865D006966AA /* zero_copy_stream.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zero_copy_stream.cc; sourceTree = "<group>"; };
3EB5153B1952865D006966AA /* zero_copy_stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream.h; sourceTree = "<group>"; };
3EB5153C1952865D006966AA /* zero_copy_stream_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream_impl.h; sourceTree = "<group>"; };
3EB5153D1952865D006966AA /* zero_copy_stream_impl_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zero_copy_stream_impl_lite.cc; sourceTree = "<group>"; };
3EB5153E1952865D006966AA /* zero_copy_stream_impl_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream_impl_lite.h; sourceTree = "<group>"; };
3EB5153F1952865D006966AA /* message_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = message_lite.cc; sourceTree = "<group>"; };
3EB515401952865D006966AA /* message_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = message_lite.h; sourceTree = "<group>"; };
3EB515411952865D006966AA /* repeated_field.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = repeated_field.cc; sourceTree = "<group>"; };
3EB515421952865D006966AA /* repeated_field.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = repeated_field.h; sourceTree = "<group>"; };
3EB515441952865D006966AA /* atomicops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops.h; sourceTree = "<group>"; };
3EB515451952865D006966AA /* atomicops_internals_atomicword_compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_atomicword_compat.h; sourceTree = "<group>"; };
3EB515461952865D006966AA /* atomicops_internals_macosx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_macosx.h; sourceTree = "<group>"; };
3EB515471952865D006966AA /* atomicops_internals_x86_msvc.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = atomicops_internals_x86_msvc.cc; sourceTree = "<group>"; };
3EB515481952865D006966AA /* atomicops_internals_x86_msvc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_x86_msvc.h; sourceTree = "<group>"; };
3EB515491952865D006966AA /* common.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = common.cc; sourceTree = "<group>"; };
3EB5154A1952865D006966AA /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = "<group>"; };
3EB5154B1952865D006966AA /* hash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hash.h; sourceTree = "<group>"; };
3EB5154C1952865D006966AA /* map-util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "map-util.h"; sourceTree = "<group>"; };
3EB5154D1952865D006966AA /* once.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = once.cc; sourceTree = "<group>"; };
3EB5154E1952865D006966AA /* once.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = once.h; sourceTree = "<group>"; };
3EB5154F1952865D006966AA /* platform_macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platform_macros.h; sourceTree = "<group>"; };
3EB515501952865D006966AA /* stl_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stl_util.h; sourceTree = "<group>"; };
3EB515511952865D006966AA /* stringprintf.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stringprintf.cc; sourceTree = "<group>"; };
3EB515521952865D006966AA /* stringprintf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stringprintf.h; sourceTree = "<group>"; };
3EB515531952865D006966AA /* template_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = template_util.h; sourceTree = "<group>"; };
3EB515541952865D006966AA /* type_traits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = type_traits.h; sourceTree = "<group>"; };
3EB515551952865D006966AA /* wire_format_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wire_format_lite.cc; sourceTree = "<group>"; };
3EB515561952865D006966AA /* wire_format_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wire_format_lite.h; sourceTree = "<group>"; };
3EB515571952865D006966AA /* wire_format_lite_inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wire_format_lite_inl.h; sourceTree = "<group>"; };
3EEEDB60197107C0006A9FF8 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/MediaPlayer.framework; sourceTree = DEVELOPER_DIR; }; 3EEEDB60197107C0006A9FF8 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/System/Library/Frameworks/MediaPlayer.framework; sourceTree = DEVELOPER_DIR; };
5023810717EBBCAC00990C9B /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; }; 5023810717EBBCAC00990C9B /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppController.h; sourceTree = "<group>"; };
5023810817EBBCAC00990C9B /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = "<group>"; }; 5023810817EBBCAC00990C9B /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppController.mm; sourceTree = "<group>"; };
@ -302,37 +203,12 @@
9FD6FC6F1A5D2A820028EDC6 /* ConsoleWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ConsoleWindow.xib; sourceTree = "<group>"; }; 9FD6FC6F1A5D2A820028EDC6 /* ConsoleWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ConsoleWindow.xib; sourceTree = "<group>"; };
9FD6FC701A5D2A820028EDC6 /* ConsoleWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleWindowController.h; sourceTree = "<group>"; }; 9FD6FC701A5D2A820028EDC6 /* ConsoleWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleWindowController.h; sourceTree = "<group>"; };
9FD6FC711A5D2A820028EDC6 /* ConsoleWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ConsoleWindowController.m; sourceTree = "<group>"; }; 9FD6FC711A5D2A820028EDC6 /* ConsoleWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ConsoleWindowController.m; sourceTree = "<group>"; };
9FF5057A1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeLuaImpl.cpp; sourceTree = "<group>"; };
9FF5057B1A5ED0AB00AFDA55 /* RuntimeLuaImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeLuaImpl.h; sourceTree = "<group>"; };
9FF5057E1A5ED0C600AFDA55 /* RuntimeProtocol.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeProtocol.cpp; sourceTree = "<group>"; };
9FF5057F1A5ED0C600AFDA55 /* RuntimeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeProtocol.h; sourceTree = "<group>"; };
9FF505821A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeCCSImpl.cpp; sourceTree = "<group>"; };
9FF505831A5EDE6500AFDA55 /* RuntimeCCSImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeCCSImpl.h; sourceTree = "<group>"; };
9FFC07061A4A739200AED399 /* lang */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = lang; path = ../Classes/lang; sourceTree = "<group>"; }; 9FFC07061A4A739200AED399 /* lang */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = lang; path = ../Classes/lang; sourceTree = "<group>"; };
9FFC07351A4A764100AED399 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; }; 9FFC07351A4A764100AED399 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
9FFC07371A4A765100AED399 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hans"; path = "zh-Hans.lproj/MainMenu.xib"; sourceTree = "<group>"; }; 9FFC07371A4A765100AED399 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hans"; path = "zh-Hans.lproj/MainMenu.xib"; sourceTree = "<group>"; };
9FFC07381A4A902500AED399 /* CodeIDESupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CodeIDESupport.h; path = ../Classes/CodeIDESupport.h; sourceTree = "<group>"; }; 9FFC07381A4A902500AED399 /* CodeIDESupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CodeIDESupport.h; path = ../Classes/CodeIDESupport.h; sourceTree = "<group>"; };
AB6CB6EC1A1F275E009C2562 /* ConnectWaitLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConnectWaitLayer.cpp; sourceTree = "<group>"; };
AB6CB6ED1A1F275E009C2562 /* ConnectWaitLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConnectWaitLayer.h; sourceTree = "<group>"; };
AB6CB6EE1A1F275E009C2562 /* ConsoleCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConsoleCommand.cpp; sourceTree = "<group>"; };
AB6CB6EF1A1F275E009C2562 /* ConsoleCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleCommand.h; sourceTree = "<group>"; };
AB6CB6F01A1F275E009C2562 /* FileServer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileServer.cpp; sourceTree = "<group>"; };
AB6CB6F11A1F275E009C2562 /* FileServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FileServer.h; sourceTree = "<group>"; };
C00FD48A1938512100C6382D /* Landscape_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Landscape_png.cpp; sourceTree = "<group>"; };
C00FD48B1938512100C6382D /* PlayDisable_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlayDisable_png.cpp; sourceTree = "<group>"; };
C00FD48C1938512100C6382D /* PlayEnable_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlayEnable_png.cpp; sourceTree = "<group>"; };
C00FD48D1938512100C6382D /* Portrait_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Portrait_png.cpp; sourceTree = "<group>"; };
C00FD48E1938512100C6382D /* ResData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResData.h; sourceTree = "<group>"; };
C00FD48F1938512100C6382D /* Runtime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Runtime.cpp; sourceTree = "<group>"; };
C00FD4901938512100C6382D /* Runtime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Runtime.h; sourceTree = "<group>"; };
C00FD4911938512100C6382D /* Shine_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Shine_png.cpp; sourceTree = "<group>"; };
C033B51A191B337200D06937 /* VisibleRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VisibleRect.cpp; path = ../Classes/VisibleRect.cpp; sourceTree = "<group>"; };
C033B51B191B337200D06937 /* VisibleRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VisibleRect.h; path = ../Classes/VisibleRect.h; sourceTree = "<group>"; };
C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_lua_bindings.xcodeproj; path = "../../../../../cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj"; sourceTree = "<group>"; }; C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_lua_bindings.xcodeproj; path = "../../../../../cocos/scripting/lua-bindings/proj.ios_mac/cocos2d_lua_bindings.xcodeproj"; sourceTree = "<group>"; };
C05D1C111923449100B808A4 /* config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = config.json; path = ../../../config.json; sourceTree = "<group>"; }; C05D1C111923449100B808A4 /* config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = config.json; path = ../../../config.json; sourceTree = "<group>"; };
C0619CD61896894800872C26 /* Runtime_ios-mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "Runtime_ios-mac.mm"; sourceTree = "<group>"; };
C06C3794191A1D1E00617BED /* ConfigParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ConfigParser.cpp; path = ../Classes/ConfigParser.cpp; sourceTree = "<group>"; };
C06C3795191A1D1E00617BED /* ConfigParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ConfigParser.h; path = ../Classes/ConfigParser.h; sourceTree = "<group>"; };
C07828F418B4D72E00BD2287 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; C07828F418B4D72E00BD2287 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
C07828F618B4D72E00BD2287 /* SimulatorApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimulatorApp.h; sourceTree = "<group>"; }; C07828F618B4D72E00BD2287 /* SimulatorApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimulatorApp.h; sourceTree = "<group>"; };
C07828F718B4D72E00BD2287 /* SimulatorApp.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SimulatorApp.mm; sourceTree = "<group>"; }; C07828F718B4D72E00BD2287 /* SimulatorApp.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SimulatorApp.mm; sourceTree = "<group>"; };
@ -405,83 +281,6 @@
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
3EB5152E1952865D006966AA /* protobuf-lite */ = {
isa = PBXGroup;
children = (
3EB5152F1952865D006966AA /* config.h */,
3EB515301952865D006966AA /* google */,
);
name = "protobuf-lite";
path = "../protobuf-lite";
sourceTree = "<group>";
};
3EB515301952865D006966AA /* google */ = {
isa = PBXGroup;
children = (
3EB515311952865D006966AA /* protobuf */,
);
path = google;
sourceTree = "<group>";
};
3EB515311952865D006966AA /* protobuf */ = {
isa = PBXGroup;
children = (
3EB515321952865D006966AA /* extension_set.cc */,
3EB515331952865D006966AA /* extension_set.h */,
3EB515341952865D006966AA /* generated_message_util.cc */,
3EB515351952865D006966AA /* generated_message_util.h */,
3EB515361952865D006966AA /* io */,
3EB5153F1952865D006966AA /* message_lite.cc */,
3EB515401952865D006966AA /* message_lite.h */,
3EB515411952865D006966AA /* repeated_field.cc */,
3EB515421952865D006966AA /* repeated_field.h */,
3EB515431952865D006966AA /* stubs */,
3EB515551952865D006966AA /* wire_format_lite.cc */,
3EB515561952865D006966AA /* wire_format_lite.h */,
3EB515571952865D006966AA /* wire_format_lite_inl.h */,
);
path = protobuf;
sourceTree = "<group>";
};
3EB515361952865D006966AA /* io */ = {
isa = PBXGroup;
children = (
3EB515371952865D006966AA /* coded_stream.cc */,
3EB515381952865D006966AA /* coded_stream.h */,
3EB515391952865D006966AA /* coded_stream_inl.h */,
3EB5153A1952865D006966AA /* zero_copy_stream.cc */,
3EB5153B1952865D006966AA /* zero_copy_stream.h */,
3EB5153C1952865D006966AA /* zero_copy_stream_impl.h */,
3EB5153D1952865D006966AA /* zero_copy_stream_impl_lite.cc */,
3EB5153E1952865D006966AA /* zero_copy_stream_impl_lite.h */,
);
path = io;
sourceTree = "<group>";
};
3EB515431952865D006966AA /* stubs */ = {
isa = PBXGroup;
children = (
3EB515441952865D006966AA /* atomicops.h */,
3EB515451952865D006966AA /* atomicops_internals_atomicword_compat.h */,
3EB515461952865D006966AA /* atomicops_internals_macosx.h */,
3EB515471952865D006966AA /* atomicops_internals_x86_msvc.cc */,
3EB515481952865D006966AA /* atomicops_internals_x86_msvc.h */,
3EB515491952865D006966AA /* common.cc */,
3EB5154A1952865D006966AA /* common.h */,
3EB5154B1952865D006966AA /* hash.h */,
3EB5154C1952865D006966AA /* map-util.h */,
3EB5154D1952865D006966AA /* once.cc */,
3EB5154E1952865D006966AA /* once.h */,
3EB5154F1952865D006966AA /* platform_macros.h */,
3EB515501952865D006966AA /* stl_util.h */,
3EB515511952865D006966AA /* stringprintf.cc */,
3EB515521952865D006966AA /* stringprintf.h */,
3EB515531952865D006966AA /* template_util.h */,
3EB515541952865D006966AA /* type_traits.h */,
);
path = stubs;
sourceTree = "<group>";
};
5023810617EBBCAC00990C9B /* ios */ = { 5023810617EBBCAC00990C9B /* ios */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -557,39 +356,6 @@
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
C00FD4891938512100C6382D /* runtime */ = {
isa = PBXGroup;
children = (
AB6CB6EC1A1F275E009C2562 /* ConnectWaitLayer.cpp */,
AB6CB6ED1A1F275E009C2562 /* ConnectWaitLayer.h */,
AB6CB6EE1A1F275E009C2562 /* ConsoleCommand.cpp */,
AB6CB6EF1A1F275E009C2562 /* ConsoleCommand.h */,
AB6CB6F01A1F275E009C2562 /* FileServer.cpp */,
AB6CB6F11A1F275E009C2562 /* FileServer.h */,
15AA9646199B6D4600725633 /* lua_debugger.c */,
15AA9647199B6D4600725633 /* lua_debugger.h */,
3EB5152E1952865D006966AA /* protobuf-lite */,
3EB5152A19528284006966AA /* Protos.pb.cc */,
3EB5152B19528284006966AA /* Protos.pb.h */,
C00FD48A1938512100C6382D /* Landscape_png.cpp */,
C00FD48B1938512100C6382D /* PlayDisable_png.cpp */,
C00FD48C1938512100C6382D /* PlayEnable_png.cpp */,
C00FD48D1938512100C6382D /* Portrait_png.cpp */,
C00FD48E1938512100C6382D /* ResData.h */,
C00FD48F1938512100C6382D /* Runtime.cpp */,
C00FD4901938512100C6382D /* Runtime.h */,
9FF5057A1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp */,
9FF5057B1A5ED0AB00AFDA55 /* RuntimeLuaImpl.h */,
9FF505821A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp */,
9FF505831A5EDE6500AFDA55 /* RuntimeCCSImpl.h */,
9FF5057E1A5ED0C600AFDA55 /* RuntimeProtocol.cpp */,
9FF5057F1A5ED0C600AFDA55 /* RuntimeProtocol.h */,
C00FD4911938512100C6382D /* Shine_png.cpp */,
);
name = runtime;
path = ../Classes/runtime;
sourceTree = "<group>";
};
F293B3BD15EB7BE500256477 = { F293B3BD15EB7BE500256477 = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -647,12 +413,6 @@
9FFC07381A4A902500AED399 /* CodeIDESupport.h */, 9FFC07381A4A902500AED399 /* CodeIDESupport.h */,
9FFC07061A4A739200AED399 /* lang */, 9FFC07061A4A739200AED399 /* lang */,
15427CE2198F237300DC375D /* lua_module_register.h */, 15427CE2198F237300DC375D /* lua_module_register.h */,
C00FD4891938512100C6382D /* runtime */,
C033B51A191B337200D06937 /* VisibleRect.cpp */,
C033B51B191B337200D06937 /* VisibleRect.h */,
C06C3794191A1D1E00617BED /* ConfigParser.cpp */,
C06C3795191A1D1E00617BED /* ConfigParser.h */,
C0619CD61896894800872C26 /* Runtime_ios-mac.mm */,
F293BB7E15EB831F00256477 /* AppDelegate.cpp */, F293BB7E15EB831F00256477 /* AppDelegate.cpp */,
F293BB7F15EB831F00256477 /* AppDelegate.h */, F293BB7F15EB831F00256477 /* AppDelegate.h */,
); );
@ -849,39 +609,10 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
AB6CB6F31A1F275E009C2562 /* ConnectWaitLayer.cpp in Sources */,
C07828FA18B4D72E00BD2287 /* SimulatorApp.mm in Sources */, C07828FA18B4D72E00BD2287 /* SimulatorApp.mm in Sources */,
5023813317EBBCE400990C9B /* AppDelegate.cpp in Sources */, 5023813317EBBCE400990C9B /* AppDelegate.cpp in Sources */,
9FD6FC731A5D2A820028EDC6 /* ConsoleWindowController.m in Sources */, 9FD6FC731A5D2A820028EDC6 /* ConsoleWindowController.m in Sources */,
C00FD4971938512100C6382D /* PlayEnable_png.cpp in Sources */,
C00FD4951938512100C6382D /* PlayDisable_png.cpp in Sources */,
AB6CB6F51A1F275E009C2562 /* ConsoleCommand.cpp in Sources */,
C033B51D191B337200D06937 /* VisibleRect.cpp in Sources */,
C00FD49D1938512100C6382D /* Shine_png.cpp in Sources */,
3EB515691952865D006966AA /* common.cc in Sources */,
15AA9649199B6D4600725633 /* lua_debugger.c in Sources */,
3EB515651952865D006966AA /* repeated_field.cc in Sources */,
3EB5156B1952865D006966AA /* once.cc in Sources */,
9FF5057D1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp in Sources */,
3EB5155D1952865D006966AA /* coded_stream.cc in Sources */,
C00FD4991938512100C6382D /* Portrait_png.cpp in Sources */,
C06C3797191A1D1E00617BED /* ConfigParser.cpp in Sources */,
9FF505851A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp in Sources */,
3EB5156D1952865D006966AA /* stringprintf.cc in Sources */,
C07828F818B4D72E00BD2287 /* main.m in Sources */, C07828F818B4D72E00BD2287 /* main.m in Sources */,
3EB515611952865D006966AA /* zero_copy_stream_impl_lite.cc in Sources */,
3EB5156F1952865D006966AA /* wire_format_lite.cc in Sources */,
3EB515631952865D006966AA /* message_lite.cc in Sources */,
C00FD49B1938512100C6382D /* Runtime.cpp in Sources */,
3EB515591952865D006966AA /* extension_set.cc in Sources */,
3EB5155B1952865D006966AA /* generated_message_util.cc in Sources */,
C0619CD81896894800872C26 /* Runtime_ios-mac.mm in Sources */,
9FF505811A5ED0C600AFDA55 /* RuntimeProtocol.cpp in Sources */,
3EB5152D19528284006966AA /* Protos.pb.cc in Sources */,
AB6CB6F71A1F275E009C2562 /* FileServer.cpp in Sources */,
C00FD4931938512100C6382D /* Landscape_png.cpp in Sources */,
3EB5155F1952865D006966AA /* zero_copy_stream.cc in Sources */,
3EB515671952865D006966AA /* atomicops_internals_x86_msvc.cc in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -889,39 +620,10 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
15AA9648199B6D4600725633 /* lua_debugger.c in Sources */,
3EB5156A1952865D006966AA /* once.cc in Sources */,
C00FD4981938512100C6382D /* Portrait_png.cpp in Sources */,
5023812517EBBCAC00990C9B /* RootViewController.mm in Sources */, 5023812517EBBCAC00990C9B /* RootViewController.mm in Sources */,
C00FD4921938512100C6382D /* Landscape_png.cpp in Sources */,
F293BB9C15EB831F00256477 /* AppDelegate.cpp in Sources */, F293BB9C15EB831F00256477 /* AppDelegate.cpp in Sources */,
C00FD49A1938512100C6382D /* Runtime.cpp in Sources */,
3EB515621952865D006966AA /* message_lite.cc in Sources */,
C06C3796191A1D1E00617BED /* ConfigParser.cpp in Sources */,
3EB515601952865D006966AA /* zero_copy_stream_impl_lite.cc in Sources */,
C00FD4961938512100C6382D /* PlayEnable_png.cpp in Sources */,
3EB5152C19528284006966AA /* Protos.pb.cc in Sources */,
3EB515661952865D006966AA /* atomicops_internals_x86_msvc.cc in Sources */,
9FF5057C1A5ED0AB00AFDA55 /* RuntimeLuaImpl.cpp in Sources */,
3EB515641952865D006966AA /* repeated_field.cc in Sources */,
C00FD4941938512100C6382D /* PlayDisable_png.cpp in Sources */,
C00FD49C1938512100C6382D /* Shine_png.cpp in Sources */,
9FF505841A5EDE6500AFDA55 /* RuntimeCCSImpl.cpp in Sources */,
3EB5156E1952865D006966AA /* wire_format_lite.cc in Sources */,
AB6CB6F21A1F275E009C2562 /* ConnectWaitLayer.cpp in Sources */,
3EB515581952865D006966AA /* extension_set.cc in Sources */,
5023812417EBBCAC00990C9B /* main.m in Sources */, 5023812417EBBCAC00990C9B /* main.m in Sources */,
3EB5156C1952865D006966AA /* stringprintf.cc in Sources */,
3EB515681952865D006966AA /* common.cc in Sources */,
C033B51C191B337200D06937 /* VisibleRect.cpp in Sources */,
3EB5155A1952865D006966AA /* generated_message_util.cc in Sources */,
AB6CB6F61A1F275E009C2562 /* FileServer.cpp in Sources */,
9FF505801A5ED0C600AFDA55 /* RuntimeProtocol.cpp in Sources */,
3EB5155E1952865D006966AA /* zero_copy_stream.cc in Sources */,
3EB5155C1952865D006966AA /* coded_stream.cc in Sources */,
C0619CD71896894800872C26 /* Runtime_ios-mac.mm in Sources */,
5023811817EBBCAC00990C9B /* AppController.mm in Sources */, 5023811817EBBCAC00990C9B /* AppController.mm in Sources */,
AB6CB6F41A1F275E009C2562 /* ConsoleCommand.cpp in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };

View File

@ -107,6 +107,7 @@ void resetDesignResolution()
RuntimeEngine::RuntimeEngine() RuntimeEngine::RuntimeEngine()
: _runtime(nullptr) : _runtime(nullptr)
, _call(nullptr)
{ {
} }
@ -129,6 +130,7 @@ void RuntimeEngine::setupRuntime()
// 2. init Lua / Js runtime // 2. init Lua / Js runtime
// //
updateConfigParser();
auto entryFile = ConfigParser::getInstance()->getEntryFile(); auto entryFile = ConfigParser::getInstance()->getEntryFile();
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) && (CC_TARGET_PLATFORM != CC_PLATFORM_MAC) #if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32) && (CC_TARGET_PLATFORM != CC_PLATFORM_MAC)
ConfigParser::getInstance()->readConfig(); ConfigParser::getInstance()->readConfig();
@ -157,6 +159,17 @@ void RuntimeEngine::setupRuntime()
_runtime = RuntimeCCSImpl::create(); _runtime = RuntimeCCSImpl::create();
} }
} }
void RuntimeEngine::setProjectConfig(const ProjectConfig &config)
{
_project = config;
}
const ProjectConfig &RuntimeEngine::getProjectConfig()
{
return _project;
}
void RuntimeEngine::setProjectPath(const std::string &workPath) void RuntimeEngine::setProjectPath(const std::string &workPath)
{ {
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC) #if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32 || CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
@ -188,14 +201,6 @@ void RuntimeEngine::setProjectPath(const std::string &workPath)
#endif #endif
} }
bool RuntimeEngine::startNetwork()
{
ConsoleCommand::getShareInstance()->init();
showUI();
return true;
}
void RuntimeEngine::startScript(const std::string &args) void RuntimeEngine::startScript(const std::string &args)
{ {
resetDesignResolution(); resetDesignResolution();
@ -205,6 +210,43 @@ void RuntimeEngine::startScript(const std::string &args)
} }
} }
void RuntimeEngine::start()
{
// set search path
string path = FileUtils::getInstance()->fullPathForFilename(_project.getScriptFileRealPath().c_str());
size_t pos;
while ((pos = path.find_first_of("\\")) != std::string::npos)
{
path.replace(pos, 1, "/");
}
size_t p = path.find_last_of("/");
string workdir;
if (p != path.npos)
{
workdir = path.substr(0, p);
FileUtils::getInstance()->addSearchPath(workdir);
}
// update search pathes
FileUtils::getInstance()->addSearchPath(_project.getProjectDir());
auto &customizedPathes = _project.getSearchPath();
for (auto &path : customizedPathes)
{
FileUtils::getInstance()->addSearchPath(path);
}
//
if (_project.getDebuggerType() == kCCRuntimeDebuggerNone)
{
_call = StartupCall::create();
_call->startup();
}
else
{
startNetwork();
}
}
void RuntimeEngine::end() void RuntimeEngine::end()
{ {
if (_runtime) if (_runtime)
@ -213,7 +255,8 @@ void RuntimeEngine::end()
} }
ConsoleCommand::purge(); ConsoleCommand::purge();
FileServer::getShareInstance()->stop(); FileServer::getShareInstance()->stop();
//FileServer::purge(); ConfigParser::purge();
// FileServer::purge();
} }
RuntimeProtocol* RuntimeEngine::getRuntime() RuntimeProtocol* RuntimeEngine::getRuntime()
@ -234,3 +277,26 @@ void RuntimeEngine::showUI()
scene->addChild(connectLayer); scene->addChild(connectLayer);
director->runWithScene(scene); director->runWithScene(scene);
} }
bool RuntimeEngine::startNetwork()
{
ConsoleCommand::getShareInstance()->init();
showUI();
return true;
}
void RuntimeEngine::updateConfigParser()
{
// set entry file
auto parser = ConfigParser::getInstance();
string entryFile(_project.getScriptFileRealPath());
if (entryFile.find(_project.getProjectDir()) != string::npos)
{
entryFile.erase(0, _project.getProjectDir().length());
}
std::replace(entryFile.begin(), entryFile.end(), '\\', '/');
parser->setEntryFile(entryFile);
parser->setBindAddress(_project.getBindAddress());
}

View File

@ -45,6 +45,7 @@ const char* getRuntimeVersion();
// //
// RuntimeEngine // RuntimeEngine
// //
#include "StartCall.h"
class RuntimeProtocol; class RuntimeProtocol;
class RuntimeEngine class RuntimeEngine
{ {
@ -53,17 +54,23 @@ public:
// //
void setupRuntime(); void setupRuntime();
void setProjectConfig(const ProjectConfig &config);
void setProjectPath(const std::string &path); void setProjectPath(const std::string &path);
bool startNetwork(); const ProjectConfig &getProjectConfig();
void startScript(const std::string &args); void startScript(const std::string &args);
void start();
void end(); void end();
RuntimeProtocol *getRuntime(); RuntimeProtocol *getRuntime();
private: private:
RuntimeEngine(); RuntimeEngine();
bool startNetwork();
void showUI(); void showUI();
void updateConfigParser();
RuntimeProtocol *_runtime; RuntimeProtocol *_runtime;
StartupCall *_call;
ProjectConfig _project;
}; };
#endif // _RUNTIME__H_ #endif // _RUNTIME__H_

View File

@ -287,8 +287,28 @@ void RuntimeLuaImpl::onReload(const rapidjson::Document &dArgParse, rapidjson::D
void RuntimeLuaImpl::startScript(const std::string& strDebugArg) void RuntimeLuaImpl::startScript(const std::string& strDebugArg)
{ {
// register lua engine
auto engine = LuaEngine::getInstance(); auto engine = LuaEngine::getInstance();
auto stack = engine->getLuaStack();
const ProjectConfig &project = RuntimeEngine::getInstance()->getProjectConfig();
// set search path
string path = FileUtils::getInstance()->fullPathForFilename(project.getScriptFileRealPath().c_str());
size_t pos;
while ((pos = path.find_first_of("\\")) != std::string::npos)
{
path.replace(pos, 1, "/");
}
size_t p = path.find_last_of("/");
string workdir;
if (p != path.npos)
{
workdir = path.substr(0, p);
stack->addSearchPath(workdir.c_str());
FileUtils::getInstance()->addSearchPath(workdir);
}
// register lua engine
if (!strDebugArg.empty()) if (!strDebugArg.empty())
{ {
// open debugger.lua module // open debugger.lua module

View File

@ -0,0 +1,250 @@
//
// StartCall.cpp
// simulator
//
//
#include "StartCall.h"
#include "CCLuaEngine.h"
#include "cocostudio/CocoStudio.h"
#include "Runtime.h"
#include "ConfigParser.h"
#if ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
#include "DeviceEx.h"
#include "network/CCHTTPRequest.h"
#endif
#include "xxhash/xxhash.h"
USING_NS_CC;
// ----------------------------------------
StartupCall *StartupCall::create()
{
StartupCall *call = new StartupCall();
call->autorelease();
return call;
}
StartupCall::StartupCall()
: _launchEvent("empty")
{
}
static bool endWithString(const std::string &buf, const std::string &suffix)
{
return ((buf.find(suffix) + suffix.length()) == buf.length());
}
void StartupCall::startup()
{
auto engine = LuaEngine::getInstance();
auto stack = engine->getLuaStack();
const ProjectConfig &project = RuntimeEngine::getInstance()->getProjectConfig();
// set search path
string path = FileUtils::getInstance()->fullPathForFilename(project.getScriptFileRealPath().c_str());
size_t pos;
while ((pos = path.find_first_of("\\")) != std::string::npos)
{
path.replace(pos, 1, "/");
}
size_t p = path.find_last_of("/");
string workdir;
if (p != path.npos)
{
workdir = path.substr(0, p);
stack->addSearchPath(workdir.c_str());
FileUtils::getInstance()->addSearchPath(workdir);
}
// update search pathes
FileUtils::getInstance()->addSearchPath(project.getProjectDir());
auto &customizedPathes = project.getSearchPath();
for (auto &path : customizedPathes)
{
FileUtils::getInstance()->addSearchPath(path);
}
updateConfigParser(project);
updatePreviewFuncForPath(path);
// launch
if (project.getDebuggerType() == kCCRuntimeDebuggerNone)
{
_previewFunc(path);
}
// track start event
trackLaunchEvent();
}
//
// NOTE: track event on windows / mac platform
//
void StartupCall::trackEvent(const char *eventName)
{
#if ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
const char *platform = "win";
#elif (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
const char *platform = "mac";
#else
const char *platform = "UNKNOWN";
#endif
char cidBuf[56] = {0};
auto guid = player::DeviceEx::getInstance()->getUserGUID();
snprintf(cidBuf, sizeof(cidBuf), "%x", XXH32(guid.c_str(), (int)guid.length(), 0));
auto request = extra::HTTPRequest::createWithUrl(NULL,
"http://www.google-analytics.com/collect",
kCCHTTPRequestMethodPOST);
request->addPOSTValue("v", "1");
request->addPOSTValue("tid", "UA-58200293-1");
request->addPOSTValue("cid", cidBuf);
request->addPOSTValue("t", "event");
request->addPOSTValue("an", "simulator");
request->addPOSTValue("av", cocos2dVersion());
request->addPOSTValue("ec", platform);
request->addPOSTValue("ea", eventName);
request->start();
#endif // ((CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC))
}
void StartupCall::trackLaunchEvent()
{
trackEvent(_launchEvent.c_str());
}
void StartupCall::onPreviewCocosCSD(const std::string &path)
{
std::string filepath = path;
if (filepath.empty())
{
filepath = ConfigParser::getInstance()->getEntryFile();
}
CCLOG("------------------------------------------------");
CCLOG("LOAD Cocos Studio FILE (.csd): %s", filepath.c_str());
CCLOG("------------------------------------------------");
auto node = CSLoader::getInstance()->createNodeWithFlatBuffersForSimulator(filepath.c_str());
auto action = cocostudio::timeline::ActionTimelineCache::getInstance()->createActionWithFlatBuffersForSimulator(filepath.c_str());
if (action)
{
node->runAction(action);
action->gotoFrameAndPlay(0);
}
if (node)
{
if (Director::getInstance()->getRunningScene())
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->replaceScene(scene);
}
else
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->runWithScene(scene);
}
}
}
void StartupCall::onPreviewCocosCSB(const std::string &path)
{
std::string filepath = path;
if (filepath.empty())
{
filepath = ConfigParser::getInstance()->getEntryFile();
}
CCLOG("\n------------------------------------------------\n");
CCLOG("[WARNING]: using **SUITABLE** Cocos Studio generate csb file!!");
CCLOG("LOAD Cocos Studio FILE (.csb): %s", filepath.c_str());
CCLOG("\n------------------------------------------------\n");
auto node = CSLoader::getInstance()->createNode(filepath);
if (node)
{
if (Director::getInstance()->getRunningScene())
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->replaceScene(scene);
}
else
{
auto scene = Scene::create();
scene->addChild(node);
Director::getInstance()->runWithScene(scene);
}
}
}
void StartupCall::onPreviewLua(const std::string &path)
{
CCLOG("------------------------------------------------");
CCLOG("LOAD Lua FILE: %s", path.c_str());
CCLOG("------------------------------------------------");
LuaEngine::getInstance()->executeScriptFile(path.c_str());
}
void StartupCall::onPreviewJs(const std::string &path)
{
CCLOG("------------------------------------------------");
CCLOG("LOAD Js FILE: %s", path.c_str());
CCLOG("------------------------------------------------");
CCLOG("TODO: ");
}
void StartupCall::updateConfigParser(const ProjectConfig& project)
{
// set entry file
auto parser = ConfigParser::getInstance();
string entryFile(project.getScriptFileRealPath());
if (entryFile.find(project.getProjectDir()) != string::npos)
{
entryFile.erase(0, project.getProjectDir().length());
}
std::replace(entryFile.begin(), entryFile.end(), '\\', '/');
parser->setEntryFile(entryFile);
parser->setBindAddress(project.getBindAddress());
}
void StartupCall::updatePreviewFuncForPath(const std::string &path)
{
// set loader
_previewFunc = [](const std::string &path) { };
if (endWithString(path, ".lua") || endWithString(path, ".luac"))
{
_launchEvent = "lua";
_previewFunc = std::bind(&StartupCall::onPreviewLua, this, std::placeholders::_1);
}
else if (endWithString(path, ".csd"))
{
_launchEvent = "ccs";
_previewFunc = std::bind(&StartupCall::onPreviewCocosCSD, this, std::placeholders::_1);
}
else if (endWithString(path, ".csb"))
{
_launchEvent = "ccs";
_previewFunc = std::bind(&StartupCall::onPreviewCocosCSB, this, std::placeholders::_1);
}
else if (endWithString(path, ".js") || endWithString(path, ".jsc"))
{
_launchEvent = "js";
}
}

View File

@ -0,0 +1,39 @@
//
// StartCall.h
// simulator
//
//
#ifndef __simulator__StartCall__
#define __simulator__StartCall__
#include "cocos2d.h"
#include "ProjectConfig/ProjectConfig.h"
#include "ProjectConfig/SimulatorConfig.h"
class StartupCall : public cocos2d::Ref
{
public:
static StartupCall *create();
void startup();
private:
StartupCall();
void trackEvent(const char *eventName);
void trackLaunchEvent();
void onPreviewCocosCSD(const std::string &path);
void onPreviewCocosCSB(const std::string &path);
void onPreviewLua(const std::string &path);
void onPreviewJs(const std::string &path);
void updateConfigParser(const ProjectConfig& project);
void updatePreviewFuncForPath(const std::string &path);
private:
std::function<void(const std::string &)> _previewFunc;
std::string _launchEvent;
};
#endif /* defined(__simulator__StartCall__) */

View File

@ -6,11 +6,36 @@ LOCAL_MODULE := cocos2d_simulator_static
LOCAL_MODULE_FILENAME := libsimulator LOCAL_MODULE_FILENAME := libsimulator
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
../lib/protobuf-lite/google/protobuf/io/coded_stream.cc \
../lib/protobuf-lite/google/protobuf/stubs/common.cc \
../lib/protobuf-lite/google/protobuf/extension_set.cc \
../lib/protobuf-lite/google/protobuf/generated_message_util.cc \
../lib/protobuf-lite/google/protobuf/message_lite.cc \
../lib/protobuf-lite/google/protobuf/stubs/once.cc \
../lib/protobuf-lite/google/protobuf/stubs/atomicops_internals_x86_gcc.cc \
../lib/protobuf-lite/google/protobuf/repeated_field.cc \
../lib/protobuf-lite/google/protobuf/wire_format_lite.cc \
../lib/protobuf-lite/google/protobuf/io/zero_copy_stream.cc \
../lib/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.cc \
../lib/protobuf-lite/google/protobuf/stubs/stringprintf.cc \
../lib/runtime/ConnectWaitLayer.cpp \
../lib/runtime/ConsoleCommand.cpp \
../lib/runtime/FileServer.cpp \
../lib/runtime/Landscape_png.cpp \
../lib/runtime/lua_debugger.c \
../lib/runtime/PlayDisable_png.cpp \
../lib/runtime/PlayEnable_png.cpp \
../lib/runtime/Portrait_png.cpp \
../lib/runtime/Protos.pb.cc \
../lib/runtime/Runtime.cpp \
../lib/runtime/Shine_png.cpp \
../lib/runtime/ConfigParser.cpp \
../lib/VisibleRect.cpp \
../lib/ProjectConfig/ProjectConfig.cpp \ ../lib/ProjectConfig/ProjectConfig.cpp \
../lib/ProjectConfig/SimulatorConfig.cpp ../lib/ProjectConfig/SimulatorConfig.cpp
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../lib LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../lib $(LOCAL_PATH)/../lib/protobuf-lite
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../lib LOCAL_C_INCLUDES := $(LOCAL_PATH)/../lib

View File

@ -0,0 +1,8 @@
//
// Prefix header for all source files of the 'simulator' target in the 'simulator' project
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif

View File

@ -7,6 +7,109 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
9F2F21BD1A635F1C006B8BF1 /* RuntimeCCSImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21B71A635F1C006B8BF1 /* RuntimeCCSImpl.cpp */; };
9F2F21BE1A635F1C006B8BF1 /* RuntimeCCSImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21B71A635F1C006B8BF1 /* RuntimeCCSImpl.cpp */; };
9F2F21BF1A635F1C006B8BF1 /* RuntimeCCSImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F2F21B81A635F1C006B8BF1 /* RuntimeCCSImpl.h */; };
9F2F21C01A635F1C006B8BF1 /* RuntimeLuaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21B91A635F1C006B8BF1 /* RuntimeLuaImpl.cpp */; };
9F2F21C11A635F1C006B8BF1 /* RuntimeLuaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21B91A635F1C006B8BF1 /* RuntimeLuaImpl.cpp */; };
9F2F21C21A635F1C006B8BF1 /* RuntimeLuaImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F2F21BA1A635F1C006B8BF1 /* RuntimeLuaImpl.h */; };
9F2F21C31A635F1C006B8BF1 /* RuntimeProtocol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21BB1A635F1C006B8BF1 /* RuntimeProtocol.cpp */; };
9F2F21C41A635F1C006B8BF1 /* RuntimeProtocol.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21BB1A635F1C006B8BF1 /* RuntimeProtocol.cpp */; };
9F2F21C51A635F1C006B8BF1 /* RuntimeProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F2F21BC1A635F1C006B8BF1 /* RuntimeProtocol.h */; };
9F2F21C71A635FFF006B8BF1 /* Runtime_ios-mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21C61A635FFF006B8BF1 /* Runtime_ios-mac.mm */; };
9F2F21C81A635FFF006B8BF1 /* Runtime_ios-mac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21C61A635FFF006B8BF1 /* Runtime_ios-mac.mm */; };
9F2F21CF1A63640B006B8BF1 /* StartCall.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21CD1A63640B006B8BF1 /* StartCall.cpp */; };
9F2F21D01A63640B006B8BF1 /* StartCall.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9F2F21CD1A63640B006B8BF1 /* StartCall.cpp */; };
9F2F21D11A63640B006B8BF1 /* StartCall.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F2F21CE1A63640B006B8BF1 /* StartCall.h */; };
9FB638641A635BA300AAEC43 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638201A635BA300AAEC43 /* config.h */; };
9FB638651A635BA300AAEC43 /* extension_set.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638231A635BA300AAEC43 /* extension_set.cc */; };
9FB638661A635BA300AAEC43 /* extension_set.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638231A635BA300AAEC43 /* extension_set.cc */; };
9FB638671A635BA300AAEC43 /* extension_set.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638241A635BA300AAEC43 /* extension_set.h */; };
9FB638681A635BA300AAEC43 /* generated_message_util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638251A635BA300AAEC43 /* generated_message_util.cc */; };
9FB638691A635BA300AAEC43 /* generated_message_util.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638251A635BA300AAEC43 /* generated_message_util.cc */; };
9FB6386A1A635BA300AAEC43 /* generated_message_util.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638261A635BA300AAEC43 /* generated_message_util.h */; };
9FB6386B1A635BA300AAEC43 /* coded_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638281A635BA300AAEC43 /* coded_stream.cc */; };
9FB6386C1A635BA300AAEC43 /* coded_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638281A635BA300AAEC43 /* coded_stream.cc */; };
9FB6386D1A635BA300AAEC43 /* coded_stream.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638291A635BA300AAEC43 /* coded_stream.h */; };
9FB6386E1A635BA300AAEC43 /* coded_stream_inl.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6382A1A635BA300AAEC43 /* coded_stream_inl.h */; };
9FB6386F1A635BA300AAEC43 /* zero_copy_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6382B1A635BA300AAEC43 /* zero_copy_stream.cc */; };
9FB638701A635BA300AAEC43 /* zero_copy_stream.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6382B1A635BA300AAEC43 /* zero_copy_stream.cc */; };
9FB638711A635BA300AAEC43 /* zero_copy_stream.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6382C1A635BA300AAEC43 /* zero_copy_stream.h */; };
9FB638721A635BA300AAEC43 /* zero_copy_stream_impl.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6382D1A635BA300AAEC43 /* zero_copy_stream_impl.h */; };
9FB638731A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6382E1A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc */; };
9FB638741A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6382E1A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc */; };
9FB638751A635BA300AAEC43 /* zero_copy_stream_impl_lite.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6382F1A635BA300AAEC43 /* zero_copy_stream_impl_lite.h */; };
9FB638761A635BA300AAEC43 /* message_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638301A635BA300AAEC43 /* message_lite.cc */; };
9FB638771A635BA300AAEC43 /* message_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638301A635BA300AAEC43 /* message_lite.cc */; };
9FB638781A635BA300AAEC43 /* message_lite.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638311A635BA300AAEC43 /* message_lite.h */; };
9FB638791A635BA300AAEC43 /* repeated_field.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638321A635BA300AAEC43 /* repeated_field.cc */; };
9FB6387A1A635BA300AAEC43 /* repeated_field.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638321A635BA300AAEC43 /* repeated_field.cc */; };
9FB6387B1A635BA300AAEC43 /* repeated_field.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638331A635BA300AAEC43 /* repeated_field.h */; };
9FB6387C1A635BA300AAEC43 /* atomicops.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638351A635BA300AAEC43 /* atomicops.h */; };
9FB6387D1A635BA300AAEC43 /* atomicops_internals_arm_gcc.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638361A635BA300AAEC43 /* atomicops_internals_arm_gcc.h */; };
9FB6387E1A635BA300AAEC43 /* atomicops_internals_atomicword_compat.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638371A635BA300AAEC43 /* atomicops_internals_atomicword_compat.h */; };
9FB6387F1A635BA300AAEC43 /* atomicops_internals_generic_gcc.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638381A635BA300AAEC43 /* atomicops_internals_generic_gcc.h */; };
9FB638801A635BA300AAEC43 /* atomicops_internals_macosx.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638391A635BA300AAEC43 /* atomicops_internals_macosx.h */; };
9FB638811A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383A1A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc */; };
9FB638821A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383A1A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc */; };
9FB638831A635BA300AAEC43 /* atomicops_internals_x86_gcc.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6383B1A635BA300AAEC43 /* atomicops_internals_x86_gcc.h */; };
9FB638841A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383C1A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc */; };
9FB638851A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383C1A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc */; };
9FB638861A635BA300AAEC43 /* atomicops_internals_x86_msvc.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6383D1A635BA300AAEC43 /* atomicops_internals_x86_msvc.h */; };
9FB638871A635BA300AAEC43 /* common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383E1A635BA300AAEC43 /* common.cc */; };
9FB638881A635BA300AAEC43 /* common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6383E1A635BA300AAEC43 /* common.cc */; };
9FB638891A635BA300AAEC43 /* common.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6383F1A635BA300AAEC43 /* common.h */; };
9FB6388A1A635BA300AAEC43 /* hash.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638401A635BA300AAEC43 /* hash.h */; };
9FB6388B1A635BA300AAEC43 /* map-util.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638411A635BA300AAEC43 /* map-util.h */; };
9FB6388C1A635BA300AAEC43 /* once.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638421A635BA300AAEC43 /* once.cc */; };
9FB6388D1A635BA300AAEC43 /* once.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638421A635BA300AAEC43 /* once.cc */; };
9FB6388E1A635BA300AAEC43 /* once.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638431A635BA300AAEC43 /* once.h */; };
9FB6388F1A635BA300AAEC43 /* platform_macros.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638441A635BA300AAEC43 /* platform_macros.h */; };
9FB638901A635BA300AAEC43 /* stl_util.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638451A635BA300AAEC43 /* stl_util.h */; };
9FB638911A635BA300AAEC43 /* stringprintf.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638461A635BA300AAEC43 /* stringprintf.cc */; };
9FB638921A635BA300AAEC43 /* stringprintf.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638461A635BA300AAEC43 /* stringprintf.cc */; };
9FB638931A635BA300AAEC43 /* stringprintf.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638471A635BA300AAEC43 /* stringprintf.h */; };
9FB638941A635BA300AAEC43 /* template_util.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638481A635BA300AAEC43 /* template_util.h */; };
9FB638951A635BA300AAEC43 /* type_traits.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638491A635BA300AAEC43 /* type_traits.h */; };
9FB638961A635BA300AAEC43 /* wire_format_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6384A1A635BA300AAEC43 /* wire_format_lite.cc */; };
9FB638971A635BA300AAEC43 /* wire_format_lite.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6384A1A635BA300AAEC43 /* wire_format_lite.cc */; };
9FB638981A635BA300AAEC43 /* wire_format_lite.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6384B1A635BA300AAEC43 /* wire_format_lite.h */; };
9FB638991A635BA300AAEC43 /* wire_format_lite_inl.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6384C1A635BA300AAEC43 /* wire_format_lite_inl.h */; };
9FB6389A1A635BA300AAEC43 /* ConfigParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6384E1A635BA300AAEC43 /* ConfigParser.cpp */; };
9FB6389B1A635BA300AAEC43 /* ConfigParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6384E1A635BA300AAEC43 /* ConfigParser.cpp */; };
9FB6389C1A635BA300AAEC43 /* ConfigParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6384F1A635BA300AAEC43 /* ConfigParser.h */; };
9FB6389D1A635BA300AAEC43 /* ConnectWaitLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638501A635BA300AAEC43 /* ConnectWaitLayer.cpp */; };
9FB6389E1A635BA300AAEC43 /* ConnectWaitLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638501A635BA300AAEC43 /* ConnectWaitLayer.cpp */; };
9FB6389F1A635BA300AAEC43 /* ConnectWaitLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638511A635BA300AAEC43 /* ConnectWaitLayer.h */; };
9FB638A01A635BA300AAEC43 /* ConsoleCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638521A635BA300AAEC43 /* ConsoleCommand.cpp */; };
9FB638A11A635BA300AAEC43 /* ConsoleCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638521A635BA300AAEC43 /* ConsoleCommand.cpp */; };
9FB638A21A635BA300AAEC43 /* ConsoleCommand.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638531A635BA300AAEC43 /* ConsoleCommand.h */; };
9FB638A31A635BA300AAEC43 /* FileServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638541A635BA300AAEC43 /* FileServer.cpp */; };
9FB638A41A635BA300AAEC43 /* FileServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638541A635BA300AAEC43 /* FileServer.cpp */; };
9FB638A51A635BA300AAEC43 /* FileServer.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638551A635BA300AAEC43 /* FileServer.h */; };
9FB638A61A635BA300AAEC43 /* Landscape_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638561A635BA300AAEC43 /* Landscape_png.cpp */; };
9FB638A71A635BA300AAEC43 /* Landscape_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638561A635BA300AAEC43 /* Landscape_png.cpp */; };
9FB638A81A635BA300AAEC43 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638571A635BA300AAEC43 /* lua_debugger.c */; };
9FB638A91A635BA300AAEC43 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638571A635BA300AAEC43 /* lua_debugger.c */; };
9FB638AA1A635BA300AAEC43 /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638581A635BA300AAEC43 /* lua_debugger.h */; };
9FB638AB1A635BA300AAEC43 /* PlayDisable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638591A635BA300AAEC43 /* PlayDisable_png.cpp */; };
9FB638AC1A635BA300AAEC43 /* PlayDisable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638591A635BA300AAEC43 /* PlayDisable_png.cpp */; };
9FB638AD1A635BA300AAEC43 /* PlayEnable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385A1A635BA300AAEC43 /* PlayEnable_png.cpp */; };
9FB638AE1A635BA300AAEC43 /* PlayEnable_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385A1A635BA300AAEC43 /* PlayEnable_png.cpp */; };
9FB638AF1A635BA300AAEC43 /* Portrait_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385B1A635BA300AAEC43 /* Portrait_png.cpp */; };
9FB638B01A635BA300AAEC43 /* Portrait_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385B1A635BA300AAEC43 /* Portrait_png.cpp */; };
9FB638B11A635BA300AAEC43 /* Protos.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385C1A635BA300AAEC43 /* Protos.pb.cc */; };
9FB638B21A635BA300AAEC43 /* Protos.pb.cc in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385C1A635BA300AAEC43 /* Protos.pb.cc */; };
9FB638B31A635BA300AAEC43 /* Protos.pb.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6385D1A635BA300AAEC43 /* Protos.pb.h */; };
9FB638B41A635BA300AAEC43 /* ResData.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB6385E1A635BA300AAEC43 /* ResData.h */; };
9FB638B51A635BA300AAEC43 /* Runtime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385F1A635BA300AAEC43 /* Runtime.cpp */; };
9FB638B61A635BA300AAEC43 /* Runtime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB6385F1A635BA300AAEC43 /* Runtime.cpp */; };
9FB638B71A635BA300AAEC43 /* Runtime.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638601A635BA300AAEC43 /* Runtime.h */; };
9FB638B81A635BA300AAEC43 /* Shine_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638611A635BA300AAEC43 /* Shine_png.cpp */; };
9FB638B91A635BA300AAEC43 /* Shine_png.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638611A635BA300AAEC43 /* Shine_png.cpp */; };
9FB638BA1A635BA300AAEC43 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638621A635BA300AAEC43 /* VisibleRect.cpp */; };
9FB638BB1A635BA300AAEC43 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FB638621A635BA300AAEC43 /* VisibleRect.cpp */; };
9FB638BC1A635BA300AAEC43 /* VisibleRect.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FB638631A635BA300AAEC43 /* VisibleRect.h */; };
9FD6FC311A5D281D0028EDC6 /* cocos2dx_extra.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FD6FC0E1A5D281D0028EDC6 /* cocos2dx_extra.h */; }; 9FD6FC311A5D281D0028EDC6 /* cocos2dx_extra.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FD6FC0E1A5D281D0028EDC6 /* cocos2dx_extra.h */; };
9FD6FC321A5D281D0028EDC6 /* CCHTTPRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FD6FC101A5D281D0028EDC6 /* CCHTTPRequest.cpp */; }; 9FD6FC321A5D281D0028EDC6 /* CCHTTPRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FD6FC101A5D281D0028EDC6 /* CCHTTPRequest.cpp */; };
9FD6FC331A5D281D0028EDC6 /* CCHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FD6FC111A5D281D0028EDC6 /* CCHTTPRequest.h */; }; 9FD6FC331A5D281D0028EDC6 /* CCHTTPRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FD6FC111A5D281D0028EDC6 /* CCHTTPRequest.h */; };
@ -68,8 +171,80 @@
/* End PBXCopyFilesBuildPhase section */ /* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
9F2F21B71A635F1C006B8BF1 /* RuntimeCCSImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeCCSImpl.cpp; sourceTree = "<group>"; };
9F2F21B81A635F1C006B8BF1 /* RuntimeCCSImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeCCSImpl.h; sourceTree = "<group>"; };
9F2F21B91A635F1C006B8BF1 /* RuntimeLuaImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeLuaImpl.cpp; sourceTree = "<group>"; };
9F2F21BA1A635F1C006B8BF1 /* RuntimeLuaImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeLuaImpl.h; sourceTree = "<group>"; };
9F2F21BB1A635F1C006B8BF1 /* RuntimeProtocol.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RuntimeProtocol.cpp; sourceTree = "<group>"; };
9F2F21BC1A635F1C006B8BF1 /* RuntimeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RuntimeProtocol.h; sourceTree = "<group>"; };
9F2F21C61A635FFF006B8BF1 /* Runtime_ios-mac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "Runtime_ios-mac.mm"; sourceTree = "<group>"; };
9F2F21CD1A63640B006B8BF1 /* StartCall.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StartCall.cpp; sourceTree = "<group>"; };
9F2F21CE1A63640B006B8BF1 /* StartCall.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StartCall.h; sourceTree = "<group>"; };
9F7214351A5C271F00DAED06 /* liblibsimulator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibsimulator.a; sourceTree = BUILT_PRODUCTS_DIR; }; 9F7214351A5C271F00DAED06 /* liblibsimulator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibsimulator.a; sourceTree = BUILT_PRODUCTS_DIR; };
9F7214851A5C28BA00DAED06 /* liblibsimulator_iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibsimulator_iOS.a; sourceTree = BUILT_PRODUCTS_DIR; }; 9F7214851A5C28BA00DAED06 /* liblibsimulator_iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibsimulator_iOS.a; sourceTree = BUILT_PRODUCTS_DIR; };
9FB638201A635BA300AAEC43 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
9FB638231A635BA300AAEC43 /* extension_set.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = extension_set.cc; sourceTree = "<group>"; };
9FB638241A635BA300AAEC43 /* extension_set.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = extension_set.h; sourceTree = "<group>"; };
9FB638251A635BA300AAEC43 /* generated_message_util.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = generated_message_util.cc; sourceTree = "<group>"; };
9FB638261A635BA300AAEC43 /* generated_message_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = generated_message_util.h; sourceTree = "<group>"; };
9FB638281A635BA300AAEC43 /* coded_stream.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = coded_stream.cc; sourceTree = "<group>"; };
9FB638291A635BA300AAEC43 /* coded_stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = coded_stream.h; sourceTree = "<group>"; };
9FB6382A1A635BA300AAEC43 /* coded_stream_inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = coded_stream_inl.h; sourceTree = "<group>"; };
9FB6382B1A635BA300AAEC43 /* zero_copy_stream.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zero_copy_stream.cc; sourceTree = "<group>"; };
9FB6382C1A635BA300AAEC43 /* zero_copy_stream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream.h; sourceTree = "<group>"; };
9FB6382D1A635BA300AAEC43 /* zero_copy_stream_impl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream_impl.h; sourceTree = "<group>"; };
9FB6382E1A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = zero_copy_stream_impl_lite.cc; sourceTree = "<group>"; };
9FB6382F1A635BA300AAEC43 /* zero_copy_stream_impl_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zero_copy_stream_impl_lite.h; sourceTree = "<group>"; };
9FB638301A635BA300AAEC43 /* message_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = message_lite.cc; sourceTree = "<group>"; };
9FB638311A635BA300AAEC43 /* message_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = message_lite.h; sourceTree = "<group>"; };
9FB638321A635BA300AAEC43 /* repeated_field.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = repeated_field.cc; sourceTree = "<group>"; };
9FB638331A635BA300AAEC43 /* repeated_field.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = repeated_field.h; sourceTree = "<group>"; };
9FB638351A635BA300AAEC43 /* atomicops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops.h; sourceTree = "<group>"; };
9FB638361A635BA300AAEC43 /* atomicops_internals_arm_gcc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_arm_gcc.h; sourceTree = "<group>"; };
9FB638371A635BA300AAEC43 /* atomicops_internals_atomicword_compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_atomicword_compat.h; sourceTree = "<group>"; };
9FB638381A635BA300AAEC43 /* atomicops_internals_generic_gcc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_generic_gcc.h; sourceTree = "<group>"; };
9FB638391A635BA300AAEC43 /* atomicops_internals_macosx.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_macosx.h; sourceTree = "<group>"; };
9FB6383A1A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = atomicops_internals_x86_gcc.cc; sourceTree = "<group>"; };
9FB6383B1A635BA300AAEC43 /* atomicops_internals_x86_gcc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_x86_gcc.h; sourceTree = "<group>"; };
9FB6383C1A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = atomicops_internals_x86_msvc.cc; sourceTree = "<group>"; };
9FB6383D1A635BA300AAEC43 /* atomicops_internals_x86_msvc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = atomicops_internals_x86_msvc.h; sourceTree = "<group>"; };
9FB6383E1A635BA300AAEC43 /* common.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = common.cc; sourceTree = "<group>"; };
9FB6383F1A635BA300AAEC43 /* common.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = common.h; sourceTree = "<group>"; };
9FB638401A635BA300AAEC43 /* hash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hash.h; sourceTree = "<group>"; };
9FB638411A635BA300AAEC43 /* map-util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "map-util.h"; sourceTree = "<group>"; };
9FB638421A635BA300AAEC43 /* once.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = once.cc; sourceTree = "<group>"; };
9FB638431A635BA300AAEC43 /* once.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = once.h; sourceTree = "<group>"; };
9FB638441A635BA300AAEC43 /* platform_macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = platform_macros.h; sourceTree = "<group>"; };
9FB638451A635BA300AAEC43 /* stl_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stl_util.h; sourceTree = "<group>"; };
9FB638461A635BA300AAEC43 /* stringprintf.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stringprintf.cc; sourceTree = "<group>"; };
9FB638471A635BA300AAEC43 /* stringprintf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stringprintf.h; sourceTree = "<group>"; };
9FB638481A635BA300AAEC43 /* template_util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = template_util.h; sourceTree = "<group>"; };
9FB638491A635BA300AAEC43 /* type_traits.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = type_traits.h; sourceTree = "<group>"; };
9FB6384A1A635BA300AAEC43 /* wire_format_lite.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wire_format_lite.cc; sourceTree = "<group>"; };
9FB6384B1A635BA300AAEC43 /* wire_format_lite.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wire_format_lite.h; sourceTree = "<group>"; };
9FB6384C1A635BA300AAEC43 /* wire_format_lite_inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wire_format_lite_inl.h; sourceTree = "<group>"; };
9FB6384E1A635BA300AAEC43 /* ConfigParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConfigParser.cpp; sourceTree = "<group>"; };
9FB6384F1A635BA300AAEC43 /* ConfigParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConfigParser.h; sourceTree = "<group>"; };
9FB638501A635BA300AAEC43 /* ConnectWaitLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConnectWaitLayer.cpp; sourceTree = "<group>"; };
9FB638511A635BA300AAEC43 /* ConnectWaitLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConnectWaitLayer.h; sourceTree = "<group>"; };
9FB638521A635BA300AAEC43 /* ConsoleCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConsoleCommand.cpp; sourceTree = "<group>"; };
9FB638531A635BA300AAEC43 /* ConsoleCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleCommand.h; sourceTree = "<group>"; };
9FB638541A635BA300AAEC43 /* FileServer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileServer.cpp; sourceTree = "<group>"; };
9FB638551A635BA300AAEC43 /* FileServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FileServer.h; sourceTree = "<group>"; };
9FB638561A635BA300AAEC43 /* Landscape_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Landscape_png.cpp; sourceTree = "<group>"; };
9FB638571A635BA300AAEC43 /* lua_debugger.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_debugger.c; sourceTree = "<group>"; };
9FB638581A635BA300AAEC43 /* lua_debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_debugger.h; sourceTree = "<group>"; };
9FB638591A635BA300AAEC43 /* PlayDisable_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlayDisable_png.cpp; sourceTree = "<group>"; };
9FB6385A1A635BA300AAEC43 /* PlayEnable_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlayEnable_png.cpp; sourceTree = "<group>"; };
9FB6385B1A635BA300AAEC43 /* Portrait_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Portrait_png.cpp; sourceTree = "<group>"; };
9FB6385C1A635BA300AAEC43 /* Protos.pb.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Protos.pb.cc; sourceTree = "<group>"; };
9FB6385D1A635BA300AAEC43 /* Protos.pb.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Protos.pb.h; sourceTree = "<group>"; };
9FB6385E1A635BA300AAEC43 /* ResData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResData.h; sourceTree = "<group>"; };
9FB6385F1A635BA300AAEC43 /* Runtime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Runtime.cpp; sourceTree = "<group>"; };
9FB638601A635BA300AAEC43 /* Runtime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Runtime.h; sourceTree = "<group>"; };
9FB638611A635BA300AAEC43 /* Shine_png.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Shine_png.cpp; sourceTree = "<group>"; };
9FB638621A635BA300AAEC43 /* VisibleRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisibleRect.cpp; sourceTree = "<group>"; };
9FB638631A635BA300AAEC43 /* VisibleRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisibleRect.h; sourceTree = "<group>"; };
9FD6FC0E1A5D281D0028EDC6 /* cocos2dx_extra.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cocos2dx_extra.h; sourceTree = "<group>"; }; 9FD6FC0E1A5D281D0028EDC6 /* cocos2dx_extra.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cocos2dx_extra.h; sourceTree = "<group>"; };
9FD6FC101A5D281D0028EDC6 /* CCHTTPRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCHTTPRequest.cpp; sourceTree = "<group>"; }; 9FD6FC101A5D281D0028EDC6 /* CCHTTPRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CCHTTPRequest.cpp; sourceTree = "<group>"; };
9FD6FC111A5D281D0028EDC6 /* CCHTTPRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCHTTPRequest.h; sourceTree = "<group>"; }; 9FD6FC111A5D281D0028EDC6 /* CCHTTPRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CCHTTPRequest.h; sourceTree = "<group>"; };
@ -151,9 +326,128 @@
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
9FB6381F1A635BA300AAEC43 /* protobuf-lite */ = {
isa = PBXGroup;
children = (
9FB638201A635BA300AAEC43 /* config.h */,
9FB638211A635BA300AAEC43 /* google */,
);
path = "protobuf-lite";
sourceTree = "<group>";
};
9FB638211A635BA300AAEC43 /* google */ = {
isa = PBXGroup;
children = (
9FB638221A635BA300AAEC43 /* protobuf */,
);
path = google;
sourceTree = "<group>";
};
9FB638221A635BA300AAEC43 /* protobuf */ = {
isa = PBXGroup;
children = (
9FB638231A635BA300AAEC43 /* extension_set.cc */,
9FB638241A635BA300AAEC43 /* extension_set.h */,
9FB638251A635BA300AAEC43 /* generated_message_util.cc */,
9FB638261A635BA300AAEC43 /* generated_message_util.h */,
9FB638271A635BA300AAEC43 /* io */,
9FB638301A635BA300AAEC43 /* message_lite.cc */,
9FB638311A635BA300AAEC43 /* message_lite.h */,
9FB638321A635BA300AAEC43 /* repeated_field.cc */,
9FB638331A635BA300AAEC43 /* repeated_field.h */,
9FB638341A635BA300AAEC43 /* stubs */,
9FB6384A1A635BA300AAEC43 /* wire_format_lite.cc */,
9FB6384B1A635BA300AAEC43 /* wire_format_lite.h */,
9FB6384C1A635BA300AAEC43 /* wire_format_lite_inl.h */,
);
path = protobuf;
sourceTree = "<group>";
};
9FB638271A635BA300AAEC43 /* io */ = {
isa = PBXGroup;
children = (
9FB638281A635BA300AAEC43 /* coded_stream.cc */,
9FB638291A635BA300AAEC43 /* coded_stream.h */,
9FB6382A1A635BA300AAEC43 /* coded_stream_inl.h */,
9FB6382B1A635BA300AAEC43 /* zero_copy_stream.cc */,
9FB6382C1A635BA300AAEC43 /* zero_copy_stream.h */,
9FB6382D1A635BA300AAEC43 /* zero_copy_stream_impl.h */,
9FB6382E1A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc */,
9FB6382F1A635BA300AAEC43 /* zero_copy_stream_impl_lite.h */,
);
path = io;
sourceTree = "<group>";
};
9FB638341A635BA300AAEC43 /* stubs */ = {
isa = PBXGroup;
children = (
9FB638351A635BA300AAEC43 /* atomicops.h */,
9FB638361A635BA300AAEC43 /* atomicops_internals_arm_gcc.h */,
9FB638371A635BA300AAEC43 /* atomicops_internals_atomicword_compat.h */,
9FB638381A635BA300AAEC43 /* atomicops_internals_generic_gcc.h */,
9FB638391A635BA300AAEC43 /* atomicops_internals_macosx.h */,
9FB6383A1A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc */,
9FB6383B1A635BA300AAEC43 /* atomicops_internals_x86_gcc.h */,
9FB6383C1A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc */,
9FB6383D1A635BA300AAEC43 /* atomicops_internals_x86_msvc.h */,
9FB6383E1A635BA300AAEC43 /* common.cc */,
9FB6383F1A635BA300AAEC43 /* common.h */,
9FB638401A635BA300AAEC43 /* hash.h */,
9FB638411A635BA300AAEC43 /* map-util.h */,
9FB638421A635BA300AAEC43 /* once.cc */,
9FB638431A635BA300AAEC43 /* once.h */,
9FB638441A635BA300AAEC43 /* platform_macros.h */,
9FB638451A635BA300AAEC43 /* stl_util.h */,
9FB638461A635BA300AAEC43 /* stringprintf.cc */,
9FB638471A635BA300AAEC43 /* stringprintf.h */,
9FB638481A635BA300AAEC43 /* template_util.h */,
9FB638491A635BA300AAEC43 /* type_traits.h */,
);
path = stubs;
sourceTree = "<group>";
};
9FB6384D1A635BA300AAEC43 /* runtime */ = {
isa = PBXGroup;
children = (
9FB6384E1A635BA300AAEC43 /* ConfigParser.cpp */,
9FB6384F1A635BA300AAEC43 /* ConfigParser.h */,
9FB638501A635BA300AAEC43 /* ConnectWaitLayer.cpp */,
9FB638511A635BA300AAEC43 /* ConnectWaitLayer.h */,
9FB638521A635BA300AAEC43 /* ConsoleCommand.cpp */,
9FB638531A635BA300AAEC43 /* ConsoleCommand.h */,
9FB638541A635BA300AAEC43 /* FileServer.cpp */,
9FB638551A635BA300AAEC43 /* FileServer.h */,
9FB638561A635BA300AAEC43 /* Landscape_png.cpp */,
9FB638571A635BA300AAEC43 /* lua_debugger.c */,
9FB638581A635BA300AAEC43 /* lua_debugger.h */,
9FB638591A635BA300AAEC43 /* PlayDisable_png.cpp */,
9FB6385A1A635BA300AAEC43 /* PlayEnable_png.cpp */,
9FB6385B1A635BA300AAEC43 /* Portrait_png.cpp */,
9FB6385C1A635BA300AAEC43 /* Protos.pb.cc */,
9FB6385D1A635BA300AAEC43 /* Protos.pb.h */,
9FB6385E1A635BA300AAEC43 /* ResData.h */,
9FB6385F1A635BA300AAEC43 /* Runtime.cpp */,
9FB638601A635BA300AAEC43 /* Runtime.h */,
9F2F21CD1A63640B006B8BF1 /* StartCall.cpp */,
9F2F21CE1A63640B006B8BF1 /* StartCall.h */,
9F2F21B71A635F1C006B8BF1 /* RuntimeCCSImpl.cpp */,
9F2F21B81A635F1C006B8BF1 /* RuntimeCCSImpl.h */,
9F2F21B91A635F1C006B8BF1 /* RuntimeLuaImpl.cpp */,
9F2F21BA1A635F1C006B8BF1 /* RuntimeLuaImpl.h */,
9F2F21BB1A635F1C006B8BF1 /* RuntimeProtocol.cpp */,
9F2F21BC1A635F1C006B8BF1 /* RuntimeProtocol.h */,
9FB638611A635BA300AAEC43 /* Shine_png.cpp */,
9FB638621A635BA300AAEC43 /* VisibleRect.cpp */,
9FB638631A635BA300AAEC43 /* VisibleRect.h */,
);
path = runtime;
sourceTree = "<group>";
};
9FD6FC0D1A5D281D0028EDC6 /* lib */ = { 9FD6FC0D1A5D281D0028EDC6 /* lib */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
9FB6381F1A635BA300AAEC43 /* protobuf-lite */,
9FB6384D1A635BA300AAEC43 /* runtime */,
9FF504981A5EA75D00AFDA55 /* AppEvent.cpp */, 9FF504981A5EA75D00AFDA55 /* AppEvent.cpp */,
9FF504991A5EA75D00AFDA55 /* AppEvent.h */, 9FF504991A5EA75D00AFDA55 /* AppEvent.h */,
9FF5049A1A5EA75D00AFDA55 /* AppLang.cpp */, 9FF5049A1A5EA75D00AFDA55 /* AppLang.cpp */,
@ -205,6 +499,7 @@
9FD6FC141A5D281D0028EDC6 /* mac */ = { 9FD6FC141A5D281D0028EDC6 /* mac */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
9F2F21C61A635FFF006B8BF1 /* Runtime_ios-mac.mm */,
9FD6FC501A5D2A380028EDC6 /* DeviceEx-mac.mm */, 9FD6FC501A5D2A380028EDC6 /* DeviceEx-mac.mm */,
9FD6FC511A5D2A380028EDC6 /* openudid */, 9FD6FC511A5D2A380028EDC6 /* openudid */,
9FD6FC541A5D2A380028EDC6 /* PlayerEditBoxServiceMac.h */, 9FD6FC541A5D2A380028EDC6 /* PlayerEditBoxServiceMac.h */,
@ -253,28 +548,69 @@
9FD6FC331A5D281D0028EDC6 /* CCHTTPRequest.h in Headers */, 9FD6FC331A5D281D0028EDC6 /* CCHTTPRequest.h in Headers */,
9FD6FC631A5D2A380028EDC6 /* PlayerEditBoxServiceMac.h in Headers */, 9FD6FC631A5D2A380028EDC6 /* PlayerEditBoxServiceMac.h in Headers */,
9FD6FC341A5D281D0028EDC6 /* CCHTTPRequestDelegate.h in Headers */, 9FD6FC341A5D281D0028EDC6 /* CCHTTPRequestDelegate.h in Headers */,
9FB638BC1A635BA300AAEC43 /* VisibleRect.h in Headers */,
9FB638721A635BA300AAEC43 /* zero_copy_stream_impl.h in Headers */,
9FB638891A635BA300AAEC43 /* common.h in Headers */,
9FB6389C1A635BA300AAEC43 /* ConfigParser.h in Headers */,
9FB6387C1A635BA300AAEC43 /* atomicops.h in Headers */,
9FF504B21A5EA75D00AFDA55 /* PlayerEditBoxServiceProtocol.h in Headers */, 9FF504B21A5EA75D00AFDA55 /* PlayerEditBoxServiceProtocol.h in Headers */,
9FB638A21A635BA300AAEC43 /* ConsoleCommand.h in Headers */,
9FD6FC691A5D2A380028EDC6 /* PlayerMenuServiceMac.h in Headers */, 9FD6FC691A5D2A380028EDC6 /* PlayerMenuServiceMac.h in Headers */,
9FB638991A635BA300AAEC43 /* wire_format_lite_inl.h in Headers */,
9FF504C11A5EA75D00AFDA55 /* PlayerUtils.h in Headers */, 9FF504C11A5EA75D00AFDA55 /* PlayerUtils.h in Headers */,
9FB638951A635BA300AAEC43 /* type_traits.h in Headers */,
9FF504BB1A5EA75D00AFDA55 /* PlayerServiceProtocol.h in Headers */, 9FF504BB1A5EA75D00AFDA55 /* PlayerServiceProtocol.h in Headers */,
9FF504B01A5EA75D00AFDA55 /* AppLang.h in Headers */, 9FF504B01A5EA75D00AFDA55 /* AppLang.h in Headers */,
9FB638981A635BA300AAEC43 /* wire_format_lite.h in Headers */,
9FB638AA1A635BA300AAEC43 /* lua_debugger.h in Headers */,
9FB638801A635BA300AAEC43 /* atomicops_internals_macosx.h in Headers */,
9FF504B31A5EA75D00AFDA55 /* PlayerFileDialogServiceProtocol.h in Headers */, 9FF504B31A5EA75D00AFDA55 /* PlayerFileDialogServiceProtocol.h in Headers */,
9FB6386D1A635BA300AAEC43 /* coded_stream.h in Headers */,
9FB6387E1A635BA300AAEC43 /* atomicops_internals_atomicword_compat.h in Headers */,
9FB6389F1A635BA300AAEC43 /* ConnectWaitLayer.h in Headers */,
9FF504B71A5EA75D00AFDA55 /* PlayerMessageBoxServiceProtocol.h in Headers */, 9FF504B71A5EA75D00AFDA55 /* PlayerMessageBoxServiceProtocol.h in Headers */,
9FB638901A635BA300AAEC43 /* stl_util.h in Headers */,
9FD6FC6D1A5D2A380028EDC6 /* PlayerTaskServiceMac.h in Headers */, 9FD6FC6D1A5D2A380028EDC6 /* PlayerTaskServiceMac.h in Headers */,
9FB6387F1A635BA300AAEC43 /* atomicops_internals_generic_gcc.h in Headers */,
9FB638A51A635BA300AAEC43 /* FileServer.h in Headers */,
9FB638B71A635BA300AAEC43 /* Runtime.h in Headers */,
9FF504BD1A5EA75D00AFDA55 /* PlayerSettings.h in Headers */, 9FF504BD1A5EA75D00AFDA55 /* PlayerSettings.h in Headers */,
9FF504B61A5EA75D00AFDA55 /* PlayerMenuServiceProtocol.h in Headers */, 9FF504B61A5EA75D00AFDA55 /* PlayerMenuServiceProtocol.h in Headers */,
9F2F21D11A63640B006B8BF1 /* StartCall.h in Headers */,
9FD6FC361A5D281D0028EDC6 /* ProjectConfig.h in Headers */, 9FD6FC361A5D281D0028EDC6 /* ProjectConfig.h in Headers */,
9FB6386A1A635BA300AAEC43 /* generated_message_util.h in Headers */,
9FD6FC651A5D2A380028EDC6 /* PlayerFileDialogServiceMac.h in Headers */, 9FD6FC651A5D2A380028EDC6 /* PlayerFileDialogServiceMac.h in Headers */,
9FF504AE1A5EA75D00AFDA55 /* AppEvent.h in Headers */, 9FF504AE1A5EA75D00AFDA55 /* AppEvent.h in Headers */,
9FD6FC611A5D2A380028EDC6 /* OpenUDIDMac.h in Headers */, 9FD6FC611A5D2A380028EDC6 /* OpenUDIDMac.h in Headers */,
9FD6FC6B1A5D2A380028EDC6 /* PlayerMessageBoxServiceMac.h in Headers */, 9FD6FC6B1A5D2A380028EDC6 /* PlayerMessageBoxServiceMac.h in Headers */,
9FB638B41A635BA300AAEC43 /* ResData.h in Headers */,
9FF504B11A5EA75D00AFDA55 /* DeviceEx.h in Headers */, 9FF504B11A5EA75D00AFDA55 /* DeviceEx.h in Headers */,
9FB638931A635BA300AAEC43 /* stringprintf.h in Headers */,
9FB6388E1A635BA300AAEC43 /* once.h in Headers */,
9FD6FC671A5D2A380028EDC6 /* PlayerMac.h in Headers */, 9FD6FC671A5D2A380028EDC6 /* PlayerMac.h in Headers */,
9FB6386E1A635BA300AAEC43 /* coded_stream_inl.h in Headers */,
9F2F21BF1A635F1C006B8BF1 /* RuntimeCCSImpl.h in Headers */,
9FD6FC311A5D281D0028EDC6 /* cocos2dx_extra.h in Headers */, 9FD6FC311A5D281D0028EDC6 /* cocos2dx_extra.h in Headers */,
9FB6388F1A635BA300AAEC43 /* platform_macros.h in Headers */,
9FB638B31A635BA300AAEC43 /* Protos.pb.h in Headers */,
9FB638861A635BA300AAEC43 /* atomicops_internals_x86_msvc.h in Headers */,
9FB638671A635BA300AAEC43 /* extension_set.h in Headers */,
9FF504BF1A5EA75D00AFDA55 /* PlayerTaskServiceProtocol.h in Headers */, 9FF504BF1A5EA75D00AFDA55 /* PlayerTaskServiceProtocol.h in Headers */,
9FB6387D1A635BA300AAEC43 /* atomicops_internals_arm_gcc.h in Headers */,
9FB638641A635BA300AAEC43 /* config.h in Headers */,
9FF504B41A5EA75D00AFDA55 /* PlayerMacros.h in Headers */, 9FF504B41A5EA75D00AFDA55 /* PlayerMacros.h in Headers */,
9FB6388A1A635BA300AAEC43 /* hash.h in Headers */,
9FB638711A635BA300AAEC43 /* zero_copy_stream.h in Headers */,
9FB638781A635BA300AAEC43 /* message_lite.h in Headers */,
9FD6FC381A5D281D0028EDC6 /* SimulatorConfig.h in Headers */, 9FD6FC381A5D281D0028EDC6 /* SimulatorConfig.h in Headers */,
9FB6387B1A635BA300AAEC43 /* repeated_field.h in Headers */,
9FB6388B1A635BA300AAEC43 /* map-util.h in Headers */,
9FF504B91A5EA75D00AFDA55 /* PlayerProtocol.h in Headers */, 9FF504B91A5EA75D00AFDA55 /* PlayerProtocol.h in Headers */,
9FB638751A635BA300AAEC43 /* zero_copy_stream_impl_lite.h in Headers */,
9FB638941A635BA300AAEC43 /* template_util.h in Headers */,
9F2F21C51A635F1C006B8BF1 /* RuntimeProtocol.h in Headers */,
9F2F21C21A635F1C006B8BF1 /* RuntimeLuaImpl.h in Headers */,
9FB638831A635BA300AAEC43 /* atomicops_internals_x86_gcc.h in Headers */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -355,24 +691,55 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
9FB6389A1A635BA300AAEC43 /* ConfigParser.cpp in Sources */,
9FB638B81A635BA300AAEC43 /* Shine_png.cpp in Sources */,
9FB638B51A635BA300AAEC43 /* Runtime.cpp in Sources */,
9F2F21C01A635F1C006B8BF1 /* RuntimeLuaImpl.cpp in Sources */,
9FB638AB1A635BA300AAEC43 /* PlayDisable_png.cpp in Sources */,
9FB638651A635BA300AAEC43 /* extension_set.cc in Sources */,
9FD6FC6C1A5D2A380028EDC6 /* PlayerMessageBoxServiceMac.mm in Sources */, 9FD6FC6C1A5D2A380028EDC6 /* PlayerMessageBoxServiceMac.mm in Sources */,
9F2F21BD1A635F1C006B8BF1 /* RuntimeCCSImpl.cpp in Sources */,
9FB638AD1A635BA300AAEC43 /* PlayEnable_png.cpp in Sources */,
9FB6389D1A635BA300AAEC43 /* ConnectWaitLayer.cpp in Sources */,
9F2F21C31A635F1C006B8BF1 /* RuntimeProtocol.cpp in Sources */,
9FB638811A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc in Sources */,
9FB638B11A635BA300AAEC43 /* Protos.pb.cc in Sources */,
9FF504C01A5EA75D00AFDA55 /* PlayerUtils.cpp in Sources */, 9FF504C01A5EA75D00AFDA55 /* PlayerUtils.cpp in Sources */,
9FB638A31A635BA300AAEC43 /* FileServer.cpp in Sources */,
9FB638911A635BA300AAEC43 /* stringprintf.cc in Sources */,
9FF504BE1A5EA75D00AFDA55 /* PlayerTaskServiceProtocol.cpp in Sources */, 9FF504BE1A5EA75D00AFDA55 /* PlayerTaskServiceProtocol.cpp in Sources */,
9FB638731A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc in Sources */,
9FF504BC1A5EA75D00AFDA55 /* PlayerSettings.cpp in Sources */, 9FF504BC1A5EA75D00AFDA55 /* PlayerSettings.cpp in Sources */,
9FF504AF1A5EA75D00AFDA55 /* AppLang.cpp in Sources */, 9FF504AF1A5EA75D00AFDA55 /* AppLang.cpp in Sources */,
9FB638AF1A635BA300AAEC43 /* Portrait_png.cpp in Sources */,
9FD6FC681A5D2A380028EDC6 /* PlayerMac.mm in Sources */, 9FD6FC681A5D2A380028EDC6 /* PlayerMac.mm in Sources */,
9FD6FC6A1A5D2A380028EDC6 /* PlayerMenuServiceMac.mm in Sources */, 9FD6FC6A1A5D2A380028EDC6 /* PlayerMenuServiceMac.mm in Sources */,
9FD6FC641A5D2A380028EDC6 /* PlayerEditBoxServiceMac.mm in Sources */, 9FD6FC641A5D2A380028EDC6 /* PlayerEditBoxServiceMac.mm in Sources */,
9FB638761A635BA300AAEC43 /* message_lite.cc in Sources */,
9F2F21C71A635FFF006B8BF1 /* Runtime_ios-mac.mm in Sources */,
9FB6386B1A635BA300AAEC43 /* coded_stream.cc in Sources */,
9FF504B51A5EA75D00AFDA55 /* PlayerMenuServiceProtocol.cpp in Sources */, 9FF504B51A5EA75D00AFDA55 /* PlayerMenuServiceProtocol.cpp in Sources */,
9F2F21CF1A63640B006B8BF1 /* StartCall.cpp in Sources */,
9FF504AD1A5EA75D00AFDA55 /* AppEvent.cpp in Sources */, 9FF504AD1A5EA75D00AFDA55 /* AppEvent.cpp in Sources */,
9FB638A61A635BA300AAEC43 /* Landscape_png.cpp in Sources */,
9FD6FC601A5D2A380028EDC6 /* DeviceEx-mac.mm in Sources */, 9FD6FC601A5D2A380028EDC6 /* DeviceEx-mac.mm in Sources */,
9FB638A81A635BA300AAEC43 /* lua_debugger.c in Sources */,
9FD6FC661A5D2A380028EDC6 /* PlayerFileDialogServiceMac.mm in Sources */, 9FD6FC661A5D2A380028EDC6 /* PlayerFileDialogServiceMac.mm in Sources */,
9FB638BA1A635BA300AAEC43 /* VisibleRect.cpp in Sources */,
9FD6FC371A5D281D0028EDC6 /* SimulatorConfig.cpp in Sources */, 9FD6FC371A5D281D0028EDC6 /* SimulatorConfig.cpp in Sources */,
9FB638961A635BA300AAEC43 /* wire_format_lite.cc in Sources */,
9FB6388C1A635BA300AAEC43 /* once.cc in Sources */,
9FB638841A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc in Sources */,
9FF504BA1A5EA75D00AFDA55 /* PlayerServiceProtocol.cpp in Sources */, 9FF504BA1A5EA75D00AFDA55 /* PlayerServiceProtocol.cpp in Sources */,
9FD6FC6E1A5D2A380028EDC6 /* PlayerTaskServiceMac.mm in Sources */, 9FD6FC6E1A5D2A380028EDC6 /* PlayerTaskServiceMac.mm in Sources */,
9FB638A01A635BA300AAEC43 /* ConsoleCommand.cpp in Sources */,
9FD6FC321A5D281D0028EDC6 /* CCHTTPRequest.cpp in Sources */, 9FD6FC321A5D281D0028EDC6 /* CCHTTPRequest.cpp in Sources */,
9FB638871A635BA300AAEC43 /* common.cc in Sources */,
9FB638681A635BA300AAEC43 /* generated_message_util.cc in Sources */,
9FB6386F1A635BA300AAEC43 /* zero_copy_stream.cc in Sources */,
9FD6FC351A5D281D0028EDC6 /* ProjectConfig.cpp in Sources */, 9FD6FC351A5D281D0028EDC6 /* ProjectConfig.cpp in Sources */,
9FD6FC621A5D2A380028EDC6 /* OpenUDIDMac.m in Sources */, 9FD6FC621A5D2A380028EDC6 /* OpenUDIDMac.m in Sources */,
9FB638791A635BA300AAEC43 /* repeated_field.cc in Sources */,
9FF504B81A5EA75D00AFDA55 /* PlayerProtocol.cpp in Sources */, 9FF504B81A5EA75D00AFDA55 /* PlayerProtocol.cpp in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
@ -382,7 +749,38 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
9FD6FC4F1A5D28260028EDC6 /* SimulatorConfig.cpp in Sources */, 9FD6FC4F1A5D28260028EDC6 /* SimulatorConfig.cpp in Sources */,
9FB638A11A635BA300AAEC43 /* ConsoleCommand.cpp in Sources */,
9FB638AE1A635BA300AAEC43 /* PlayEnable_png.cpp in Sources */,
9FB638741A635BA300AAEC43 /* zero_copy_stream_impl_lite.cc in Sources */,
9FB638691A635BA300AAEC43 /* generated_message_util.cc in Sources */,
9FB638AC1A635BA300AAEC43 /* PlayDisable_png.cpp in Sources */,
9F2F21C81A635FFF006B8BF1 /* Runtime_ios-mac.mm in Sources */,
9FB6389E1A635BA300AAEC43 /* ConnectWaitLayer.cpp in Sources */,
9FB638701A635BA300AAEC43 /* zero_copy_stream.cc in Sources */,
9FB638B21A635BA300AAEC43 /* Protos.pb.cc in Sources */,
9FB6389B1A635BA300AAEC43 /* ConfigParser.cpp in Sources */,
9FB638B61A635BA300AAEC43 /* Runtime.cpp in Sources */,
9FB6386C1A635BA300AAEC43 /* coded_stream.cc in Sources */,
9FB638BB1A635BA300AAEC43 /* VisibleRect.cpp in Sources */,
9F2F21C41A635F1C006B8BF1 /* RuntimeProtocol.cpp in Sources */,
9FB638771A635BA300AAEC43 /* message_lite.cc in Sources */,
9FB638881A635BA300AAEC43 /* common.cc in Sources */,
9FB638B91A635BA300AAEC43 /* Shine_png.cpp in Sources */,
9FB638A41A635BA300AAEC43 /* FileServer.cpp in Sources */,
9FB638661A635BA300AAEC43 /* extension_set.cc in Sources */,
9FB638821A635BA300AAEC43 /* atomicops_internals_x86_gcc.cc in Sources */,
9FB6388D1A635BA300AAEC43 /* once.cc in Sources */,
9FB6387A1A635BA300AAEC43 /* repeated_field.cc in Sources */,
9FB638A91A635BA300AAEC43 /* lua_debugger.c in Sources */,
9FB638B01A635BA300AAEC43 /* Portrait_png.cpp in Sources */,
9FD6FC4E1A5D28260028EDC6 /* ProjectConfig.cpp in Sources */, 9FD6FC4E1A5D28260028EDC6 /* ProjectConfig.cpp in Sources */,
9FB638851A635BA300AAEC43 /* atomicops_internals_x86_msvc.cc in Sources */,
9F2F21BE1A635F1C006B8BF1 /* RuntimeCCSImpl.cpp in Sources */,
9FB638A71A635BA300AAEC43 /* Landscape_png.cpp in Sources */,
9FB638921A635BA300AAEC43 /* stringprintf.cc in Sources */,
9F2F21D01A63640B006B8BF1 /* StartCall.cpp in Sources */,
9FB638971A635BA300AAEC43 /* wire_format_lite.cc in Sources */,
9F2F21C11A635F1C006B8BF1 /* RuntimeLuaImpl.cpp in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -496,6 +894,7 @@
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../../../../external/glfw3/include/mac", "$(SRCROOT)/../../../../external/glfw3/include/mac",
"$(SRCROOT)/../lib", "$(SRCROOT)/../lib",
"$(SRCROOT)/../lib/protobuf-lite",
); );
INFOPLIST_PREFIX_HEADER = ""; INFOPLIST_PREFIX_HEADER = "";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
@ -523,6 +922,7 @@
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../../../../external/glfw3/include/mac", "$(SRCROOT)/../../../../external/glfw3/include/mac",
"$(SRCROOT)/../lib", "$(SRCROOT)/../lib",
"$(SRCROOT)/../lib/protobuf-lite",
); );
INFOPLIST_PREFIX_HEADER = ""; INFOPLIST_PREFIX_HEADER = "";
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
@ -533,6 +933,8 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES; ALWAYS_SEARCH_USER_PATHS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios/Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
CC_TARGET_OS_IPHONE, CC_TARGET_OS_IPHONE,
"$(inherited)", "$(inherited)",
@ -541,6 +943,7 @@
"$(inherited)", "$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../lib/", "$(SRCROOT)/../lib/",
"$(SRCROOT)/../lib/protobuf-lite",
); );
IPHONEOS_DEPLOYMENT_TARGET = 8.1; IPHONEOS_DEPLOYMENT_TARGET = 8.1;
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";
@ -554,6 +957,8 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = YES; ALWAYS_SEARCH_USER_PATHS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ios/Prefix.pch;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)", "$(inherited)",
CC_TARGET_OS_IPHONE, CC_TARGET_OS_IPHONE,
@ -562,6 +967,7 @@
"$(inherited)", "$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/../lib/", "$(SRCROOT)/../lib/",
"$(SRCROOT)/../lib/protobuf-lite",
); );
IPHONEOS_DEPLOYMENT_TARGET = 8.1; IPHONEOS_DEPLOYMENT_TARGET = 8.1;
OTHER_LDFLAGS = "-ObjC"; OTHER_LDFLAGS = "-ObjC";