mirror of https://github.com/axmolengine/axmol.git
add config item
This commit is contained in:
parent
eaa879a9f3
commit
45d8547622
|
@ -512,7 +512,10 @@ void TestController::autorun()
|
||||||
strcpy(cmd, tmp.c_str());
|
strcpy(cmd, tmp.c_str());
|
||||||
wait(3);
|
wait(3);
|
||||||
send(sfd,cmd,strlen(cmd),0);
|
send(sfd,cmd,strlen(cmd),0);
|
||||||
wait(3600);
|
while(true)
|
||||||
|
{
|
||||||
|
wait(1);
|
||||||
|
}
|
||||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
|
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_WP8)
|
||||||
closesocket(sfd);
|
closesocket(sfd);
|
||||||
WSACleanup();
|
WSACleanup();
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
<string>rgba8888</string>
|
<string>rgba8888</string>
|
||||||
<key>cocos2d.x.texture.pvrv2_has_alpha_premultiplied</key>
|
<key>cocos2d.x.texture.pvrv2_has_alpha_premultiplied</key>
|
||||||
<false/>
|
<false/>
|
||||||
|
<key>cocos2d.x.testcpp.autorun</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>metadata</key>
|
<key>metadata</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
|
Loading…
Reference in New Issue