diff options
Diffstat (limited to 'src/objkinoko.cpp')
-rw-r--r-- | src/objkinoko.cpp | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/objkinoko.cpp b/src/objkinoko.cpp index baa069d..f8fe4d8 100644 --- a/src/objkinoko.cpp +++ b/src/objkinoko.cpp @@ -1,61 +1,6 @@ #include <game.h> #include <g3dhax.h> -class BasicCollider { - public: - BasicCollider(); - - virtual ~BasicCollider(); - virtual void update(); - virtual void _vf10(); - virtual void _vf14(); - - void clear(); - void addToList(); - void removeFromList(); - - - dStageActor_c *owner; - BasicCollider *prev, *next; - /* dRSomething */ void *ptrToRSomething; - - float rightX, rightY, leftX, leftY; - float xDiff, yDiff; - float lastLeftX, lastLeftY; - float lineLength; - float leftXDeltaSinceLastCalculation; - - u32 flags; - s16 rotation; - u8 type; - u8 _43; - u8 isInList; - u8 _45, _46, _47, _48, _49, _4A; -}; - -class StandOnTopCollider : public BasicCollider { - public: - StandOnTopCollider(); - - void update(); - - void init(dStageActor_c *owner, - float _4C, float _50, float topYOffset, - float rightSize, float leftSize, - s16 rotation, u8 unk_45, Vec2 *scale = 0); - - void init(dStageActor_c *owner, - Vec2 *fields4C_50, float topYOffset, - float rightSize, float leftSize, - s16 rotation, u8 unk_45, Vec2 *scale = 0); - - void setLeftAndRight(float left, float right); - void setLeftAndRightScaled(float left, float right, float scaleFactor); - - // 4C and 50 might be X/Y offset. Not affected by rotation - float _4C, _50, topYOffset, rightSize, leftSize; -}; - class SomethingAboutShrooms { public: |