mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-23 06:54:16 -04:00
95 lines
2.5 KiB
C++
95 lines
2.5 KiB
C++
#ifndef D_A_OBJ_SEARCH_H
|
|
#define D_A_OBJ_SEARCH_H
|
|
|
|
#include "f_op/f_op_actor.h"
|
|
|
|
class J3DNode;
|
|
|
|
namespace daObj_Search {
|
|
class Act_c : public fopAc_ac_c {
|
|
public:
|
|
enum Proc_e {
|
|
|
|
};
|
|
|
|
static bool getFindFlag() { return m_find_flag == true; }
|
|
static void setFindFlag(bool flag) { m_find_flag = flag; }
|
|
|
|
static bool m_find_flag;
|
|
|
|
void isSecond() {}
|
|
void modeProcInit(int) {}
|
|
void setBkControl(bool control) { mBkControl = control; }
|
|
void setChildId(fpc_ProcID id) { mChildId = id; }
|
|
|
|
void _createHeap();
|
|
void searchCreateHeap();
|
|
void beamCreateHeap(int);
|
|
void _nodeControl(J3DNode*, J3DModel*);
|
|
void modeSearchRndInit();
|
|
void modeSearchRnd();
|
|
void modeSearchPathInit();
|
|
void modeSearchPath();
|
|
void modeStopInit();
|
|
void modeStop();
|
|
void modeToSearchInit();
|
|
void modeToSearch();
|
|
void modeToStopInit();
|
|
void modeToStop();
|
|
void modeFindInit();
|
|
void modeFind();
|
|
void modeFind2ndInit();
|
|
void modeFind2nd();
|
|
void modeSearchBdkInit();
|
|
void modeSearchBdk();
|
|
void modeProc(Proc_e, int);
|
|
void attr() const;
|
|
void SetArgData();
|
|
void CreateInit();
|
|
cPhs_State _create();
|
|
void smoke_set(float, int);
|
|
bool _execute();
|
|
void check_bk_control();
|
|
void set_mtx_base();
|
|
void set_mtx_light_A();
|
|
void set_mtx_light_B();
|
|
void set_moveBG_mtx_base();
|
|
void set_moveBG_mtx_light_A();
|
|
void set_moveBG_mtx_light_B();
|
|
void bg_check();
|
|
void player_check();
|
|
void set_path_info();
|
|
void is_path_info();
|
|
bool _draw();
|
|
bool _delete();
|
|
BOOL _isdelete();
|
|
|
|
public:
|
|
/* Place member variables here */
|
|
/* 0x290 */ u8 m290[0x664 - 0x290];
|
|
/* 0x664 */ bool mBkControl;
|
|
/* 0x665 */ u8 m665[0x84C - 0x665];
|
|
#if VERSION == VERSION_DEMO
|
|
u8 pad84C;
|
|
#endif
|
|
/* 0x84C */ fpc_ProcID mChildId;
|
|
};
|
|
|
|
class Bgc_c {
|
|
public:
|
|
Bgc_c();
|
|
void wall_pos(const daObj_Search::Act_c*, cXyz*, cXyz*, bool*, float*);
|
|
};
|
|
|
|
namespace Mthd {
|
|
cPhs_State Create(void*);
|
|
BOOL Delete(void*);
|
|
BOOL Execute(void*);
|
|
BOOL Draw(void*);
|
|
BOOL IsDelete(void*);
|
|
extern actor_method_class Table;
|
|
};
|
|
};
|
|
|
|
#endif /* D_A_OBJ_SEARCH_H */
|