cocos2dx/platform
sssss年
这个作者很懒,什么都没留下…
展开
-
CCPlatformConfig(设置运行平台 iOS android win32等。。。)
#ifndef __CC_PLATFORM_CONFIG_H__#define __CC_PLATFORM_CONFIG_H__/**Config of cocos2d-x project, per target platform.*/////////////////////////////////////////////////////////////原创 2014-06-03 10:29:49 · 4062 阅读 · 0 评论 -
CCPlatformMacros(平台宏 CREATE_FUNC USING_NS_CC CC_PROPERTY_READONLY等属性 CC_SAFE_DELETE)
#ifndef __CC_PLATFORM_MACROS_H__#define __CC_PLATFORM_MACROS_H__/** * define some platform specific macros */#include "ccConfig.h"#include "CCPlatformConfig.h"#include "CCPlatformD原创 2014-05-23 10:34:57 · 1397 阅读 · 0 评论 -
CCDevice(设备类 。static int getDPI(); //得到设备分辨率 DPI表示分辨率,指每英寸长度上的点数)
#ifndef __CCDEVICE_H__#define __CCDEVICE_H__#include "CCPlatformMacros.h"NS_CC_BEGINclass CC_DLL CCDevice{private: CCDevice();public: /** * Gets the DP原创 2014-05-23 10:36:48 · 985 阅读 · 0 评论 -
CCApplicationProtocol(以下纯虚:应用开始函数applicationDidFinishLauncing-负责初始化导演场景、应用进入后台、前台函数、帧数设置函数、得到当前语言、平台
#ifndef __CC_APPLICATION_PROTOCOL_H__#define __CC_APPLICATION_PROTOCOL_H__NS_CC_BEGINenum TargetPlatform{ kTargetWindows, kTargetLinux, kTargetMacOS,原创 2014-05-23 10:37:32 · 739 阅读 · 0 评论 -
CCCommon(CCLog CCLuaLog CCMessageBox)
#ifndef __CC_COMMON_H__#define __CC_COMMON_H__#include "CCPlatformMacros.h"NS_CC_BEGIN/** * @addtogroup platform * @{ *//// The max length of CCLog message.st原创 2014-05-23 10:37:05 · 1158 阅读 · 0 评论 -
CCAccelerometerDelegate(重力感应消息委托)
#ifndef __CCACCELEROMETER_DELEGATE_H__#define __CCACCELEROMETER_DELEGATE_H__#include "CCCommon.h"NS_CC_BEGIN/**@brief The device accelerometer reports values for each axis in uni原创 2014-05-23 10:37:46 · 783 阅读 · 0 评论 -
CCImageCommon_cpp(读取加载图片)
#ifndef __CC_PLATFORM_IMAGE_CPP__#error "CCFileUtilsCommon_cpp.h can only be included for CCFileUtils.cpp in platform/win32(android,...)"#endif /* __CC_PLATFORM_IMAGE_CPP__ */#includ转载 2014-05-23 10:35:44 · 972 阅读 · 0 评论 -
CCImage(读取加载图片)
#ifndef __CC_IMAGE_H__#define __CC_IMAGE_H__#include "cocoa/CCObject.h"NS_CC_BEGIN/** * @addtogroup platform * @{ */class CC_DLL CCImage :publ转载 2014-05-23 10:36:04 · 1754 阅读 · 0 评论 -
android/jni
http://blog.csdn.net/kepoon/article/details/8454498http://www.myexception.cn/operating-system/1444129.htmlhttp://blog.csdn.net/dj0379/article/details/18217323原创 2014-07-17 20:24:54 · 709 阅读 · 0 评论 -
android/JniHelper
#ifndef __ANDROID_JNI_HELPER_H__#define __ANDROID_JNI_HELPER_H__#include #include #include "platform/CCPlatformMacros.h"NS_CC_BEGINtypedef struct JniMethodInfo_{ J原创 2014-07-18 18:13:29 · 1556 阅读 · 0 评论 -
platform
#ifndef __PLATFORM_H__#define __PLATFORM_H__#include "CCThread.h"#include "CCPlatformMacros.h"NS_CC_BEGIN/** * @addtogroup platform * @{ */struct CC_DLL cc_ti原创 2014-05-23 10:31:36 · 697 阅读 · 0 评论 -
CCImageCommonWebp
#include "platform/CCImage.h"#include "textures/CCTexture2D.h"#if defined(__native_client__) || defined(EMSCRIPTEN)// TODO(sbc): I'm pretty sure all platforms should be including// webph heade原创 2014-05-23 10:35:16 · 683 阅读 · 0 评论 -
CCThread(On iOS, should create autorelease pool when create a new thread)
#ifndef __CC_PLATFORM_THREAD_H__#define __CC_PLATFORM_THREAD_H__#include "CCCommon.h"#include "CCPlatformMacros.h"NS_CC_BEGIN/** * @addtogroup platform * @{ */原创 2014-05-23 10:31:49 · 786 阅读 · 0 评论 -
CCSAXParser(可以用来读xml等)
#ifndef __CCSAXPARSER_H__#define __CCSAXPARSER_H__#include "CCPlatformConfig.h"#include "CCCommon.h"NS_CC_BEGIN/** * @addtogroup platform * @{ */typedef unsig原创 2014-05-23 10:32:12 · 861 阅读 · 0 评论 -
third_party/
第三方支持原创 2014-07-15 16:51:32 · 621 阅读 · 0 评论 -
CCEGLViewProtocol(窗口协议 各个平台会继承这个类重写一个子类来具体实现窗口创建)
#ifndef __CC_FILEUTILS_H__#define __CC_FILEUTILS_H__#include #include #include #include "CCPlatformMacros.h"#include "ccTypes.h"#include "ccTypeInfo.h"NS_CC转载 2014-05-23 10:36:24 · 1074 阅读 · 0 评论