91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 16.24M
    文件類(lèi)型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-06-26
  • 語(yǔ)言: 其他
  • 標(biāo)簽: 其他??

資源簡(jiǎn)介

歡樂(lè)麻將游戲源碼.rar

資源截圖

代碼片段和文件信息

#include?“AppDelegate.h“
#include?“AppMacros.h“

#include?“cocos2d.h“
#include?“SimpleAudioEngine.h“
#include?“Scene/LoadingScene.h“
#include?“Scene/GameScene.h“
#include?“Common/ConstantDef.h“
USING_NS_CC;

int??AppDelegate::cur_scene_flag?=?cur_scene_valid;
CClayer*?AppDelegate::g_player?=?NULL;

AppDelegate::AppDelegate()
{

}

AppDelegate::~AppDelegate()
{
}

bool?AppDelegate::applicationDidFinishLaunching()
{
//?initialize?director
CCDirector*?pDirector?=?CCDirector::sharedDirector();
CCEGLView*?pEGLView?=?CCEGLView::sharedOpenGLView();
pDirector->setOpenGLView(pEGLView);

CCSize?frameSize?=?pEGLView->getframeSize();
CCLOG(“ScreenSize?width:%f?height:%f“?frameSize.width?frameSize.height);

#if?(SCREEN_ORIENTATION?==?SCREEN_ORIENTATION_LANDSCAPE) //?橫屏
float?frameScale?=?frameSize.width/frameSize.height;
#elif?(SCREEN_ORIENTATION?==?SCREEN_ORIENTATION_PORTRAIT) //?豎屏
float?frameScale?=?frameSize.height/frameSize.width;
#else
#error?unknown?target?ORIENTATION!
#endif

if(?frameScale? {
//?Set?the?design?resolution
pEGLView->setDesignResolutionSize(designResolutionSize.width?designResolutionSize.height?kResolutionShowAll);
}
else
{
//?Set?the?design?resolution
pEGLView->setDesignResolutionSize(designResolutionSize.width?designResolutionSize.height?kResolutionNoBorder);
}


//use?fixed?resource
float?fScale?=?MIN(designResolutionRes.size.width/designResolutionSize.width?designResolutionRes.size.height/designResolutionSize.height);
// CCFileUtils::sharedFileUtils()->setResourceDirectory(designResolutionRes.directory);
pDirector->setContentScaleFactor(fScale);
CCLOG(“setContentScaleFactor?fscale:?%f?res.size(%f?%f)?deSize(%f?%f)“?fScale?designResolutionRes.size.width?designResolutionRes.size.height?designResolutionSize.width?designResolutionSize.height);

//?turn?on?display?FPS???lyp?取消幀率
//pDirector->setDisplayStats(true);

//?set?FPS.?the?default?value?is?1.0/60?if?you?don‘t?call?this??lyp?取消幀率
//pDirector->setAnimationInterval(1.0?/?50);

//?create?a?scene.?it‘s?an?autorelease?object
// CCScene*?pScene?=?CSceneInit::scene();
// CCScene*?pScene?=?SceneLogo::scene();
CCScene*?pScene?=?LoadingScene::scene(TargetSceneMainScene);

//?run
pDirector->runWithScene(pScene);

????return?true;
}

//?This?function?will?be?called?when?the?app?is?inactive.?When?comes?a?phone?callit‘s?be?invoked?too
void?AppDelegate::applicationDidEnterBackground()?{
CCDirector::sharedDirector()->stopAnimation();

//?if?you?use?SimpleAudioEngine?it?must?be?pause
//?SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();
//?if?you?use?SimpleAudioEngine?it?must?be?pause
CocosDenshion::SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();
CocosDenshion::SimpleAudioEngine::sharedEngine()->pauseAllEffects();
}

//?this?function?will?be?called?when?the?app?is?active?again
void?AppDelegate::ap

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件???????1154??2015-12-20?11:14??歡樂(lè)麻將游戲源碼\JavaApk源碼說(shuō)明.txt

?????文件????????203??2015-06-03?23:55??歡樂(lè)麻將游戲源碼\下載更多打包源碼~.url

?????文件?????????28??2015-06-21?15:24??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\www.yxkfw.com?手機(jī)游戲源碼下載.txt

?????文件???????3258??2014-07-09?14:50??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\AppDelegate.cpp

?????文件???????1110??2014-07-08?21:34??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\AppDelegate.h

?????文件???????4394??2014-06-22?18:33??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\AppMacros.cpp

?????文件???????2862??2014-01-08?11:06??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\AppMacros.h

?????文件???????2012??2014-07-08?21:55??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\CallJni.cpp

?????文件????????482??2014-07-08?21:38??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\CallJni.h

?????文件??????97038??2014-07-06?09:41??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\CommonFunction.cpp

?????文件???????8102??2014-06-27?15:31??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\CommonFunction.h

?????文件??????60029??2014-06-30?09:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\ConstantDef.h

?????文件???????9410??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\md5.cpp

?????文件???????1396??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\md5.h

?????文件??????14310??2014-01-07?09:43??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\MyTinyxmlParser.cpp

?????文件????????840??2014-01-06?17:49??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Common\MyTinyxmlParser.h

?????文件????????219??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Entity\DeskEntity.cpp

?????文件????????820??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\Entity\DeskEntity.h

?????文件??????30472??2014-01-03?14:01??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\AI\Robot.cpp

?????文件???????3358??2014-01-03?12:13??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\AI\Robot.h

?????文件???????8537??2014-01-03?15:15??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\ClientCommon.h

?????文件???????4811??2014-01-03?15:15??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\ClientframeDefs.h

?????文件??????13268??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\ClientMjDefs.h

?????文件???????1977??2014-01-03?15:15??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\ClientScoreDefs.h

?????文件?????190666??2014-01-03?12:09??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\GameLogical.cpp

?????文件??????15752??2014-01-03?12:08??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\GameLogical.h

?????文件??????11356??2014-06-27?22:16??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\MjDef.h

?????文件???????1014??2013-08-09?15:20??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\RuleGen\RuleDef.h

?????文件???????6018??2014-01-03?12:09??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\ServerframeDefs.h

?????文件????????706??2014-01-02?16:52??歡樂(lè)麻將游戲源碼\歡樂(lè)麻將\xzmj2\Classes\GameCore\TypeDef.h

............此處省略627個(gè)文件信息

評(píng)論

共有 條評(píng)論