2016-04-20 21:07:18 +00:00
|
|
|
#ifndef __URDE_CSCRIPTDOCK_HPP__
|
|
|
|
#define __URDE_CSCRIPTDOCK_HPP__
|
|
|
|
|
|
|
|
#include "CPhysicsActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CScriptDock : public CPhysicsActor
|
|
|
|
{
|
2016-04-23 00:29:55 +00:00
|
|
|
friend class CScriptDoor;
|
2016-04-20 21:07:18 +00:00
|
|
|
s32 x258_;
|
|
|
|
s32 x25c_dock;
|
|
|
|
TAreaId x260_area;
|
|
|
|
u32 x264_;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
bool x268_24_ : 1;
|
|
|
|
bool x268_25_ : 1;
|
|
|
|
bool x268_26_ : 1;
|
|
|
|
};
|
|
|
|
u8 dummy = 0;
|
|
|
|
};
|
|
|
|
public:
|
|
|
|
CScriptDock(TUniqueId uid, const std::string& name, const CEntityInfo& info, const zeus::CVector3f position,
|
|
|
|
const zeus::CVector3f& extent, s32, TAreaId, bool active, s32 w1, bool b1);
|
2016-04-24 02:46:13 +00:00
|
|
|
|
|
|
|
s32 GetDockId() const { return x25c_dock; }
|
2016-04-20 21:07:18 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CSCRIPTDOCK_HPP__
|