add config item

This commit is contained in:
heliclei 2014-05-13 14:16:06 +08:00
parent eaa879a9f3
commit 45d8547622
2 changed files with 6 additions and 1 deletions

View File

@ -512,7 +512,10 @@ void TestController::autorun()
strcpy(cmd, tmp.c_str());
wait(3);
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)
closesocket(sfd);
WSACleanup();

View File

@ -14,6 +14,8 @@
<string>rgba8888</string>
<key>cocos2d.x.texture.pvrv2_has_alpha_premultiplied</key>
<false/>
<key>cocos2d.x.testcpp.autorun</key>
<true/>
</dict>
<key>metadata</key>
<dict>