SkyLayer::SkyLayer() { bool bRet = false; do { CC_BREAK_IF(! SkyLayer::init()); initSky(); bRet = true; } while(0); //return bRet; }
void PTGScene::init() { for (int i = 0; i < 255; i++) keys[i] = false; mb.lb = 0; mb.rb = 0; pEng->init(); initCams(); initMaterias(); initTerrain(); initSky(); initTrees(); initBots(); INITBATMOBILE(); //!!!!!!!!!!! OLOLOL pPlayer = new PTGPlayer(this); dt = timeGetTime(); tt = dt; }