├── Classes ├── AppDelegate.cpp ├── AppDelegate.h ├── AppMacros.h ├── GlobalData │ ├── AudioEngine.cpp │ ├── AudioEngine.h │ ├── GlobalData.cpp │ └── GlobalData.h ├── HelloWorldScene.cpp ├── HelloWorldScene.h ├── LoadingScene │ ├── LoadingScene.cpp │ └── LoadingScene.h ├── MenuScene │ ├── MenuScene.cpp │ └── MenuScene.h ├── SingleGame │ ├── LeftRobot.cpp │ ├── LeftRobot.h │ ├── PlayerLayer.cpp │ ├── PlayerLayer.h │ ├── RightRobot.cpp │ ├── RightRobot.h │ ├── ShowCardNumLayer.cpp │ ├── ShowCardNumLayer.h │ ├── SingleGame.cpp │ ├── SingleGame.h │ ├── diZhuWin.cpp │ ├── diZhuWin.h │ ├── nongMingWin.cpp │ └── nongMingWin.h └── ttt │ ├── AICardLayer.cpp │ ├── AICardLayer.h │ ├── LeftRobot.cpp │ ├── LeftRobot.h │ ├── PlayerCardLayer.cpp │ ├── PlayerCardLayer.h │ ├── RightRobot.cpp │ └── RightRobot.h ├── Resources ├── btn │ ├── 11.png │ ├── 110.png │ ├── 111.png │ ├── 112.png │ ├── 113.png │ ├── 12.png │ ├── 13.png │ ├── 14.png │ ├── 15.png │ ├── 16.png │ ├── 17.png │ ├── 18.png │ ├── 19.png │ ├── 21.png │ ├── 210.png │ ├── 211.png │ ├── 212.png │ ├── 213.png │ ├── 22.png │ ├── 23.png │ ├── 24.png │ ├── 25.png │ ├── 26.png │ ├── 27.png │ ├── 28.png │ ├── 29.png │ ├── 31.png │ ├── 310.png │ ├── 311.png │ ├── 312.png │ ├── 313.png │ ├── 32.png │ ├── 33.png │ ├── 34.png │ ├── 35.png │ ├── 36.png │ ├── 37.png │ ├── 38.png │ ├── 39.png │ ├── 41.png │ ├── 410.png │ ├── 411.png │ ├── 412.png │ ├── 413.png │ ├── 42.png │ ├── 43.png │ ├── 44.png │ ├── 45.png │ ├── 46.png │ ├── 47.png │ ├── 48.png │ ├── 49.png │ ├── 51.png │ ├── 52.png │ ├── back.png │ ├── bg1.png │ ├── bg2.png │ ├── bg3.png │ ├── bg4.png │ ├── bg5.png │ ├── cardbg.png │ ├── cresult_backbtn.png │ ├── cresult_backbtn_touched.png │ ├── dawang.png │ ├── dialogbtn.png │ ├── dialogbtn_touched.png │ ├── fire.png │ ├── logo.png │ ├── menubg1.png │ ├── menubg2.png │ ├── poke_back_small.png │ ├── quit.png │ ├── redbutton.png │ ├── redbutton_touched.png │ ├── startbtn_normal.png │ ├── startbtn_normal1 .png │ ├── startbtn_touched.png │ ├── startbtn_touched1.png │ ├── test.png │ ├── text_bj.png │ ├── text_bq.png │ ├── text_chujichang.png │ ├── text_cue.png │ ├── text_dizhu_lose.png │ ├── text_dizhu_win.png │ ├── text_gaojichang.png │ ├── text_jdz.png │ ├── text_level_down.png │ ├── text_level_up.png │ ├── text_nobigcard.png │ ├── text_nongmin_lose.png │ ├── text_nongmin_win.png │ ├── text_out.png │ ├── text_pass.png │ ├── text_qdz.png │ ├── text_ready.png │ ├── text_repick.png │ ├── text_sendcard.png │ ├── text_start.png │ ├── text_today_task.png │ ├── text_zhongjichang.png │ ├── timerdigits2.png │ ├── tips_100wan.png │ ├── tips_10wan.png │ ├── tips_bg.png │ ├── today_task.png │ ├── uncheck.png │ ├── xiaowang.png │ └── xiaowang_big.png ├── ipad │ ├── CloseNormal.png │ ├── CloseSelected.png │ ├── HelloWorld.png │ └── logo.png ├── ipadhd │ ├── CloseNormal.png │ ├── CloseSelected.png │ ├── HelloWorld.png │ └── logo.png ├── iphone │ ├── CloseNormal.png │ ├── CloseSelected.png │ ├── HelloWorld.png │ └── logo.png └── sounds │ ├── 0.mp3 │ ├── Man_1.ogg │ ├── Man_10.ogg │ ├── Man_11.ogg │ ├── Man_12.ogg │ ├── Man_13.ogg │ ├── Man_14.ogg │ ├── Man_15.ogg │ ├── Man_2.ogg │ ├── Man_3.ogg │ ├── Man_4.ogg │ ├── Man_5.ogg │ ├── Man_6.ogg │ ├── Man_7.ogg │ ├── Man_8.ogg │ ├── Man_9.ogg │ ├── Man_NoOrder.ogg │ ├── Man_NoRob.ogg │ ├── Man_Order.ogg │ ├── Man_Rob1.ogg │ ├── Man_Rob2.ogg │ ├── Man_Rob3.ogg │ ├── Man_Share.ogg │ ├── Man_baojing1.ogg │ ├── Man_baojing2.ogg │ ├── Man_bujiabei.ogg │ ├── Man_buyao1.ogg │ ├── Man_buyao2.ogg │ ├── Man_buyao3.ogg │ ├── Man_buyao4.ogg │ ├── Man_dani1.ogg │ ├── Man_dani2.ogg │ ├── Man_dani3.ogg │ ├── Man_dui1.ogg │ ├── Man_dui10.ogg │ ├── Man_dui11.ogg │ ├── Man_dui12.ogg │ ├── Man_dui13.ogg │ ├── Man_dui2.ogg │ ├── Man_dui3.ogg │ ├── Man_dui4.ogg │ ├── Man_dui5.ogg │ ├── Man_dui6.ogg │ ├── Man_dui7.ogg │ ├── Man_dui8.ogg │ ├── Man_dui9.ogg │ ├── Man_feiji.ogg │ ├── Man_jiabei.ogg │ ├── Man_liandui.ogg │ ├── Man_sandaiyi.ogg │ ├── Man_sandaiyidui.ogg │ ├── Man_shunzi.ogg │ ├── Man_sidaier.ogg │ ├── Man_sidailiangdui.ogg │ ├── Man_tuple1.ogg │ ├── Man_tuple10.ogg │ ├── Man_tuple11.ogg │ ├── Man_tuple12.ogg │ ├── Man_tuple13.ogg │ ├── Man_tuple2.ogg │ ├── Man_tuple3.ogg │ ├── Man_tuple4.ogg │ ├── Man_tuple5.ogg │ ├── Man_tuple6.ogg │ ├── Man_tuple7.ogg │ ├── Man_tuple8.ogg │ ├── Man_tuple9.ogg │ ├── Man_wangzha.ogg │ ├── Man_zhadan.ogg │ ├── MusicEx_Exciting.ogg │ ├── MusicEx_Lose.ogg │ ├── MusicEx_Normal.ogg │ ├── MusicEx_Normal2.ogg │ ├── MusicEx_Welcome.ogg │ ├── MusicEx_Win.ogg │ ├── SpecBeanChanged.ogg │ ├── SpecBeanFly.ogg │ ├── SpecBeanLess.ogg │ ├── SpecBeanMore.ogg │ ├── SpecCancelOrReturn.ogg │ ├── SpecDisable.ogg │ ├── SpecOk.ogg │ ├── SpecSelectCard.ogg │ ├── SpecSysReturnFail.ogg │ ├── SpecSysReturnOk.ogg │ ├── SpecTakePhoto.ogg │ ├── Special_Bomb.ogg │ ├── Special_Dispatch.ogg │ ├── Special_Escape.ogg │ ├── Special_Multiply.ogg │ ├── Special_Remind.ogg │ ├── Special_alert.ogg │ ├── Special_flower.ogg │ ├── Special_give.ogg │ ├── Special_menu.ogg │ ├── Special_plane.ogg │ ├── Special_star.ogg │ ├── Woman_1.ogg │ ├── Woman_10.ogg │ ├── Woman_11.ogg │ ├── Woman_12.ogg │ ├── Woman_13.ogg │ ├── Woman_14.ogg │ ├── Woman_15.ogg │ ├── Woman_2.ogg │ ├── Woman_3.ogg │ ├── Woman_4.ogg │ ├── Woman_5.ogg │ ├── Woman_6.ogg │ ├── Woman_7.ogg │ ├── Woman_8.ogg │ ├── Woman_9.ogg │ ├── Woman_NoOrder.ogg │ ├── Woman_NoRob.ogg │ ├── Woman_Order.ogg │ ├── Woman_Rob1.ogg │ ├── Woman_Rob2.ogg │ ├── Woman_Rob3.ogg │ ├── Woman_Share.ogg │ ├── Woman_baojing1.ogg │ ├── Woman_baojing2.ogg │ ├── Woman_bujiabei.ogg │ ├── Woman_buyao1.ogg │ ├── Woman_buyao2.ogg │ ├── Woman_buyao3.ogg │ ├── Woman_buyao4.ogg │ ├── Woman_dani1.ogg │ ├── Woman_dani2.ogg │ ├── Woman_dani3.ogg │ ├── Woman_dui1.ogg │ ├── Woman_dui10.ogg │ ├── Woman_dui11.ogg │ ├── Woman_dui12.ogg │ ├── Woman_dui13.ogg │ ├── Woman_dui2.ogg │ ├── Woman_dui3.ogg │ ├── Woman_dui4.ogg │ ├── Woman_dui5.ogg │ ├── Woman_dui6.ogg │ ├── Woman_dui7.ogg │ ├── Woman_dui8.ogg │ ├── Woman_dui9.ogg │ ├── Woman_feiji.ogg │ ├── Woman_jiabei.ogg │ ├── Woman_liandui.ogg │ ├── Woman_sandaiyi.ogg │ ├── Woman_sandaiyidui.ogg │ ├── Woman_shunzi.ogg │ ├── Woman_sidaier.ogg │ ├── Woman_sidailiangdui.ogg │ ├── Woman_tuple1.ogg │ ├── Woman_tuple10.ogg │ ├── Woman_tuple11.ogg │ ├── Woman_tuple12.ogg │ ├── Woman_tuple13.ogg │ ├── Woman_tuple2.ogg │ ├── Woman_tuple3.ogg │ ├── Woman_tuple4.ogg │ ├── Woman_tuple5.ogg │ ├── Woman_tuple6.ogg │ ├── Woman_tuple7.ogg │ ├── Woman_tuple8.ogg │ ├── Woman_tuple9.ogg │ ├── Woman_wangzha.ogg │ └── Woman_zhadan.ogg ├── proj.android ├── .classpath ├── .cproject ├── .project ├── AndroidManifest.xml ├── README.md ├── ant.properties ├── build.xml ├── build_native.sh ├── jni │ ├── Android.mk │ ├── Application.mk │ └── hellocpp │ │ └── main.cpp ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── icon.png │ ├── drawable-ldpi │ │ └── icon.png │ ├── drawable-mdpi │ │ └── icon.png │ └── values │ │ └── strings.xml └── src │ └── com │ └── game │ └── doudizhu │ └── doudizhu.java ├── proj.blackberry ├── .cproject ├── .project ├── bar-descriptor.xml ├── empty │ └── empty ├── icon.png └── main.cpp ├── proj.ios ├── AppController.h ├── AppController.mm ├── Default-568h@2x.png ├── Default.png ├── Default@2x.png ├── Icon-114.png ├── Icon-120.png ├── Icon-144.png ├── Icon-152.png ├── Icon-57.png ├── Icon-72.png ├── Icon-76.png ├── Info.plist ├── Prefix.pch ├── RootViewController.h ├── RootViewController.mm ├── doudizhu.xcodeproj │ └── project.pbxproj └── main.m ├── proj.linux ├── .cproject ├── .project ├── Makefile ├── build.sh └── main.cpp ├── proj.mac ├── AppController.h ├── AppController.mm ├── Icon.icns ├── Info.plist ├── Prefix.pch ├── doudizhu.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── hushencheng.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── hushencheng.xcuserdatad │ │ └── xcschemes │ │ ├── doudizhu.xcscheme │ │ └── xcschememanagement.plist ├── en.lproj │ ├── InfoPlist.strings │ └── MainMenu.xib └── main.m ├── proj.marmalade ├── doudizhu.mkb └── src │ ├── Main.cpp │ └── Main.h ├── proj.tizen ├── .cproject ├── .project ├── README.mdown ├── data │ └── .gitkeep ├── inc │ └── .gitkeep ├── lib │ └── .gitkeep ├── manifest.xml ├── res │ └── .gitkeep ├── shared │ ├── data │ │ └── .gitkeep │ ├── res │ │ └── screen-density-xhigh │ │ │ └── mainmenu.png │ └── trusted │ │ └── .gitkeep └── src │ └── HelloCppEntry.cpp ├── proj.win32 ├── doudizhu.sln ├── doudizhu.vcxproj ├── doudizhu.vcxproj.filters ├── doudizhu.vcxproj.user ├── main.cpp └── main.h ├── proj.winrt ├── App.xaml ├── App.xaml.cpp ├── App.xaml.h ├── Assets │ ├── Logo.png │ ├── SmallLogo.png │ ├── SplashScreen.png │ ├── StoreLogo.png │ └── WideLogo.png ├── Common │ └── StandardStyles.xaml ├── MainPage.xaml ├── MainPage.xaml.cpp ├── MainPage.xaml.h ├── Package.appxmanifest ├── Package_2013.appxmanifest ├── TemporaryKey.pfx ├── doudizhu.sln ├── doudizhu.vcxproj ├── doudizhu.vcxproj.filters ├── doudizhu_2013.sln ├── doudizhu_2013.vcxproj ├── doudizhu_2013.vcxproj.filters ├── pch.cpp └── pch.h ├── proj.wp8-xaml ├── doudizhu.sln └── doudizhu │ ├── doudizhu │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── AlignmentGrid.png │ │ ├── ApplicationIcon.png │ │ └── Tiles │ │ │ ├── FlipCycleTileLarge.png │ │ │ ├── FlipCycleTileMedium.png │ │ │ ├── FlipCycleTileSmall.png │ │ │ ├── IconicTileMediumLarge.png │ │ │ └── IconicTileSmall.png │ ├── EditBox.xaml │ ├── EditBox.xaml.cs │ ├── LocalizedStrings.cs │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Properties │ │ ├── AppManifest.xml │ │ ├── AssemblyInfo.cs │ │ └── WMAppManifest.xml │ ├── Resources │ │ ├── AppResources.Designer.cs │ │ └── AppResources.resx │ ├── SplashScreenImage.jpg │ ├── doudizhu.csproj │ └── doudizhu.csproj.user │ └── doudizhuComponent │ ├── doudizhuComponent.vcxproj │ └── doudizhuComponent.vcxproj.filters └── proj.wp8 ├── Assets ├── AlignmentGrid.png ├── ApplicationIcon.png └── Tiles │ ├── FlipCycleTileLarge.png │ ├── FlipCycleTileMedium.png │ ├── FlipCycleTileSmall.png │ ├── IconicTileMediumLarge.png │ └── IconicTileSmall.png ├── WMAppManifest.xml ├── doudizhu.cpp ├── doudizhu.h ├── doudizhu.sln ├── doudizhu.vcxproj └── doudizhu.vcxproj.filters /Classes/AppDelegate.cpp: -------------------------------------------------------------------------------- 1 | #include "cocos2d.h" 2 | #include "CCEGLView.h" 3 | #include "AppDelegate.h" 4 | #include "HelloWorldScene.h" 5 | #include "SimpleAudioEngine.h" 6 | #include "LoadingScene.h" 7 | #include "SingleGame.h" 8 | 9 | using namespace CocosDenshion; 10 | 11 | USING_NS_CC; 12 | 13 | AppDelegate::AppDelegate() 14 | { 15 | } 16 | 17 | AppDelegate::~AppDelegate() 18 | { 19 | SimpleAudioEngine::end(); 20 | } 21 | 22 | bool AppDelegate::applicationDidFinishLaunching() 23 | { 24 | // initialize director 25 | CCDirector *pDirector = CCDirector::sharedDirector(); 26 | pDirector->setOpenGLView(CCEGLView::sharedOpenGLView()); 27 | 28 | // turn on display FPS 29 | pDirector->setDisplayStats(true); 30 | 31 | // set FPS. the default value is 1.0/60 if you don't call this 32 | pDirector->setAnimationInterval(1.0 / 60); 33 | 34 | 35 | // create a scene. it's an autorelease object 36 | CCScene *pScene = LoadingScene::scene(); 37 | 38 | // run 39 | pDirector->runWithScene(pScene); 40 | return true; 41 | } 42 | 43 | // This function will be called when the app is inactive. When comes a phone call,it's be invoked too 44 | void AppDelegate::applicationDidEnterBackground() 45 | { 46 | CCDirector::sharedDirector()->stopAnimation(); 47 | 48 | SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic(); 49 | } 50 | 51 | // this function will be called when the app is active again 52 | void AppDelegate::applicationWillEnterForeground() 53 | { 54 | CCDirector::sharedDirector()->startAnimation(); 55 | 56 | SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic(); 57 | } 58 | -------------------------------------------------------------------------------- /Classes/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_DELEGATE_H__ 2 | #define __APP_DELEGATE_H__ 3 | 4 | #include "cocos2d.h" 5 | 6 | /** 7 | @brief The cocos2d Application. 8 | 9 | The reason for implement as private inheritance is to hide some interface call by CCDirector. 10 | */ 11 | class AppDelegate : private cocos2d::CCApplication 12 | { 13 | public: 14 | AppDelegate(); 15 | virtual ~AppDelegate(); 16 | 17 | /** 18 | @brief Implement CCDirector and CCScene init code here. 19 | @return true Initialize success, app continue. 20 | @return false Initialize failed, app terminate. 21 | */ 22 | virtual bool applicationDidFinishLaunching(); 23 | 24 | /** 25 | @brief The function be called when the application enter background 26 | @param the pointer of the application 27 | */ 28 | virtual void applicationDidEnterBackground(); 29 | 30 | /** 31 | @brief The function be called when the application enter foreground 32 | @param the pointer of the application 33 | */ 34 | virtual void applicationWillEnterForeground(); 35 | }; 36 | 37 | #endif // __APP_DELEGATE_H__ 38 | 39 | -------------------------------------------------------------------------------- /Classes/AppMacros.h: -------------------------------------------------------------------------------- 1 | #ifndef __APPMACROS_H__ 2 | #define __APPMACROS_H__ 3 | 4 | #include "cocos2d.h" 5 | 6 | /* For demonstrating using one design resolution to match different resources, 7 | or one resource to match different design resolutions. 8 | 9 | [Situation 1] Using one design resolution to match different resources. 10 | Please look into Appdelegate::applicationDidFinishLaunching. 11 | We check current device frame size to decide which resource need to be selected. 12 | So if you want to test this situation which said in title '[Situation 1]', 13 | you should change ios simulator to different device(e.g. iphone, iphone-retina3.5, iphone-retina4.0, ipad, ipad-retina), 14 | or change the window size in "proj.XXX/main.cpp" by "CCEGLView::setFrameSize" if you are using win32 or linux plaform 15 | and modify "proj.mac/AppController.mm" by changing the window rectangle. 16 | 17 | [Situation 2] Using one resource to match different design resolutions. 18 | The coordinates in your codes is based on your current design resolution rather than resource size. 19 | Therefore, your design resolution could be very large and your resource size could be small. 20 | To test this, just define the marco 'TARGET_DESIGN_RESOLUTION_SIZE' to 'DESIGN_RESOLUTION_2048X1536' 21 | and open iphone simulator or create a window of 480x320 size. 22 | 23 | [Note] Normally, developer just need to define one design resolution(e.g. 960x640) with one or more resources. 24 | */ 25 | 26 | #define DESIGN_RESOLUTION_480X320 0 27 | #define DESIGN_RESOLUTION_1024X768 1 28 | #define DESIGN_RESOLUTION_2048X1536 2 29 | 30 | /* If you want to switch design resolution, change next line */ 31 | #define TARGET_DESIGN_RESOLUTION_SIZE DESIGN_RESOLUTION_480X320 32 | 33 | typedef struct tagResource 34 | { 35 | cocos2d::Size size; 36 | char directory[100]; 37 | }Resource; 38 | 39 | static Resource smallResource = { cocos2d::Size(480, 320), "iphone" }; 40 | static Resource mediumResource = { cocos2d::Size(1024, 768), "ipad" }; 41 | static Resource largeResource = { cocos2d::Size(2048, 1536), "ipadhd" }; 42 | 43 | #if (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_480X320) 44 | static cocos2d::Size designResolutionSize = cocos2d::Size(480, 320); 45 | #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_1024X768) 46 | static cocos2d::Size designResolutionSize = cocos2d::Size(1024, 768); 47 | #elif (TARGET_DESIGN_RESOLUTION_SIZE == DESIGN_RESOLUTION_2048X1536) 48 | static cocos2d::Size designResolutionSize = cocos2d::Size(2048, 1536); 49 | #else 50 | #error unknown target design resolution! 51 | #endif 52 | 53 | // The font size 24 is designed for small resolution, so we should change it to fit for current design resolution 54 | #define TITLE_FONT_SIZE (cocos2d::EGLView::getInstance()->getDesignResolutionSize().width / smallResource.size.width * 24) 55 | 56 | #endif /* __APPMACROS_H__ */ 57 | -------------------------------------------------------------------------------- /Classes/GlobalData/AudioEngine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/GlobalData/AudioEngine.cpp -------------------------------------------------------------------------------- /Classes/GlobalData/AudioEngine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/GlobalData/AudioEngine.h -------------------------------------------------------------------------------- /Classes/GlobalData/GlobalData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/GlobalData/GlobalData.cpp -------------------------------------------------------------------------------- /Classes/GlobalData/GlobalData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/GlobalData/GlobalData.h -------------------------------------------------------------------------------- /Classes/HelloWorldScene.cpp: -------------------------------------------------------------------------------- 1 | #include "HelloWorldScene.h" 2 | 3 | using namespace cocos2d; 4 | 5 | CCScene* HelloWorld::scene() 6 | { 7 | CCScene * scene = NULL; 8 | do 9 | { 10 | // 'scene' is an autorelease object 11 | scene = CCScene::create(); 12 | CC_BREAK_IF(! scene); 13 | 14 | // 'layer' is an autorelease object 15 | HelloWorld *layer = HelloWorld::create(); 16 | CC_BREAK_IF(! layer); 17 | 18 | // add layer as a child to scene 19 | scene->addChild(layer); 20 | } while (0); 21 | 22 | // return the scene 23 | return scene; 24 | } 25 | 26 | // on "init" you need to initialize your instance 27 | bool HelloWorld::init() 28 | { 29 | bool bRet = false; 30 | do 31 | { 32 | ////////////////////////////////////////////////////////////////////////// 33 | // super init first 34 | ////////////////////////////////////////////////////////////////////////// 35 | 36 | CC_BREAK_IF(! CCLayer::init()); 37 | 38 | ////////////////////////////////////////////////////////////////////////// 39 | // add your codes below... 40 | ////////////////////////////////////////////////////////////////////////// 41 | 42 | // 1. Add a menu item with "X" image, which is clicked to quit the program. 43 | 44 | // Create a "close" menu item with close icon, it's an auto release object. 45 | CCMenuItemImage *pCloseItem = CCMenuItemImage::create( 46 | "CloseNormal.png", 47 | "CloseSelected.png", 48 | this, 49 | menu_selector(HelloWorld::menuCloseCallback)); 50 | CC_BREAK_IF(! pCloseItem); 51 | 52 | // Place the menu item bottom-right conner. 53 | pCloseItem->setPosition(ccp(CCDirector::sharedDirector()->getWinSize().width - 20, 20)); 54 | 55 | // Create a menu with the "close" menu item, it's an auto release object. 56 | CCMenu* pMenu = CCMenu::create(pCloseItem, NULL); 57 | pMenu->setPosition(CCPointZero); 58 | CC_BREAK_IF(! pMenu); 59 | 60 | // Add the menu to HelloWorld layer as a child layer. 61 | this->addChild(pMenu, 1); 62 | 63 | // 2. Add a label shows "Hello World". 64 | 65 | // Create a label and initialize with string "Hello World". 66 | CCLabelTTF* pLabel = CCLabelTTF::create("Hello World", "Arial", 24); 67 | CC_BREAK_IF(! pLabel); 68 | 69 | // Get window size and place the label upper. 70 | CCSize size = CCDirector::sharedDirector()->getWinSize(); 71 | pLabel->setPosition(ccp(size.width / 2, size.height - 50)); 72 | 73 | // Add the label to HelloWorld layer as a child layer. 74 | this->addChild(pLabel, 1); 75 | 76 | // 3. Add add a splash screen, show the cocos2d splash image. 77 | CCSprite* pSprite = CCSprite::create("HelloWorld.png"); 78 | CC_BREAK_IF(! pSprite); 79 | 80 | // Place the sprite on the center of the screen 81 | pSprite->setPosition(ccp(size.width/2, size.height/2)); 82 | 83 | // Add the sprite to HelloWorld layer as a child layer. 84 | this->addChild(pSprite, 0); 85 | 86 | bRet = true; 87 | } while (0); 88 | 89 | return bRet; 90 | } 91 | 92 | void HelloWorld::menuCloseCallback(CCObject* pSender) 93 | { 94 | // "close" menu item clicked 95 | CCDirector::sharedDirector()->end(); 96 | } 97 | 98 | -------------------------------------------------------------------------------- /Classes/HelloWorldScene.h: -------------------------------------------------------------------------------- 1 | #ifndef __HELLOWORLD_SCENE_H__ 2 | #define __HELLOWORLD_SCENE_H__ 3 | 4 | #include "cocos2d.h" 5 | 6 | #include "Box2D/Box2D.h" 7 | 8 | #include "SimpleAudioEngine.h" 9 | 10 | class HelloWorld : public cocos2d::CCLayer 11 | { 12 | public: 13 | // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone 14 | virtual bool init(); 15 | 16 | // there's no 'id' in cpp, so we recommand to return the exactly class pointer 17 | static cocos2d::CCScene* scene(); 18 | 19 | // a selector callback 20 | void menuCloseCallback(CCObject* pSender); 21 | 22 | // implement the "static node()" method manually 23 | CREATE_FUNC(HelloWorld); 24 | }; 25 | 26 | #endif // __HELLOWORLD_SCENE_H__ -------------------------------------------------------------------------------- /Classes/LoadingScene/LoadingScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/LoadingScene/LoadingScene.cpp -------------------------------------------------------------------------------- /Classes/LoadingScene/LoadingScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/LoadingScene/LoadingScene.h -------------------------------------------------------------------------------- /Classes/MenuScene/MenuScene.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/MenuScene/MenuScene.cpp -------------------------------------------------------------------------------- /Classes/MenuScene/MenuScene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/MenuScene/MenuScene.h -------------------------------------------------------------------------------- /Classes/SingleGame/LeftRobot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/LeftRobot.cpp -------------------------------------------------------------------------------- /Classes/SingleGame/LeftRobot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/LeftRobot.h -------------------------------------------------------------------------------- /Classes/SingleGame/PlayerLayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/PlayerLayer.cpp -------------------------------------------------------------------------------- /Classes/SingleGame/PlayerLayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/PlayerLayer.h -------------------------------------------------------------------------------- /Classes/SingleGame/RightRobot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/RightRobot.cpp -------------------------------------------------------------------------------- /Classes/SingleGame/RightRobot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/RightRobot.h -------------------------------------------------------------------------------- /Classes/SingleGame/ShowCardNumLayer.cpp: -------------------------------------------------------------------------------- 1 | /************************************************* 2 | Copyright:hushencheng 3 | Author:hushencheng 4 | Date:2014-4-20 5 | Description: 6 | **************************************************/ 7 | #include "ShowCardNumLayer.h" 8 | 9 | 10 | 11 | 12 | ShowCardNumLayer::ShowCardNumLayer() 13 | { 14 | 15 | } 16 | 17 | ShowCardNumLayer::~ShowCardNumLayer() 18 | { 19 | for(int i=0;i<12;i++) 20 | { 21 | CC_SAFE_RELEASE(m_Num[i]); 22 | } 23 | } 24 | 25 | bool ShowCardNumLayer::init() 26 | { 27 | bool bRet=false; 28 | do 29 | { 30 | CC_BREAK_IF(! CCLayer::init()); 31 | 32 | CCSize size = CCDirector::sharedDirector()->getWinSize(); 33 | 34 | CCSpriteBatchNode* NumNode = CCSpriteBatchNode::create("btn/timerdigits2.png"); 35 | this->addChild(NumNode,2); 36 | 37 | for(int i=0;i<12;i++) 38 | { 39 | m_Num[i]=CCSpriteFrame::create("btn/timerdigits2.png",CCRectMake(i*24,0,18,24)); 40 | CC_SAFE_RETAIN(m_Num[i]); 41 | } 42 | 43 | for(int i=0;i<2;i++) 44 | { 45 | m_showNum[i]=CCSprite::create("btn/timerdigits2.png",CCRectMake(i*24,0,24,24)); 46 | m_showNum[i]->setScaleX(size.width /m_showNum[i]->getContentSize().width*0.04); 47 | m_showNum[i]->setScaleY(size.height/m_showNum[i]->getContentSize().height*0.04); 48 | m_showNum[i]->setPosition(ccp(size.width*0.925+i*(size.width)/13/5, size.height/2*0.9)); 49 | NumNode->addChild(m_showNum[i]); 50 | } 51 | coutNum(10); 52 | 53 | bRet=true; 54 | } while (0); 55 | return bRet; 56 | 57 | } 58 | void ShowCardNumLayer::coutNum(int total) 59 | { 60 | int a[2]; 61 | 62 | a[0]=total/10+1; 63 | a[1]=total%10+1; 64 | 65 | for(int i=0;i<2;i++) 66 | { 67 | m_showNum[i]->setDisplayFrame(m_Num[ a[i] ]); 68 | } 69 | } 70 | 71 | void ShowCardNumLayer::setStartPosition( float dt ) 72 | { 73 | CCSize size = CCDirector::sharedDirector()->getWinSize(); 74 | for(int i=0;i<2;i++) 75 | { 76 | m_showNum[i]->setPosition(ccp(size.width*dt+i*(size.width)/13/3, size.height/2*0.9)); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /Classes/SingleGame/ShowCardNumLayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/ShowCardNumLayer.h -------------------------------------------------------------------------------- /Classes/SingleGame/SingleGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/SingleGame.cpp -------------------------------------------------------------------------------- /Classes/SingleGame/SingleGame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/SingleGame/SingleGame.h -------------------------------------------------------------------------------- /Classes/SingleGame/diZhuWin.cpp: -------------------------------------------------------------------------------- 1 | #include"diZhuWin.h" 2 | 3 | bool DiZhuWin::init() 4 | { 5 | CCSize winSize = CCDirector::sharedDirector()->getWinSize(); 6 | CCSprite *bg = CCSprite::create("btn/text_dizhu_win"); 7 | bg->setPosition(ccp(winSize.width/2,winSize.height/2)); 8 | this->addChild(bg); 9 | return true; 10 | } -------------------------------------------------------------------------------- /Classes/SingleGame/diZhuWin.h: -------------------------------------------------------------------------------- 1 | #ifndef __DIZHIWIN__ 2 | #define __DIZHIWIN__ 3 | 4 | #include"cocos2d.h" 5 | using namespace cocos2d; 6 | 7 | class DiZhuWin :public cocos2d::CCLayer 8 | { 9 | public: 10 | virtual bool init(); 11 | CREATE_FUNC(DiZhuWin); 12 | }; 13 | 14 | #endif -------------------------------------------------------------------------------- /Classes/SingleGame/nongMingWin.cpp: -------------------------------------------------------------------------------- 1 | #include "nongMingWin.h" 2 | 3 | 4 | bool NongMingWin::init() 5 | { 6 | CCSize winSize = CCDirector::sharedDirector()->getWinSize(); 7 | CCSprite *bg = CCSprite::create("btn/text_nongmin_win"); 8 | bg->setPosition(ccp(winSize.width/2,winSize.height/2)); 9 | this->addChild(bg); 10 | 11 | return true; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Classes/SingleGame/nongMingWin.h: -------------------------------------------------------------------------------- 1 | #ifndef __NONGMINGWIN__ 2 | #define __NONGMINGWIN__ 3 | 4 | #include"cocos2d.h" 5 | using namespace cocos2d; 6 | 7 | class NongMingWin :public cocos2d::CCLayer 8 | { 9 | public: 10 | virtual bool init(); 11 | CREATE_FUNC(NongMingWin); 12 | }; 13 | 14 | #endif -------------------------------------------------------------------------------- /Classes/ttt/AICardLayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/AICardLayer.cpp -------------------------------------------------------------------------------- /Classes/ttt/AICardLayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/AICardLayer.h -------------------------------------------------------------------------------- /Classes/ttt/LeftRobot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/LeftRobot.cpp -------------------------------------------------------------------------------- /Classes/ttt/LeftRobot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/LeftRobot.h -------------------------------------------------------------------------------- /Classes/ttt/PlayerCardLayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/PlayerCardLayer.cpp -------------------------------------------------------------------------------- /Classes/ttt/PlayerCardLayer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/PlayerCardLayer.h -------------------------------------------------------------------------------- /Classes/ttt/RightRobot.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/RightRobot.cpp -------------------------------------------------------------------------------- /Classes/ttt/RightRobot.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Classes/ttt/RightRobot.h -------------------------------------------------------------------------------- /Resources/btn/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/11.png -------------------------------------------------------------------------------- /Resources/btn/110.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/110.png -------------------------------------------------------------------------------- /Resources/btn/111.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/111.png -------------------------------------------------------------------------------- /Resources/btn/112.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/112.png -------------------------------------------------------------------------------- /Resources/btn/113.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/113.png -------------------------------------------------------------------------------- /Resources/btn/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/12.png -------------------------------------------------------------------------------- /Resources/btn/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/13.png -------------------------------------------------------------------------------- /Resources/btn/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/14.png -------------------------------------------------------------------------------- /Resources/btn/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/15.png -------------------------------------------------------------------------------- /Resources/btn/16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/16.png -------------------------------------------------------------------------------- /Resources/btn/17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/17.png -------------------------------------------------------------------------------- /Resources/btn/18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/18.png -------------------------------------------------------------------------------- /Resources/btn/19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/19.png -------------------------------------------------------------------------------- /Resources/btn/21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/21.png -------------------------------------------------------------------------------- /Resources/btn/210.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/210.png -------------------------------------------------------------------------------- /Resources/btn/211.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/211.png -------------------------------------------------------------------------------- /Resources/btn/212.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/212.png -------------------------------------------------------------------------------- /Resources/btn/213.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/213.png -------------------------------------------------------------------------------- /Resources/btn/22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/22.png -------------------------------------------------------------------------------- /Resources/btn/23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/23.png -------------------------------------------------------------------------------- /Resources/btn/24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/24.png -------------------------------------------------------------------------------- /Resources/btn/25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/25.png -------------------------------------------------------------------------------- /Resources/btn/26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/26.png -------------------------------------------------------------------------------- /Resources/btn/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/27.png -------------------------------------------------------------------------------- /Resources/btn/28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/28.png -------------------------------------------------------------------------------- /Resources/btn/29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/29.png -------------------------------------------------------------------------------- /Resources/btn/31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/31.png -------------------------------------------------------------------------------- /Resources/btn/310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/310.png -------------------------------------------------------------------------------- /Resources/btn/311.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/311.png -------------------------------------------------------------------------------- /Resources/btn/312.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/312.png -------------------------------------------------------------------------------- /Resources/btn/313.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/313.png -------------------------------------------------------------------------------- /Resources/btn/32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/32.png -------------------------------------------------------------------------------- /Resources/btn/33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/33.png -------------------------------------------------------------------------------- /Resources/btn/34.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/34.png -------------------------------------------------------------------------------- /Resources/btn/35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/35.png -------------------------------------------------------------------------------- /Resources/btn/36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/36.png -------------------------------------------------------------------------------- /Resources/btn/37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/37.png -------------------------------------------------------------------------------- /Resources/btn/38.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/38.png -------------------------------------------------------------------------------- /Resources/btn/39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/39.png -------------------------------------------------------------------------------- /Resources/btn/41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/41.png -------------------------------------------------------------------------------- /Resources/btn/410.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/410.png -------------------------------------------------------------------------------- /Resources/btn/411.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/411.png -------------------------------------------------------------------------------- /Resources/btn/412.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/412.png -------------------------------------------------------------------------------- /Resources/btn/413.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/413.png -------------------------------------------------------------------------------- /Resources/btn/42.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/42.png -------------------------------------------------------------------------------- /Resources/btn/43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/43.png -------------------------------------------------------------------------------- /Resources/btn/44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/44.png -------------------------------------------------------------------------------- /Resources/btn/45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/45.png -------------------------------------------------------------------------------- /Resources/btn/46.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/46.png -------------------------------------------------------------------------------- /Resources/btn/47.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/47.png -------------------------------------------------------------------------------- /Resources/btn/48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/48.png -------------------------------------------------------------------------------- /Resources/btn/49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/49.png -------------------------------------------------------------------------------- /Resources/btn/51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/51.png -------------------------------------------------------------------------------- /Resources/btn/52.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/52.png -------------------------------------------------------------------------------- /Resources/btn/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/back.png -------------------------------------------------------------------------------- /Resources/btn/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/bg1.png -------------------------------------------------------------------------------- /Resources/btn/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/bg2.png -------------------------------------------------------------------------------- /Resources/btn/bg3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/bg3.png -------------------------------------------------------------------------------- /Resources/btn/bg4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/bg4.png -------------------------------------------------------------------------------- /Resources/btn/bg5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/bg5.png -------------------------------------------------------------------------------- /Resources/btn/cardbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/cardbg.png -------------------------------------------------------------------------------- /Resources/btn/cresult_backbtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/cresult_backbtn.png -------------------------------------------------------------------------------- /Resources/btn/cresult_backbtn_touched.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/cresult_backbtn_touched.png -------------------------------------------------------------------------------- /Resources/btn/dawang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/dawang.png -------------------------------------------------------------------------------- /Resources/btn/dialogbtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/dialogbtn.png -------------------------------------------------------------------------------- /Resources/btn/dialogbtn_touched.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/dialogbtn_touched.png -------------------------------------------------------------------------------- /Resources/btn/fire.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/fire.png -------------------------------------------------------------------------------- /Resources/btn/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/logo.png -------------------------------------------------------------------------------- /Resources/btn/menubg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/menubg1.png -------------------------------------------------------------------------------- /Resources/btn/menubg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/menubg2.png -------------------------------------------------------------------------------- /Resources/btn/poke_back_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/poke_back_small.png -------------------------------------------------------------------------------- /Resources/btn/quit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/quit.png -------------------------------------------------------------------------------- /Resources/btn/redbutton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/redbutton.png -------------------------------------------------------------------------------- /Resources/btn/redbutton_touched.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/redbutton_touched.png -------------------------------------------------------------------------------- /Resources/btn/startbtn_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/startbtn_normal.png -------------------------------------------------------------------------------- /Resources/btn/startbtn_normal1 .png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/startbtn_normal1 .png -------------------------------------------------------------------------------- /Resources/btn/startbtn_touched.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/startbtn_touched.png -------------------------------------------------------------------------------- /Resources/btn/startbtn_touched1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/startbtn_touched1.png -------------------------------------------------------------------------------- /Resources/btn/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/test.png -------------------------------------------------------------------------------- /Resources/btn/text_bj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_bj.png -------------------------------------------------------------------------------- /Resources/btn/text_bq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_bq.png -------------------------------------------------------------------------------- /Resources/btn/text_chujichang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_chujichang.png -------------------------------------------------------------------------------- /Resources/btn/text_cue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_cue.png -------------------------------------------------------------------------------- /Resources/btn/text_dizhu_lose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_dizhu_lose.png -------------------------------------------------------------------------------- /Resources/btn/text_dizhu_win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_dizhu_win.png -------------------------------------------------------------------------------- /Resources/btn/text_gaojichang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_gaojichang.png -------------------------------------------------------------------------------- /Resources/btn/text_jdz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_jdz.png -------------------------------------------------------------------------------- /Resources/btn/text_level_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_level_down.png -------------------------------------------------------------------------------- /Resources/btn/text_level_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_level_up.png -------------------------------------------------------------------------------- /Resources/btn/text_nobigcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_nobigcard.png -------------------------------------------------------------------------------- /Resources/btn/text_nongmin_lose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_nongmin_lose.png -------------------------------------------------------------------------------- /Resources/btn/text_nongmin_win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_nongmin_win.png -------------------------------------------------------------------------------- /Resources/btn/text_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_out.png -------------------------------------------------------------------------------- /Resources/btn/text_pass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_pass.png -------------------------------------------------------------------------------- /Resources/btn/text_qdz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_qdz.png -------------------------------------------------------------------------------- /Resources/btn/text_ready.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_ready.png -------------------------------------------------------------------------------- /Resources/btn/text_repick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_repick.png -------------------------------------------------------------------------------- /Resources/btn/text_sendcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_sendcard.png -------------------------------------------------------------------------------- /Resources/btn/text_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_start.png -------------------------------------------------------------------------------- /Resources/btn/text_today_task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_today_task.png -------------------------------------------------------------------------------- /Resources/btn/text_zhongjichang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/text_zhongjichang.png -------------------------------------------------------------------------------- /Resources/btn/timerdigits2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/timerdigits2.png -------------------------------------------------------------------------------- /Resources/btn/tips_100wan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/tips_100wan.png -------------------------------------------------------------------------------- /Resources/btn/tips_10wan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/tips_10wan.png -------------------------------------------------------------------------------- /Resources/btn/tips_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/tips_bg.png -------------------------------------------------------------------------------- /Resources/btn/today_task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/today_task.png -------------------------------------------------------------------------------- /Resources/btn/uncheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/uncheck.png -------------------------------------------------------------------------------- /Resources/btn/xiaowang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/xiaowang.png -------------------------------------------------------------------------------- /Resources/btn/xiaowang_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/btn/xiaowang_big.png -------------------------------------------------------------------------------- /Resources/ipad/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipad/CloseNormal.png -------------------------------------------------------------------------------- /Resources/ipad/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipad/CloseSelected.png -------------------------------------------------------------------------------- /Resources/ipad/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipad/HelloWorld.png -------------------------------------------------------------------------------- /Resources/ipad/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipad/logo.png -------------------------------------------------------------------------------- /Resources/ipadhd/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipadhd/CloseNormal.png -------------------------------------------------------------------------------- /Resources/ipadhd/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipadhd/CloseSelected.png -------------------------------------------------------------------------------- /Resources/ipadhd/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipadhd/HelloWorld.png -------------------------------------------------------------------------------- /Resources/ipadhd/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/ipadhd/logo.png -------------------------------------------------------------------------------- /Resources/iphone/CloseNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/iphone/CloseNormal.png -------------------------------------------------------------------------------- /Resources/iphone/CloseSelected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/iphone/CloseSelected.png -------------------------------------------------------------------------------- /Resources/iphone/HelloWorld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/iphone/HelloWorld.png -------------------------------------------------------------------------------- /Resources/iphone/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/iphone/logo.png -------------------------------------------------------------------------------- /Resources/sounds/0.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/0.mp3 -------------------------------------------------------------------------------- /Resources/sounds/Man_1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_14.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_14.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_15.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_15.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_NoOrder.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_NoOrder.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_NoRob.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_NoRob.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_Order.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_Order.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_Rob1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_Rob1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_Rob2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_Rob2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_Rob3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_Rob3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_Share.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_Share.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_baojing1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_baojing1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_baojing2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_baojing2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_bujiabei.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_bujiabei.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_buyao1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_buyao1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_buyao2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_buyao2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_buyao3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_buyao3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_buyao4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_buyao4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dani1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dani1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dani2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dani2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dani3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dani3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_dui9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_dui9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_feiji.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_feiji.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_jiabei.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_jiabei.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_liandui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_liandui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_sandaiyi.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_sandaiyi.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_sandaiyidui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_sandaiyidui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_shunzi.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_shunzi.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_sidaier.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_sidaier.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_sidailiangdui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_sidailiangdui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_tuple9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_tuple9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_wangzha.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_wangzha.ogg -------------------------------------------------------------------------------- /Resources/sounds/Man_zhadan.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Man_zhadan.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Exciting.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Exciting.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Lose.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Lose.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Normal.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Normal.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Normal2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Normal2.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Welcome.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Welcome.ogg -------------------------------------------------------------------------------- /Resources/sounds/MusicEx_Win.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/MusicEx_Win.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecBeanChanged.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecBeanChanged.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecBeanFly.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecBeanFly.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecBeanLess.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecBeanLess.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecBeanMore.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecBeanMore.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecCancelOrReturn.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecCancelOrReturn.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecDisable.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecDisable.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecOk.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecOk.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecSelectCard.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecSelectCard.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecSysReturnFail.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecSysReturnFail.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecSysReturnOk.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecSysReturnOk.ogg -------------------------------------------------------------------------------- /Resources/sounds/SpecTakePhoto.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/SpecTakePhoto.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_Bomb.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_Bomb.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_Dispatch.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_Dispatch.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_Escape.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_Escape.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_Multiply.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_Multiply.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_Remind.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_Remind.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_alert.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_alert.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_flower.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_flower.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_give.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_give.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_menu.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_menu.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_plane.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_plane.ogg -------------------------------------------------------------------------------- /Resources/sounds/Special_star.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Special_star.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_14.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_14.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_15.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_15.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_NoOrder.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_NoOrder.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_NoRob.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_NoRob.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_Order.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_Order.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_Rob1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_Rob1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_Rob2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_Rob2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_Rob3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_Rob3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_Share.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_Share.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_baojing1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_baojing1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_baojing2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_baojing2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_bujiabei.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_bujiabei.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_buyao1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_buyao1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_buyao2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_buyao2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_buyao3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_buyao3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_buyao4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_buyao4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dani1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dani1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dani2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dani2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dani3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dani3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_dui9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_dui9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_feiji.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_feiji.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_jiabei.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_jiabei.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_liandui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_liandui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_sandaiyi.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_sandaiyi.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_sandaiyidui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_sandaiyidui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_shunzi.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_shunzi.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_sidaier.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_sidaier.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_sidailiangdui.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_sidailiangdui.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple1.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple1.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple10.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple10.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple11.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple11.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple12.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple12.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple13.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple13.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple2.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple2.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple3.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple3.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple4.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple4.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple5.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple5.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple6.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple6.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple7.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple7.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple8.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple8.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_tuple9.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_tuple9.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_wangzha.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_wangzha.ogg -------------------------------------------------------------------------------- /Resources/sounds/Woman_zhadan.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/Resources/sounds/Woman_zhadan.ogg -------------------------------------------------------------------------------- /proj.android/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /proj.android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /proj.android/README.md: -------------------------------------------------------------------------------- 1 | ## Prerequisites: 2 | 3 | * Android NDK 4 | * Android SDK **OR** Eclipse ADT Bundle 5 | * Android AVD target installed 6 | 7 | ## Building project 8 | 9 | There are two ways of building Android projects. 10 | 11 | 1. Eclipse 12 | 2. Command Line 13 | 14 | ### Import Project in Eclipse 15 | 16 | #### Features: 17 | 18 | 1. Complete workflow from Eclipse, including: 19 | * Build C++. 20 | * Clean C++. 21 | * Build and Run whole project. 22 | * Logcat view. 23 | * Debug Java code. 24 | * Javascript editor. 25 | * Project management. 26 | 2. True C++ editing, including: 27 | * Code completion. 28 | * Jump to definition. 29 | * Refactoring tools etc. 30 | * Quick open C++ files. 31 | 32 | 33 | #### Setup Eclipse Environment (only once) 34 | 35 | 36 | **NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. 37 | 38 | 1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) 39 | 40 | **OR** 41 | 42 | Install Eclipse with Java. Add ADT and CDT plugins. 43 | 44 | 2. Only for Windows 45 | 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). 46 | 2. Add `Cygwin\bin` directory to system PATH variable. 47 | 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. 48 | 49 | 3. Set up Variables: 50 | 1. Path Variable `COCOS2DX`: 51 | * Eclipse->Preferences->General->Workspace->**Linked Resources** 52 | * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. 53 | ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) 54 | 55 | 2. C/C++ Environment Variable `NDK_ROOT`: 56 | * Eclipse->Preferences->C/C++->Build->**Environment**. 57 | * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. 58 | ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) 59 | * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` 60 | 61 | 4. Import libcocos2dx library project: 62 | 1. File->New->Project->Android Project From Existing Code. 63 | 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. 64 | 3. Click **Finish** to add project. 65 | 66 | #### Adding and running from Eclipse 67 | 68 | ![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) 69 | 70 | 1. File->New->Project->Android Project From Existing Code 71 | 2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` 72 | 3. Add the project 73 | 4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. 74 | 75 | 76 | ### Running project from Command Line 77 | 78 | $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ 79 | $ export NDK_ROOT=/path/to/ndk 80 | $ ./build_native.sh 81 | $ ant debug install 82 | 83 | If the last command results in sdk.dir missing error then do: 84 | 85 | $ android list target 86 | $ android update project -p . -t (id from step 6) 87 | $ android update project -p cocos2d-x/cocos2dx/platform/android/java/ -t (id from step 6) 88 | -------------------------------------------------------------------------------- /proj.android/ant.properties: -------------------------------------------------------------------------------- 1 | # This file is used to override default values used by the Ant build system. 2 | # 3 | # This file must be checked into Version Control Systems, as it is 4 | # integral to the build system of your project. 5 | 6 | # This file is only used by the Ant script. 7 | 8 | # You can use this to override default values such as 9 | # 'source.dir' for the location of your java source folder and 10 | # 'out.dir' for the location of your output folder. 11 | 12 | # You can also use it define how the release builds are signed by declaring 13 | # the following properties: 14 | # 'key.store' for the location of your keystore and 15 | # 'key.alias' for the name of the key to use. 16 | # The password will be asked during the build when you use the 'release' target. 17 | 18 | -------------------------------------------------------------------------------- /proj.android/build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 29 | 30 | 31 | 40 | 41 | 42 | 43 | 47 | 48 | 60 | 61 | 62 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /proj.android/build_native.sh: -------------------------------------------------------------------------------- 1 | APPNAME="doudizhu" 2 | 3 | # options 4 | 5 | buildexternalsfromsource= 6 | 7 | usage(){ 8 | cat << EOF 9 | usage: $0 [options] 10 | 11 | Build C/C++ code for $APPNAME using Android NDK 12 | 13 | OPTIONS: 14 | -s Build externals from source 15 | -h this help 16 | EOF 17 | } 18 | 19 | while getopts "sh" OPTION; do 20 | case "$OPTION" in 21 | s) 22 | buildexternalsfromsource=1 23 | ;; 24 | h) 25 | usage 26 | exit 0 27 | ;; 28 | esac 29 | done 30 | 31 | # paths 32 | 33 | if [ -z "${NDK_ROOT+aaa}" ];then 34 | echo "please define NDK_ROOT" 35 | exit 1 36 | fi 37 | 38 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 39 | # ... use paths relative to current directory 40 | COCOS2DX_ROOT="$DIR/../../.." 41 | APP_ROOT="$DIR/.." 42 | APP_ANDROID_ROOT="$DIR" 43 | 44 | echo "NDK_ROOT = $NDK_ROOT" 45 | echo "COCOS2DX_ROOT = $COCOS2DX_ROOT" 46 | echo "APP_ROOT = $APP_ROOT" 47 | echo "APP_ANDROID_ROOT = $APP_ANDROID_ROOT" 48 | 49 | # make sure assets is exist 50 | if [ -d "$APP_ANDROID_ROOT"/assets ]; then 51 | rm -rf "$APP_ANDROID_ROOT"/assets 52 | fi 53 | 54 | mkdir "$APP_ANDROID_ROOT"/assets 55 | 56 | # copy resources 57 | for file in "$APP_ROOT"/Resources/* 58 | do 59 | if [ -d "$file" ]; then 60 | cp -rf "$file" "$APP_ANDROID_ROOT"/assets 61 | fi 62 | 63 | if [ -f "$file" ]; then 64 | cp "$file" "$APP_ANDROID_ROOT"/assets 65 | fi 66 | done 67 | 68 | # run ndk-build 69 | if [[ "$buildexternalsfromsource" ]]; then 70 | echo "Building external dependencies from source" 71 | "$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \ 72 | "NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/source" 73 | else 74 | echo "Using prebuilt externals" 75 | "$NDK_ROOT"/ndk-build -C "$APP_ANDROID_ROOT" $* \ 76 | "NDK_MODULE_PATH=${COCOS2DX_ROOT}:${COCOS2DX_ROOT}/cocos2dx/platform/third_party/android/prebuilt" 77 | fi 78 | -------------------------------------------------------------------------------- /proj.android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := cocos2dcpp_shared 6 | 7 | LOCAL_MODULE_FILENAME := libcocos2dcpp 8 | 9 | LOCAL_SRC_FILES := hellocpp/main.cpp \ 10 | ../../Classes/AppDelegate.cpp \ 11 | ../../Classes/HelloWorldScene.cpp 12 | 13 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes 14 | 15 | LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static 16 | LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static 17 | LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static 18 | LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static 19 | LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static 20 | 21 | include $(BUILD_SHARED_LIBRARY) 22 | 23 | $(call import-module,cocos2dx) 24 | $(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl) 25 | $(call import-module,CocosDenshion/android) 26 | $(call import-module,extensions) 27 | $(call import-module,external/Box2D) 28 | $(call import-module,external/chipmunk) 29 | -------------------------------------------------------------------------------- /proj.android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 3 | -------------------------------------------------------------------------------- /proj.android/jni/hellocpp/main.cpp: -------------------------------------------------------------------------------- 1 | #include "AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEventType.h" 4 | #include "platform/android/jni/JniHelper.h" 5 | #include 6 | #include 7 | 8 | #define LOG_TAG "main" 9 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) 10 | 11 | using namespace cocos2d; 12 | 13 | extern "C" 14 | { 15 | 16 | jint JNI_OnLoad(JavaVM *vm, void *reserved) 17 | { 18 | JniHelper::setJavaVM(vm); 19 | 20 | return JNI_VERSION_1_4; 21 | } 22 | 23 | void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thiz, jint w, jint h) 24 | { 25 | if (!CCDirector::sharedDirector()->getOpenGLView()) 26 | { 27 | CCEGLView *view = CCEGLView::sharedOpenGLView(); 28 | view->setFrameSize(w, h); 29 | 30 | AppDelegate *pAppDelegate = new AppDelegate(); 31 | CCApplication::sharedApplication()->run(); 32 | } 33 | else 34 | { 35 | ccGLInvalidateStateCache(); 36 | CCShaderCache::sharedShaderCache()->reloadDefaultShaders(); 37 | ccDrawInit(); 38 | CCTextureCache::reloadAllTextures(); 39 | CCNotificationCenter::sharedNotificationCenter()->postNotification(EVENT_COME_TO_FOREGROUND, NULL); 40 | CCDirector::sharedDirector()->setGLDefaultValues(); 41 | } 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /proj.android/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /proj.android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-8 12 | 13 | android.library.reference.1=../../../cocos2dx/platform/android/java 14 | -------------------------------------------------------------------------------- /proj.android/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.android/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /proj.android/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.android/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /proj.android/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.android/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /proj.android/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | doudizhu 4 | 5 | -------------------------------------------------------------------------------- /proj.android/src/com/game/doudizhu/doudizhu.java: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010-2011 cocos2d-x.org 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | package com.game.doudizhu; 25 | 26 | import org.cocos2dx.lib.Cocos2dxActivity; 27 | import org.cocos2dx.lib.Cocos2dxGLSurfaceView; 28 | 29 | import android.os.Bundle; 30 | 31 | public class doudizhu extends Cocos2dxActivity{ 32 | 33 | protected void onCreate(Bundle savedInstanceState){ 34 | super.onCreate(savedInstanceState); 35 | } 36 | 37 | public Cocos2dxGLSurfaceView onCreateView() { 38 | Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); 39 | // doudizhu should create stencil buffer 40 | glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8); 41 | 42 | return glSurfaceView; 43 | } 44 | 45 | static { 46 | System.loadLibrary("cocos2dcpp"); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /proj.blackberry/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | doudizhu 4 | 5 | 6 | Box2D 7 | chipmunk 8 | cocos2dx 9 | CocosDenshion 10 | extensions 11 | 12 | 13 | 14 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 15 | clean,full,incremental, 16 | 17 | 18 | ?name? 19 | 20 | 21 | 22 | org.eclipse.cdt.make.core.append_environment 23 | true 24 | 25 | 26 | org.eclipse.cdt.make.core.buildArguments 27 | 28 | 29 | 30 | org.eclipse.cdt.make.core.buildCommand 31 | make 32 | 33 | 34 | org.eclipse.cdt.make.core.buildLocation 35 | ${workspace_loc:/doudizhu/Device-Debug} 36 | 37 | 38 | org.eclipse.cdt.make.core.contents 39 | org.eclipse.cdt.make.core.activeConfigSettings 40 | 41 | 42 | org.eclipse.cdt.make.core.enableAutoBuild 43 | false 44 | 45 | 46 | org.eclipse.cdt.make.core.enableCleanBuild 47 | true 48 | 49 | 50 | org.eclipse.cdt.make.core.enableFullBuild 51 | true 52 | 53 | 54 | org.eclipse.cdt.make.core.stopOnError 55 | true 56 | 57 | 58 | org.eclipse.cdt.make.core.useDefaultBuildCmd 59 | true 60 | 61 | 62 | 63 | 64 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 65 | full,incremental, 66 | 67 | 68 | 69 | 70 | com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder 71 | 72 | 73 | 74 | 75 | 76 | org.eclipse.cdt.core.cnature 77 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 78 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 79 | com.qnx.tools.ide.bbt.core.bbtnature 80 | org.eclipse.cdt.core.ccnature 81 | 82 | 83 | 84 | Classes 85 | 2 86 | PARENT-1-PROJECT_LOC/Classes 87 | 88 | 89 | Resources 90 | 2 91 | PARENT-1-PROJECT_LOC/Resources 92 | 93 | 94 | 95 | 96 | 1345434891844 97 | Classes/ExtensionsTest 98 | 10 99 | 100 | org.eclipse.ui.ide.multiFilter 101 | 1.0-name-matches-true-false-EditBoxTest 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /proj.blackberry/empty/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.blackberry/empty/empty -------------------------------------------------------------------------------- /proj.blackberry/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.blackberry/icon.png -------------------------------------------------------------------------------- /proj.blackberry/main.cpp: -------------------------------------------------------------------------------- 1 | #include "cocos2d.h" 2 | #include "AppDelegate.h" 3 | 4 | USING_NS_CC; 5 | 6 | int main(int argc, char **argv) 7 | { 8 | // create the application instance 9 | AppDelegate app; 10 | 11 | int width, height; 12 | const char *width_str, *height_str; 13 | width_str = getenv("WIDTH"); 14 | height_str = getenv("HEIGHT"); 15 | if (width_str && height_str) 16 | { 17 | width = atoi(width_str); 18 | height = atoi(height_str); 19 | } 20 | else 21 | { 22 | width = 1024; 23 | height = 600; 24 | } 25 | 26 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 27 | eglView->setFrameSize(width, height); 28 | 29 | return CCApplication::sharedApplication()->run(); 30 | } 31 | -------------------------------------------------------------------------------- /proj.ios/AppController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class RootViewController; 4 | 5 | @interface AppController : NSObject { 6 | UIWindow *window; 7 | RootViewController *viewController; 8 | } 9 | 10 | @end 11 | 12 | -------------------------------------------------------------------------------- /proj.ios/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Default-568h@2x.png -------------------------------------------------------------------------------- /proj.ios/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Default.png -------------------------------------------------------------------------------- /proj.ios/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Default@2x.png -------------------------------------------------------------------------------- /proj.ios/Icon-114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-114.png -------------------------------------------------------------------------------- /proj.ios/Icon-120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-120.png -------------------------------------------------------------------------------- /proj.ios/Icon-144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-144.png -------------------------------------------------------------------------------- /proj.ios/Icon-152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-152.png -------------------------------------------------------------------------------- /proj.ios/Icon-57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-57.png -------------------------------------------------------------------------------- /proj.ios/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-72.png -------------------------------------------------------------------------------- /proj.ios/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.ios/Icon-76.png -------------------------------------------------------------------------------- /proj.ios/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | Icon-57.png 13 | CFBundleIconFiles 14 | 15 | Icon.png 16 | Icon@2x.png 17 | Icon-57.png 18 | Icon-114.png 19 | Icon-72.png 20 | Icon-144.png 21 | Icon-76.png 22 | Icon-120.png 23 | Icon-152.png 24 | 25 | CFBundleIdentifier 26 | com.game.doudizhu 27 | CFBundleInfoDictionaryVersion 28 | 6.0 29 | CFBundleName 30 | ${PRODUCT_NAME} 31 | CFBundlePackageType 32 | APPL 33 | CFBundleShortVersionString 34 | 35 | CFBundleSignature 36 | ???? 37 | CFBundleVersion 38 | 1.0 39 | LSRequiresIPhoneOS 40 | 41 | UIAppFonts 42 | 43 | UISupportedInterfaceOrientations 44 | 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /proj.ios/Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'iphone' target in the 'iphone' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #endif 9 | -------------------------------------------------------------------------------- /proj.ios/RootViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | 4 | @interface RootViewController : UIViewController { 5 | 6 | } 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /proj.ios/RootViewController.mm: -------------------------------------------------------------------------------- 1 | #import "RootViewController.h" 2 | 3 | 4 | @implementation RootViewController 5 | 6 | /* 7 | // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. 8 | - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { 9 | if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) { 10 | // Custom initialization 11 | } 12 | return self; 13 | } 14 | */ 15 | 16 | /* 17 | // Implement loadView to create a view hierarchy programmatically, without using a nib. 18 | - (void)loadView { 19 | } 20 | */ 21 | 22 | /* 23 | // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. 24 | - (void)viewDidLoad { 25 | [super viewDidLoad]; 26 | } 27 | 28 | */ 29 | // Override to allow orientations other than the default portrait orientation. 30 | // This method is deprecated on ios6 31 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 32 | return UIInterfaceOrientationIsLandscape( interfaceOrientation ); 33 | } 34 | 35 | // For ios6, use supportedInterfaceOrientations & shouldAutorotate instead 36 | - (NSUInteger) supportedInterfaceOrientations{ 37 | #ifdef __IPHONE_6_0 38 | return UIInterfaceOrientationMaskAllButUpsideDown; 39 | #endif 40 | } 41 | 42 | - (BOOL) shouldAutorotate { 43 | return YES; 44 | } 45 | 46 | //fix not hide status on ios7 47 | - (BOOL)prefersStatusBarHidden 48 | { 49 | return YES; 50 | } 51 | 52 | - (void)didReceiveMemoryWarning { 53 | // Releases the view if it doesn't have a superview. 54 | [super didReceiveMemoryWarning]; 55 | 56 | // Release any cached data, images, etc that aren't in use. 57 | } 58 | 59 | - (void)viewDidUnload { 60 | [super viewDidUnload]; 61 | // Release any retained subviews of the main view. 62 | // e.g. self.myOutlet = nil; 63 | } 64 | 65 | 66 | - (void)dealloc { 67 | [super dealloc]; 68 | } 69 | 70 | 71 | @end 72 | -------------------------------------------------------------------------------- /proj.ios/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | // Under iOS and the Simulator, we can use an alternate Accelerometer interface 4 | #import "AccelerometerSimulation.h" 5 | 6 | int main(int argc, char *argv[]) { 7 | 8 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 9 | int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); 10 | [pool release]; 11 | return retVal; 12 | } 13 | -------------------------------------------------------------------------------- /proj.linux/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | doudizhu 4 | 5 | 6 | libBox2D 7 | libChipmunk 8 | libcocos2d 9 | libCocosDenshion 10 | libextension 11 | 12 | 13 | 14 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 15 | clean,full,incremental, 16 | 17 | 18 | ?children? 19 | ?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\|| 20 | 21 | 22 | ?name? 23 | 24 | 25 | 26 | org.eclipse.cdt.make.core.append_environment 27 | true 28 | 29 | 30 | org.eclipse.cdt.make.core.autoBuildTarget 31 | all 32 | 33 | 34 | org.eclipse.cdt.make.core.buildArguments 35 | 36 | 37 | 38 | org.eclipse.cdt.make.core.buildCommand 39 | make 40 | 41 | 42 | org.eclipse.cdt.make.core.buildLocation 43 | ${workspace_loc:/doudizhu/Debug} 44 | 45 | 46 | org.eclipse.cdt.make.core.cleanBuildTarget 47 | clean 48 | 49 | 50 | org.eclipse.cdt.make.core.contents 51 | org.eclipse.cdt.make.core.activeConfigSettings 52 | 53 | 54 | org.eclipse.cdt.make.core.enableAutoBuild 55 | false 56 | 57 | 58 | org.eclipse.cdt.make.core.enableCleanBuild 59 | true 60 | 61 | 62 | org.eclipse.cdt.make.core.enableFullBuild 63 | true 64 | 65 | 66 | org.eclipse.cdt.make.core.fullBuildTarget 67 | all 68 | 69 | 70 | org.eclipse.cdt.make.core.stopOnError 71 | true 72 | 73 | 74 | org.eclipse.cdt.make.core.useDefaultBuildCmd 75 | true 76 | 77 | 78 | 79 | 80 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 81 | full,incremental, 82 | 83 | 84 | 85 | 86 | 87 | org.eclipse.cdt.core.cnature 88 | org.eclipse.cdt.core.ccnature 89 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 90 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 91 | 92 | 93 | 94 | Classes 95 | 2 96 | PARENT-1-PROJECT_LOC/Classes 97 | 98 | 99 | 100 | 101 | 1345106176896 102 | Classes/ExtensionsTest 103 | 10 104 | 105 | org.eclipse.ui.ide.multiFilter 106 | 1.0-name-matches-true-false-EditBoxTest 107 | 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /proj.linux/Makefile: -------------------------------------------------------------------------------- 1 | EXECUTABLE = doudizhu 2 | 3 | INCLUDES = -I.. -I../Classes 4 | 5 | SOURCES = main.cpp \ 6 | ../Classes/AppDelegate.cpp \ 7 | ../Classes/HelloWorldScene.cpp 8 | 9 | COCOS_ROOT = ../../.. 10 | include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk 11 | 12 | SHAREDLIBS += -lcocos2d 13 | COCOS_LIBS = $(LIB_DIR)/libcocos2d.so 14 | 15 | $(TARGET): $(OBJECTS) $(STATICLIBS) $(COCOS_LIBS) $(CORE_MAKEFILE_LIST) 16 | @mkdir -p $(@D) 17 | $(LOG_LINK)$(CXX) $(CXXFLAGS) $(OBJECTS) -o $@ $(SHAREDLIBS) $(STATICLIBS) 18 | 19 | $(OBJ_DIR)/%.o: %.cpp $(CORE_MAKEFILE_LIST) 20 | @mkdir -p $(@D) 21 | $(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@ 22 | 23 | $(OBJ_DIR)/%.o: ../%.cpp $(CORE_MAKEFILE_LIST) 24 | @mkdir -p $(@D) 25 | $(LOG_CXX)$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES) $(VISIBILITY) -c $< -o $@ 26 | -------------------------------------------------------------------------------- /proj.linux/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TXTCOLOR_DEFAULT="\033[0;m" 4 | TXTCOLOR_RED="\033[0;31m" 5 | TXTCOLOR_GREEN="\033[0;32m" 6 | 7 | COCOS2DX20_TRUNK=`pwd`/../../.. 8 | OUTPUT_DEBUG=$COCOS2DX20_TRUNK/lib/linux/debug/ 9 | OUTPUT_RELEASE=$COCOS2DX20_TRUNK/lib/linux/release/ 10 | 11 | check_make_result() 12 | { 13 | if [ 0 != $? ]; then 14 | exit 1 15 | fi 16 | } 17 | 18 | DEPENDS='libx11-dev' 19 | DEPENDS+=' libxmu-dev' 20 | DEPENDS+=' libglu1-mesa-dev' 21 | DEPENDS+=' libgl2ps-dev' 22 | DEPENDS+=' libxi-dev' 23 | DEPENDS+=' libglfw-dev' 24 | DEPENDS+=' g++' 25 | DEPENDS+=' libzip-dev' 26 | DEPENDS+=' libcurl4-gnutls-dev' 27 | DEPENDS+=' libfontconfig1-dev' 28 | DEPENDS+=' libsqlite3-dev' 29 | DEPENDS+=' libglew-dev' 30 | 31 | for i in $DEPENDS; do 32 | PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $i | grep "install ok installed") 33 | echo Checking for $i: $PKG_OK 34 | if [ "" == "$PKG_OK" ]; then 35 | echo -e $TXTCOLOR_GREEN"No $i. Setting up $i, please enter your password:"$TXTCOLOR_DEFAULT 36 | sudo apt-get --force-yes --yes install $i 37 | fi 38 | done 39 | 40 | mkdir -p $OUTPUT_DEBUG 41 | mkdir -p $OUTPUT_RELEASE 42 | 43 | make -C $COCOS2DX20_TRUNK/external/Box2D/proj.linux DEBUG=1 44 | check_make_result 45 | 46 | make -C $COCOS2DX20_TRUNK/external/chipmunk/proj.linux DEBUG=1 47 | check_make_result 48 | 49 | make -C $COCOS2DX20_TRUNK/cocos2dx/proj.linux DEBUG=1 50 | check_make_result 51 | 52 | make -C $COCOS2DX20_TRUNK/CocosDenshion/proj.linux DEBUG=1 53 | check_make_result 54 | 55 | make -C $COCOS2DX20_TRUNK/extensions/proj.linux DEBUG=1 56 | check_make_result 57 | 58 | make DEBUG=1 59 | check_make_result 60 | -------------------------------------------------------------------------------- /proj.linux/main.cpp: -------------------------------------------------------------------------------- 1 | #include "../Classes/AppDelegate.h" 2 | #include "cocos2d.h" 3 | #include "CCEGLView.h" 4 | 5 | #include 6 | #include 7 | #include 8 | #include 9 | 10 | USING_NS_CC; 11 | 12 | int main(int argc, char **argv) 13 | { 14 | // create the application instance 15 | AppDelegate app; 16 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 17 | eglView->setFrameSize(800, 480); 18 | return CCApplication::sharedApplication()->run(); 19 | } 20 | -------------------------------------------------------------------------------- /proj.mac/AppController.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010 cocos2d-x.org 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | #pragma once 26 | 27 | #import "cocos2d.h" 28 | #import "EAGLView.h" 29 | 30 | @interface AppController : NSObject 31 | { 32 | NSWindow *window; 33 | EAGLView *glView; 34 | } 35 | 36 | @property (nonatomic, assign) IBOutlet NSWindow* window; 37 | @property (nonatomic, assign) IBOutlet EAGLView* glView; 38 | 39 | -(IBAction) toggleFullScreen:(id)sender; 40 | -(IBAction) exitFullScreen:(id)sender; 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /proj.mac/AppController.mm: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010 cocos2d-x.org 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | #import "AppController.h" 26 | #import "AppDelegate.h" 27 | 28 | @implementation AppController 29 | 30 | static AppDelegate s_sharedApplication; 31 | 32 | @synthesize window, glView; 33 | 34 | -(void) applicationDidFinishLaunching:(NSNotification *)aNotification 35 | { 36 | // create the window 37 | // note that using NSResizableWindowMask causes the window to be a little 38 | // smaller and therefore ipad graphics are not loaded 39 | NSRect rect = NSMakeRect(200, 200, 480, 320); 40 | window = [[NSWindow alloc] initWithContentRect:rect 41 | styleMask:( NSClosableWindowMask | NSTitledWindowMask ) 42 | backing:NSBackingStoreBuffered 43 | defer:YES]; 44 | 45 | NSOpenGLPixelFormatAttribute attributes[] = { 46 | NSOpenGLPFADoubleBuffer, 47 | NSOpenGLPFADepthSize, 24, 48 | NSOpenGLPFAStencilSize, 8, 49 | 0 50 | }; 51 | 52 | NSOpenGLPixelFormat *pixelFormat = [[[NSOpenGLPixelFormat alloc] initWithAttributes:attributes] autorelease]; 53 | 54 | // allocate our GL view 55 | // (isn't there already a shared EAGLView?) 56 | glView = [[EAGLView alloc] initWithFrame:rect pixelFormat:pixelFormat]; 57 | 58 | // set window parameters 59 | [window becomeFirstResponder]; 60 | [window setContentView:glView]; 61 | [window setTitle:@"HelloCpp"]; 62 | [window makeKeyAndOrderFront:self]; 63 | [window setAcceptsMouseMovedEvents:NO]; 64 | 65 | cocos2d::CCApplication::sharedApplication()->run(); 66 | } 67 | 68 | -(BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication*)theApplication 69 | { 70 | return YES; 71 | } 72 | 73 | -(void) dealloc 74 | { 75 | cocos2d::CCDirector::sharedDirector()->end(); 76 | [super dealloc]; 77 | } 78 | 79 | #pragma mark - 80 | #pragma mark IB Actions 81 | 82 | -(IBAction) toggleFullScreen:(id)sender 83 | { 84 | EAGLView* pView = [EAGLView sharedEGLView]; 85 | [pView setFullScreen:!pView.isFullScreen]; 86 | } 87 | 88 | -(IBAction) exitFullScreen:(id)sender 89 | { 90 | [[EAGLView sharedEGLView] setFullScreen:NO]; 91 | } 92 | 93 | @end 94 | -------------------------------------------------------------------------------- /proj.mac/Icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.mac/Icon.icns -------------------------------------------------------------------------------- /proj.mac/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | Icon 11 | CFBundleIdentifier 12 | com.game.doudizhu 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSMinimumSystemVersion 26 | ${MACOSX_DEPLOYMENT_TARGET} 27 | NSHumanReadableCopyright 28 | Copyright © 2012. All rights reserved. 29 | NSMainNibFile 30 | MainMenu 31 | NSPrincipalClass 32 | NSApplication 33 | 34 | 35 | -------------------------------------------------------------------------------- /proj.mac/Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /proj.mac/doudizhu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /proj.mac/doudizhu.xcodeproj/project.xcworkspace/xcuserdata/hushencheng.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.mac/doudizhu.xcodeproj/project.xcworkspace/xcuserdata/hushencheng.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /proj.mac/doudizhu.xcodeproj/xcuserdata/hushencheng.xcuserdatad/xcschemes/doudizhu.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 39 | 40 | 41 | 42 | 51 | 52 | 58 | 59 | 60 | 61 | 62 | 63 | 69 | 70 | 76 | 77 | 78 | 79 | 81 | 82 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /proj.mac/doudizhu.xcodeproj/xcuserdata/hushencheng.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | doudizhu.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 1D6058900D05DD3D006BFB54 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /proj.mac/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /proj.mac/main.m: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010 cocos2d-x.org 3 | 4 | http://www.cocos2d-x.org 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | ****************************************************************************/ 24 | 25 | #import 26 | 27 | int main(int argc, char *argv[]) 28 | { 29 | return NSApplicationMain(argc, (const char **)argv); 30 | } 31 | -------------------------------------------------------------------------------- /proj.marmalade/doudizhu.mkb: -------------------------------------------------------------------------------- 1 | options 2 | { 3 | module_path="../../../cocos2dx/proj.marmalade/;../../../CocosDenshion/proj.marmalade/;../../../extensions/proj.marmalade/;../../../external/chipmunk/proj.marmalade/;../../../external/Box2D/proj.marmalade/" 4 | s3e-data-dir = "../Resources/" 5 | } 6 | 7 | includepaths 8 | { 9 | ../Classes 10 | } 11 | subprojects 12 | { 13 | IwGL 14 | cocos2dx 15 | cocos2dx-ext 16 | Box2D 17 | CocosDenshion 18 | # chipmunk 19 | } 20 | 21 | defines 22 | { 23 | CC_ENABLE_BOX2D_INTEGRATION=1 24 | } 25 | assets 26 | { 27 | (../Resources) 28 | } 29 | 30 | files 31 | { 32 | [Main] 33 | (src) 34 | Main.h 35 | Main.cpp 36 | 37 | (../Classes) 38 | AppDelegate.cpp 39 | AppDelegate.h 40 | HelloWorldScene.cpp 41 | HelloWorldScene.h 42 | 43 | } 44 | 45 | 46 | -------------------------------------------------------------------------------- /proj.marmalade/src/Main.cpp: -------------------------------------------------------------------------------- 1 | // Application main file. 2 | 3 | #include "Main.h" 4 | #include "../Classes/AppDelegate.h" 5 | 6 | // Cocos2dx headers 7 | #include "cocos2d.h" 8 | 9 | // Marmaladeheaders 10 | #include "IwGL.h" 11 | 12 | USING_NS_CC; 13 | 14 | int main() 15 | { 16 | AppDelegate app; 17 | 18 | return cocos2d::CCApplication::sharedApplication()->Run(); 19 | } 20 | -------------------------------------------------------------------------------- /proj.marmalade/src/Main.h: -------------------------------------------------------------------------------- 1 | #ifndef MAIN_H 2 | #define MAIN_H 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /proj.tizen/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | proj.tizen 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | 11 | 12 | ?name? 13 | 14 | 15 | 16 | org.eclipse.cdt.make.core.append_environment 17 | true 18 | 19 | 20 | org.eclipse.cdt.make.core.autoBuildTarget 21 | all 22 | 23 | 24 | org.eclipse.cdt.make.core.buildArguments 25 | 26 | 27 | 28 | org.eclipse.cdt.make.core.buildCommand 29 | sbi-make 30 | 31 | 32 | org.eclipse.cdt.make.core.buildLocation 33 | ${workspace_loc:/${ProjName}/Debug-Tizen-Device} 34 | 35 | 36 | org.eclipse.cdt.make.core.cleanBuildTarget 37 | clean 38 | 39 | 40 | org.eclipse.cdt.make.core.contents 41 | org.eclipse.cdt.make.core.activeConfigSettings 42 | 43 | 44 | org.eclipse.cdt.make.core.enableAutoBuild 45 | true 46 | 47 | 48 | org.eclipse.cdt.make.core.enableCleanBuild 49 | true 50 | 51 | 52 | org.eclipse.cdt.make.core.enableFullBuild 53 | true 54 | 55 | 56 | org.eclipse.cdt.make.core.fullBuildTarget 57 | all 58 | 59 | 60 | org.eclipse.cdt.make.core.stopOnError 61 | true 62 | 63 | 64 | org.eclipse.cdt.make.core.useDefaultBuildCmd 65 | true 66 | 67 | 68 | 69 | 70 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 71 | full,incremental, 72 | 73 | 74 | 75 | 76 | org.tizen.nativecpp.apichecker.core.builder 77 | 78 | 79 | 80 | 81 | 82 | org.eclipse.cdt.core.cnature 83 | org.eclipse.cdt.core.ccnature 84 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 85 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 86 | org.tizen.nativecpp.apichecker.core.tizenCppNature 87 | 88 | 89 | 90 | src/Classes 91 | 2 92 | PARENT-1-PROJECT_LOC/Classes 93 | 94 | 95 | 96 | 97 | 1372995128994 98 | 99 | 26 100 | 101 | org.eclipse.ui.ide.multiFilter 102 | 1.0-projectRelativePath-matches-false-false-*/.tpk 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /proj.tizen/README.mdown: -------------------------------------------------------------------------------- 1 | HelloCpp for Tizen 2 | ================== 3 | 4 | * Create Tizen IDE workspace in cocos2d-x/samples/Cpp/HelloCpp 5 | * Import proj.tizen 6 | * Copy cocos2d-x/samples/Cpp/HelloCpp/Resources/*.* to cocos2d-x/samples/Cpp/HelloCpp/proj.tizen/res 7 | -------------------------------------------------------------------------------- /proj.tizen/data/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/data/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/inc/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/inc/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/lib/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/lib/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ea48obap0R 4 | 1.0.0 5 | C++App 6 | 7 | true 8 | 9 | 10 | 2.2 11 | 12 | 13 | 14 | 15 | 16 | doudizhu 17 | 18 | 19 | mainmenu.png 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /proj.tizen/res/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/res/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/shared/data/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/shared/data/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/shared/res/screen-density-xhigh/mainmenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/shared/res/screen-density-xhigh/mainmenu.png -------------------------------------------------------------------------------- /proj.tizen/shared/trusted/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.tizen/shared/trusted/.gitkeep -------------------------------------------------------------------------------- /proj.tizen/src/HelloCppEntry.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2013 cocos2d-x.org 3 | Copyright (c) 2013 Lee, Jae-Hong 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | 26 | // 27 | // This file contains the Tizen application entry point. 28 | // 29 | #include "../../Classes/AppDelegate.h" 30 | #include "cocos2d.h" 31 | 32 | USING_NS_CC; 33 | 34 | using namespace Tizen::Base; 35 | using namespace Tizen::Base::Collection; 36 | 37 | #ifdef __cplusplus 38 | extern "C" 39 | { 40 | #endif // __cplusplus 41 | 42 | void 43 | ApplicationInitialized(void) 44 | { 45 | AppDelegate* pAppDelegate = new AppDelegate; 46 | 47 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 48 | eglView->setFrameSize(1280, 720); 49 | 50 | CCApplication::sharedApplication()->run(); 51 | } 52 | 53 | // 54 | // The entry function of Tizen application called by the operating system. 55 | // 56 | _EXPORT_ int 57 | OspMain(int argc, char *pArgv[]) 58 | { 59 | AppLog("Application started."); 60 | ArrayList args(SingleObjectDeleter); 61 | args.Construct(); 62 | for (int i = 0; i < argc; i++) 63 | { 64 | args.Add(new (std::nothrow) String(pArgv[i])); 65 | } 66 | 67 | CCOspApplication::SetApplicationInitializedCallback(ApplicationInitialized); 68 | CCOspApplication::SetScreenOrientation(Tizen::Ui::ORIENTATION_LANDSCAPE); 69 | result r = Tizen::App::Application::Execute(CCOspApplication::CreateInstance, &args); 70 | TryLog(r == E_SUCCESS, "[%s] Application execution failed", GetErrorMessage(r)); 71 | AppLog("Application finished."); 72 | 73 | return static_cast(r); 74 | } 75 | #ifdef __cplusplus 76 | } 77 | #endif // __cplusplus 78 | -------------------------------------------------------------------------------- /proj.win32/doudizhu.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {84a8ebd7-7cf0-47f6-b75e-d441df67da40} 6 | 7 | 8 | {bb6c862e-70e9-49d9-81b7-3829a6f50471} 9 | 10 | 11 | 12 | 13 | win32 14 | 15 | 16 | Classes 17 | 18 | 19 | Classes 20 | 21 | 22 | 23 | 24 | win32 25 | 26 | 27 | Classes 28 | 29 | 30 | Classes 31 | 32 | 33 | -------------------------------------------------------------------------------- /proj.win32/doudizhu.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(ProjectDir)..\Resources 5 | WindowsLocalDebugger 6 | 7 | 8 | $(ProjectDir)..\Resources 9 | WindowsLocalDebugger 10 | 11 | -------------------------------------------------------------------------------- /proj.win32/main.cpp: -------------------------------------------------------------------------------- 1 | #include "main.h" 2 | #include "AppDelegate.h" 3 | #include "CCEGLView.h" 4 | 5 | USING_NS_CC; 6 | 7 | int APIENTRY _tWinMain(HINSTANCE hInstance, 8 | HINSTANCE hPrevInstance, 9 | LPTSTR lpCmdLine, 10 | int nCmdShow) 11 | { 12 | UNREFERENCED_PARAMETER(hPrevInstance); 13 | UNREFERENCED_PARAMETER(lpCmdLine); 14 | 15 | // create the application instance 16 | AppDelegate app; 17 | CCEGLView* eglView = CCEGLView::sharedOpenGLView(); 18 | eglView->setViewName("doudizhu"); 19 | eglView->setFrameSize(480, 320); 20 | return CCApplication::sharedApplication()->run(); 21 | } 22 | -------------------------------------------------------------------------------- /proj.win32/main.h: -------------------------------------------------------------------------------- 1 | #ifndef __MAIN_H__ 2 | #define __MAIN_H__ 3 | 4 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 5 | 6 | // Windows Header Files: 7 | #include 8 | #include 9 | 10 | // C RunTime Header Files 11 | #include "CCStdC.h" 12 | 13 | #endif // __MAIN_H__ 14 | -------------------------------------------------------------------------------- /proj.winrt/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /proj.winrt/App.xaml.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010-2013 cocos2d-x.org 3 | Copyright (c) Microsoft Open Technologies, Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | // 26 | // App.xaml.cpp 27 | // Implementation of the App class. 28 | // 29 | 30 | #include "pch.h" 31 | #include "MainPage.xaml.h" 32 | 33 | using namespace doudizhu; 34 | 35 | using namespace Platform; 36 | using namespace Windows::ApplicationModel; 37 | using namespace Windows::ApplicationModel::Activation; 38 | using namespace Windows::Foundation; 39 | using namespace Windows::Foundation::Collections; 40 | using namespace Windows::Storage; 41 | using namespace Windows::UI::Xaml; 42 | using namespace Windows::UI::Xaml::Controls; 43 | using namespace Windows::UI::Xaml::Controls::Primitives; 44 | using namespace Windows::UI::Xaml::Data; 45 | using namespace Windows::UI::Xaml::Input; 46 | using namespace Windows::UI::Xaml::Interop; 47 | using namespace Windows::UI::Xaml::Media; 48 | using namespace Windows::UI::Xaml::Navigation; 49 | 50 | /// 51 | /// Initializes the singleton application object. This is the first line of authored code 52 | /// executed, and as such is the logical equivalent of main() or WinMain(). 53 | /// 54 | App::App() 55 | { 56 | InitializeComponent(); 57 | Suspending += ref new SuspendingEventHandler(this, &App::OnSuspending); 58 | } 59 | 60 | /// 61 | /// Invoked when the application is launched normally by the end user. Other entry points 62 | /// will be used when the application is launched to open a specific file, to display 63 | /// search results, and so forth. 64 | /// 65 | /// Details about the launch request and process. 66 | void App::OnLaunched(LaunchActivatedEventArgs^ args) 67 | { 68 | m_mainPage = ref new MainPage(); 69 | 70 | if (args->PreviousExecutionState == ApplicationExecutionState::Terminated) 71 | { 72 | m_mainPage->LoadInternalState(ApplicationData::Current->LocalSettings->Values); 73 | } 74 | 75 | // Place the page in the current window and ensure that it is active. 76 | Window::Current->Content = m_mainPage; 77 | Window::Current->Activate(); 78 | } 79 | 80 | /// 81 | /// Invoked when the application is being suspended. 82 | /// 83 | /// Details about the origin of the event. 84 | /// Details about the suspending event. 85 | void App::OnSuspending(Object^ sender, SuspendingEventArgs^ args) 86 | { 87 | (void) sender; // Unused parameter. 88 | (void) args; // Unused parameter. 89 | 90 | m_mainPage->SaveInternalState(ApplicationData::Current->LocalSettings->Values); 91 | } -------------------------------------------------------------------------------- /proj.winrt/App.xaml.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | Copyright (c) 2010-2013 cocos2d-x.org 3 | Copyright (c) Microsoft Open Technologies, Inc. 4 | 5 | http://www.cocos2d-x.org 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | ****************************************************************************/ 25 | // 26 | // App.xaml.h 27 | // Declaration of the App class. 28 | // 29 | 30 | #pragma once 31 | 32 | #include "App.g.h" 33 | #include "MainPage.xaml.h" 34 | 35 | namespace doudizhu 36 | { 37 | /// 38 | /// Provides application-specific behavior to supplement the default Application class. 39 | /// 40 | ref class App sealed 41 | { 42 | public: 43 | App(); 44 | virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ args) override; 45 | 46 | private: 47 | void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ args); 48 | MainPage^ m_mainPage; 49 | }; 50 | } 51 | -------------------------------------------------------------------------------- /proj.winrt/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.winrt/Assets/Logo.png -------------------------------------------------------------------------------- /proj.winrt/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.winrt/Assets/SmallLogo.png -------------------------------------------------------------------------------- /proj.winrt/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.winrt/Assets/SplashScreen.png -------------------------------------------------------------------------------- /proj.winrt/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.winrt/Assets/StoreLogo.png -------------------------------------------------------------------------------- /proj.winrt/Assets/WideLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coderHsc/doudizhu/2e0468ef1ff592e79b86d3898473b992b5933f60/proj.winrt/Assets/WideLogo.png -------------------------------------------------------------------------------- /proj.winrt/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 |