Files
ss/include/d/t/d_t_sound_area.h
T
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00

34 lines
719 B
C++

#ifndef D_T_SOUND_AREA_H
#define D_T_SOUND_AREA_H
#include "d/t/d_tg.h"
#include "m/m_mtx.h"
#include "m/m_vec.h"
#include "toBeSorted/actor_on_rail.h"
class dTgSndAr_c : public dTg_c {
public:
dTgSndAr_c() {}
virtual ~dTgSndAr_c() {}
virtual int draw() override;
virtual int actorExecute() override;
virtual int doDelete() override;
virtual int create() override;
private:
int getTypeFromParams() {
return params >> 0x1C;
}
bool checkPosInArea(mVec3_c &pos);
bool checkAlg0(const mVec3_c &pos);
bool checkAlg1(const mVec3_c &pos);
bool checkAlg2(const mVec3_c &pos);
bool checkAlg3(const mVec3_c &pos);
mMtx_c mtx;
ActorOnRail mRail;
};
#endif