pikmin2/include/CellMgrParms.h

41 lines
1.0 KiB
C
Raw Normal View History

2021-10-13 23:59:32 +00:00
#ifndef _CELLMGRPARMS_H
#define _CELLMGRPARMS_H
2021-11-04 02:15:55 +00:00
#include "Parameters.h"
2023-01-26 01:54:54 +00:00
#include "JSystem/JKernel/JKRDisposer.h"
2021-11-04 02:15:55 +00:00
#include "BaseParm.h"
2021-10-13 23:59:32 +00:00
2021-11-08 01:28:30 +00:00
struct _CellParms {
inline _CellParms(Parameters* parameters)
: mP000(parameters, 'p000', "<EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@<40><><EFBFBD>g<EFBFBD><67>", false, false, true) // 'use a buffer'
, mP001(parameters, 'p001', "<EFBFBD>}<7D>W<EFBFBD>b<EFBFBD>N<EFBFBD>i<EFBFBD><69><EFBFBD>o<EFBFBD>[", true, false, true) // 'magic number'
, mP002(parameters, 'p002', "G-Half", false, false, true)
, mP003(parameters, 'p003', "UpdateMgr", false, false, true)
{
}
Parm<bool> mP000; // _24, use a buffer?
Parm<bool> mP001; // _40, magic number?
Parm<bool> mP002; // _5C, G-Half?
Parm<bool> mP003; // _78, UpdateMgr?
2021-11-08 01:28:30 +00:00
};
struct CellMgrParms : public Parameters, public JKRDisposer {
2021-11-04 02:15:55 +00:00
CellMgrParms();
2021-11-04 02:30:01 +00:00
2023-01-09 03:23:40 +00:00
static void globalInstance();
2021-11-04 02:15:55 +00:00
inline static CellMgrParms* getInstance() { return mInstance; }
2021-11-04 02:15:55 +00:00
static CellMgrParms* mInstance;
2021-11-08 01:28:30 +00:00
// _00-_0C = Parameters
// _0C-_24 = JKRDisposer
// _94 = VTBL
_CellParms mCellParms; // _24
2021-11-04 02:15:55 +00:00
virtual ~CellMgrParms(); // _08
2021-10-13 23:59:32 +00:00
};
#endif