File tree 5 files changed +64
-23
lines changed
5 files changed +64
-23
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ LOCAL_EXPORT_C_INCLUDES := $(MAIN_LOCAL_PATH) \
8
8
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/include \
9
9
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/platform \
10
10
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/platform/android \
11
- $(MAIN_LOCAL_PATH ) /libs/cocos2dx/kazmath/include
11
+ $(MAIN_LOCAL_PATH ) /libs/cocos2dx/kazmath/include \
12
+ $(MAIN_LOCAL_PATH ) /libs/gd
12
13
LOCAL_SRC_FILES := ${MAIN_LOCAL_PATH}/include/libcocos2dcpp.so
13
14
include $(PREBUILT_SHARED_LIBRARY )
14
15
@@ -25,7 +26,8 @@ LOCAL_C_INCLUDES += $(MAIN_LOCAL_PATH) \
25
26
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/include \
26
27
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/platform \
27
28
$(MAIN_LOCAL_PATH ) /libs/cocos2dx/platform/android \
28
- $(MAIN_LOCAL_PATH ) /libs/cocos2dx/kazmath/include
29
+ $(MAIN_LOCAL_PATH ) /libs/cocos2dx/kazmath/include \
30
+ $(MAIN_LOCAL_PATH ) /libs/gd
29
31
30
32
LOCAL_SRC_FILES := src/main.cpp \
31
33
libs/hook/inlineHook.c \
Original file line number Diff line number Diff line change
1
+ #ifndef CREATORLAYER_H
2
+ #define CREATORLAYER_H
3
+ #include < cocos2d.h>
4
+
5
+ class CreatorLayer : public cocos2d ::CCNode {
6
+ public:
7
+ static cocos2d::CCScene* scene ();
8
+ static cocos2d::CCLayer* create ();
9
+ void onTreasureRoom (cocos2d::CCObject* pSender);
10
+ void onSecretVault (cocos2d::CCObject* pSender);
11
+ void onChallenge (cocos2d::CCObject* pSender);
12
+ void onWeeklyLevel (cocos2d::CCObject* pSender);
13
+ void onGauntlets (cocos2d::CCObject* pSender);
14
+ void onMapPacks (cocos2d::CCObject* pSender);
15
+ void onFameLevels (cocos2d::CCObject* pSender);
16
+ void onOnlineLevels (cocos2d::CCObject* pSender);
17
+ void onLeaderboards (cocos2d::CCObject* pSender);
18
+ void onSavedLevels (cocos2d::CCObject* pSender);
19
+ void onMyLevels (cocos2d::CCObject* pSender);
20
+ void onDailyLevel (cocos2d::CCObject* pSender);
21
+ void onFeaturedLevels (cocos2d::CCObject* pSender);
22
+ bool init ();
23
+ };
24
+ #endif
Original file line number Diff line number Diff line change
1
+ #ifndef MENULAYER_H
2
+ #define MENULAYER_H
3
+ #include < cocos2d.h>
4
+
5
+ class MenuLayer : public cocos2d ::CCNode {
6
+ public:
7
+ void endGame ();
8
+ void onYouTube (cocos2d::CCObject*);
9
+ void onTwitter (cocos2d::CCObject*);
10
+ void onFacebook (cocos2d::CCObject*);
11
+ void onRobTop (cocos2d::CCObject*);
12
+ void onNewgrounds (cocos2d::CCObject*);
13
+ void onStats (cocos2d::CCObject*);
14
+ void onEveryplay (cocos2d::CCObject*);
15
+ void syncPlatformAchievements (float );
16
+ void onAchievements (cocos2d::CCObject*);
17
+ void onMoreGames (cocos2d::CCObject*);
18
+ void onDaily (cocos2d::CCObject*);
19
+ void onMyProfile (cocos2d::CCObject*);
20
+ static cocos2d::CCNode* node (void );
21
+ static cocos2d::CCScene* scene (bool );
22
+ void updateUserProfileButton (void );
23
+ bool init ();
24
+ void onGameCenter (cocos2d::CCObject*);
25
+ void openOptions (bool );
26
+ void onOptionsInstant ();
27
+ void onOptions (cocos2d::CCObject*);
28
+ void onQuit (cocos2d::CCObject*);
29
+ void onGarage (cocos2d::CCObject*);
30
+ void onCreator (cocos2d::CCObject*);
31
+ void onPlay (cocos2d::CCObject*);
32
+ };
33
+ #endif
Original file line number Diff line number Diff line change
1
+ #include "CreatorLayer.h"
2
+ #include "MenuLayer.h"
Original file line number Diff line number Diff line change 2
2
#include < cstdlib>
3
3
#include < dlfcn.h>
4
4
#include < cocos2d.h>
5
+ #include < gd.h>
5
6
#include " libs/hook/inlineHook.h"
6
7
7
8
using namespace cocos2d ;
8
9
9
- // OMg BLaCkteA
10
- class CreatorLayer : public CCLayer {
11
- public:
12
- static CCScene* scene ();
13
- static CCLayer* create ();
14
- void onTreasureRoom (CCObject* pSender);
15
- void onSecretVault (CCObject* pSender);
16
- void onChallenge (CCObject* pSender);
17
- void onWeeklyLevel (CCObject* pSender);
18
- void onGauntlets (CCObject* pSender);
19
- void onMapPacks (CCObject* pSender);
20
- void onFameLevels (CCObject* pSender);
21
- void onOnlineLevels (CCObject* pSender);
22
- void onLeaderboards (CCObject* pSender);
23
- void onSavedLevels (CCObject* pSender);
24
- void onMyLevels (CCObject* pSender);
25
- void onDailyLevel (CCObject* pSender);
26
- void onFeaturedLevels (CCObject* pSender);
27
- bool init ();
28
- };
29
-
30
10
namespace h_menuLayer {
31
11
void * (*o_init)(CCLayer*);
32
12
void * init (CCLayer* self) {
You can’t perform that action at this time.
0 commit comments