Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
some change
Browse files Browse the repository at this point in the history
  • Loading branch information
camila314 committed Jul 13, 2021
1 parent 5232efc commit f15bcd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion to_copy/Cacao/include/cc_defs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ class GJListLayer : public GDObj {

};

class OBB2D : public cocos2d::CCNode {
public:
cocos2d::CCRect getBoundingRect();
};

class GJGameLevel : public cocos2d::CCNode, public GDObj {
public:
static GJGameLevel* create();
Expand Down Expand Up @@ -198,6 +203,7 @@ class GameObject : public CCSpritePlus, public GDObj{
static GameObject* objectFromString(std::string str, bool ldm);
CLASS_PARAM(int, type, 0x370);
CLASS_PARAM(int, id, 0x3c4);
CLASS_PARAM(OBB2D*, hitbox, 0x2b0);
CLASS_PARAM(bool, inEditLayer, 0x279);
CLASS_PARAM(cocos2d::CCPoint, startPos, 0x37c);
CLASS_PARAM(bool, touchTriggered, 0x378);
Expand All @@ -220,7 +226,7 @@ class GameObject : public CCSpritePlus, public GDObj{
virtual void triggerObject(GJBaseGameLayer*);
virtual void activateObject();
virtual void deactivateObject(bool);
virtual void getObjectRect();
virtual cocos2d::CCRect* getObjectRect();
virtual void getObjectRect(float, float);
virtual void getObjectRect2(float, float);
virtual void getObjectTextureRect();
Expand Down Expand Up @@ -296,6 +302,7 @@ class PlayerObject : public GameObject {
void setSecondColor(cocos2d::_ccColor3B const&);
void flipGravity(bool, bool);
void pushButton(int);
CLASS_PARAM(double, gravity, 0x618);
CLASS_PARAM(cocos2d::_ccColor3B, pCol1, 0x7c2);
CLASS_PARAM(cocos2d::_ccColor3B, pCol2, 0x7c5);
CLASS_PARAM(double, yAccel, 0x760);
Expand Down
Binary file modified to_copy/Cacao/static/libCacao.a
Binary file not shown.

0 comments on commit f15bcd7

Please sign in to comment.