Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions include/game/bases/d_3d.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once
#include <game/mLib/m_3d.hpp>

namespace d3d {

class proc_c : public m3d::proc_c {

};

} // namespace d3d
9 changes: 8 additions & 1 deletion include/game/bases/d_a_player.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,15 @@ class dAcPy_c : public daPlBase_c {

bool FUN_8012e540(dActor_c *, bool); ///< @unofficial

char mPad[0x15e8];
u8 mPad1[0x44];
u32 m_44;
u8 mPad2[0x54];
mVec3_c mBgRelatedPos;
u8 mPad3[0x4];
s8 mScrollMode;
u8 mPad4[0x1538];
fBaseID_e mCarryActorID;
s8 mPowerup;

static const float msc_JUMP_SPEED;
};
6 changes: 5 additions & 1 deletion include/game/bases/d_a_player_demo_manager.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#pragma once

#include <types.h>

class daPyDemoMng_c {
public:
char filler[0x80];
u8 mPad1[0x10];
u32 mFlags;
u8 mPad2[0x6c];
int mPlNo;

static daPyDemoMng_c *mspInstance;
Expand Down
6 changes: 5 additions & 1 deletion include/game/bases/d_a_player_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@

class daPyMng_c {
public:
static void changeItemKinopioPlrNo(int &);
static int getPlayerIndex(PLAYER_TYPE_e); ///< @unofficial
static dAcPy_c *getPlayer(int);
static dAcPy_c *getCtrlPlayer(int);
static mVec3_c getPlayerSetPos(u8, u8);
static void addScore(int, int);
static void changeItemKinopioPlrNo(int &);
static u8 getActScrollInfo(); /// @unofficial
static int getScrollNum();

static bool checkPlayer(u8 plrNo) { return mActPlayerInfo & (1 << plrNo); }
static int getRest(PLAYER_TYPE_e plrNo) { return mRest[plrNo]; }
static int getPlayerType(int plrNo) { return mPlayerType[plrNo]; }
static int getPlayerMode(int plrNo) { return mPlayerMode[plrNo]; }
static bool isScrollMode1() { return getScrollNum() == 1; }

static int mNum;
static u8 mActPlayerInfo;
Expand Down
Loading