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 {
|
2022-12-14 04:12:30 +00:00
|
|
|
|
inline _CellParms(Parameters* parameters)
|
2023-01-25 21:50:15 +00:00
|
|
|
|
: 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)
|
2022-12-14 04:12:30 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-25 21:50:15 +00:00
|
|
|
|
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
|
|
|
|
};
|
|
|
|
|
|
2022-12-14 04:12: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
|
|
|
|
|
2022-02-01 00:45:51 +00:00
|
|
|
|
inline static CellMgrParms* getInstance() { return mInstance; }
|
2021-11-04 02:15:55 +00:00
|
|
|
|
|
2022-12-14 04:12:30 +00:00
|
|
|
|
static CellMgrParms* mInstance;
|
2021-11-08 01:28:30 +00:00
|
|
|
|
|
2022-12-14 04:12:30 +00:00
|
|
|
|
// _00-_0C = Parameters
|
|
|
|
|
// _0C-_24 = JKRDisposer
|
|
|
|
|
// _94 = VTBL
|
2023-01-25 21:50:15 +00:00
|
|
|
|
_CellParms mCellParms; // _24
|
2021-11-04 02:15:55 +00:00
|
|
|
|
|
2022-12-14 04:12:30 +00:00
|
|
|
|
virtual ~CellMgrParms(); // _08
|
2021-10-13 23:59:32 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|