Phillip Stephens 8173a671c2 Add CStateMachine, mostly matched, constructor needs work
Former-commit-id: 06464964dd0d14ecca5105b0637dba521e45f2f1
2022-10-22 21:49:41 -07:00

27 lines
457 B
C++

#ifndef _CAIFUNCMAP
#define _CAIFUNCMAP
#include "types.h"
enum EStateMsg {
kStateMsg_Activate = 0,
kStateMsg_Update = 1,
kStateMsg_Deactivate = 2,
};
class CAi;
class CStateManager;
typedef void (CAi::*CAiStateFunc)(CStateManager& mgr, EStateMsg msg, float arg);
typedef bool (CAi::*CAiTriggerFunc)(CStateManager& mgr, float arg);
class CAiFuncMap {
public:
CAiFuncMap();
~CAiFuncMap();
private:
uchar pad[0x20];
};
#endif // _CAIFUNCMAP