mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
Merge pull request #181 from cgytrus/some-funcs
Add some funcs to bindings, add missing func to CCEGLView
This commit is contained in:
commit
892851c6f9
3 changed files with 31 additions and 3 deletions
|
@ -288,6 +288,8 @@ class cocos2d::CCIMEDispatcher {
|
|||
class cocos2d::CCImage {
|
||||
CCImage() = mac 0x24fa00;
|
||||
virtual ~CCImage() = mac 0x24fa80;
|
||||
auto initWithImageFile(const char*, cocos2d::CCImage::EImageFormat imageType);
|
||||
auto initWithImageFileThreadSafe(const char*, cocos2d::CCImage::EImageFormat imageType);
|
||||
auto initWithImageData(void*, int, cocos2d::CCImage::EImageFormat, int, int, int) = mac 0x24fcb0;
|
||||
}
|
||||
|
||||
|
@ -929,6 +931,8 @@ class cocos2d::CCTexture2D {
|
|||
auto initWithData(void const*, cocos2d::CCTexture2DPixelFormat, unsigned int, unsigned int, cocos2d::CCSize const&) = mac 0x2465d0;
|
||||
auto setAliasTexParameters() = mac 0x247a20;
|
||||
auto setAntiAliasTexParameters() = mac 0x247a80;
|
||||
static void setDefaultAlphaPixelFormat(cocos2d::CCTexture2DPixelFormat);
|
||||
static cocos2d::CCTexture2DPixelFormat defaultAlphaPixelFormat();
|
||||
auto setMaxS(float) = mac 0x2464f0;
|
||||
auto setMaxT(float) = mac 0x246510;
|
||||
auto setShaderProgram(cocos2d::CCGLProgram*) = mac 0x246530;
|
||||
|
|
|
@ -5555,9 +5555,27 @@ class UploadPopupDelegate {
|
|||
class UserInfoDelegate {}
|
||||
|
||||
class VideoOptionsLayer : FLAlertLayer {
|
||||
PAD = win 0x18;
|
||||
VideoOptionsLayer* create() = win 0x1e0d70;
|
||||
bool init() = win 0x1e0e10;
|
||||
void onAdvanced(cocos2d::CCObject*) = win 0x1e1b40;
|
||||
void onFullscreen(cocos2d::CCObject*) = win 0x1e1b60;
|
||||
void onTextureQualityNext(cocos2d::CCObject*) = win 0x1e1b80;
|
||||
void onTextureQualityPrev(cocos2d::CCObject*) = win 0x1e1b90;
|
||||
void updateTextureQuality(int index) = win 0x1e1ba0;
|
||||
void onResolutionPrev(cocos2d::CCObject*) = win 0x1e1c40;
|
||||
void onResolutionNext(cocos2d::CCObject*) = win 0x1e1c50;
|
||||
void updateResolution(int index) = win 0x1e1c60;
|
||||
void toggleResolution() = win 0x1e1d90;
|
||||
void onApply(cocos2d::CCObject*) = win 0x1e1e70;
|
||||
|
||||
CCMenuItemSpriteExtra* m_prevResolution;
|
||||
CCMenuItemSpriteExtra* m_nextResolution;
|
||||
cocos2d::CCLabelBMFont* m_resolutionLabel;
|
||||
cocos2d::CCLabelBMFont* m_resolutionText;
|
||||
cocos2d::CCLabelBMFont* m_qualityLabel;
|
||||
cocos2d::TextureQuality m_quality;
|
||||
cocos2d::CCArray* m_resolutions;
|
||||
PAD = win 0x4;
|
||||
bool m_isFullscreen;
|
||||
int m_currentResolution;
|
||||
}
|
||||
|
||||
|
|
|
@ -153,7 +153,13 @@ protected:
|
|||
RT_ADD(
|
||||
GLFWwindow* m_pMainWindow;
|
||||
GLFWmonitor* m_pPrimaryMonitor;
|
||||
CCSize m_obWindowedSize;
|
||||
)
|
||||
public:
|
||||
RT_ADD(
|
||||
CC_SYNTHESIZE_NV(CCSize, m_obWindowedSize, WindowedSize);
|
||||
)
|
||||
protected:
|
||||
RT_ADD(
|
||||
float m_fMouseX;
|
||||
float m_fMouseY;
|
||||
bool m_bIsFullscreen;
|
||||
|
|
Loading…
Reference in a new issue