2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CAIFUNCMAP
|
|
|
|
#define _CAIFUNCMAP
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-10-14 05:58:49 +00:00
|
|
|
enum EStateMsg {
|
|
|
|
kStateMsg_Activate = 0,
|
|
|
|
kStateMsg_Update = 1,
|
|
|
|
kStateMsg_Deactivate = 2,
|
|
|
|
};
|
|
|
|
|
2022-10-23 04:49:41 +00:00
|
|
|
class CAi;
|
|
|
|
class CStateManager;
|
|
|
|
typedef void (CAi::*CAiStateFunc)(CStateManager& mgr, EStateMsg msg, float arg);
|
|
|
|
typedef bool (CAi::*CAiTriggerFunc)(CStateManager& mgr, float arg);
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
class CAiFuncMap {
|
|
|
|
public:
|
2022-09-13 04:26:54 +00:00
|
|
|
CAiFuncMap();
|
2022-04-10 00:17:06 +00:00
|
|
|
~CAiFuncMap();
|
|
|
|
|
|
|
|
private:
|
2022-10-09 05:37:23 +00:00
|
|
|
uchar pad[0x20];
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CAIFUNCMAP
|