44 Door(
Object *parent,
DynamicMesh *wrapper,
const std::string &name,
const std::string &open_sound,
const std::string &close_sound,
bool rotate);
46 bool Open(
Vector3 &position,
bool playsound =
true,
bool force =
false);
47 void Close(
bool playsound =
true);
49 void Enabled(
bool value);
52 void ClickDoor(
Vector3 &position);
53 void OnClick(
Vector3 &position,
bool shift,
bool ctrl,
bool alt,
bool right);
54 void Report(
const std::string &message);
55 bool ReportError(
const std::string &message);
56 bool GetDoorChanged();
57 bool GetPreviousOpen();
58 DoorWrapper* CreateDoor(
bool open_state,
const std::string &texture,
const std::string &side_texture,
Real thickness,
const std::string &face_direction,
const std::string &open_direction,
Real open_speed,
Real close_speed,
Real CenterX,
Real CenterZ,
Real width,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
59 DoorWrapper* AddDoorComponent(
const std::string &name,
const std::string &texture,
const std::string &sidetexture,
Real thickness,
const std::string &face_direction,
const std::string &open_direction,
bool OpenClockwise,
Real OpenSpeed,
Real CloseSpeed,
Real x1,
Real z1,
Real x2,
Real z2,
Real height,
Real voffset,
Real tw,
Real th,
Real side_tw,
Real side_th);
61 void AutoClose(
int interval);