99 if (side < 0 || side > 3)
111 bool replocked =
false;
120 if (
GetSide(position) ==
false)
157 if (replocked ==
true)
190 if ((
Locked == 1 && side ==
false) || (
Locked == 2 && side ==
true))
void SetLocked(int side, int keyid)
bool GetSide(const Vector3 &position)
bool ToggleLock(const Vector3 &position, bool force=false)
void SetDirection(bool direction)
bool IsLocked(const Vector3 &position)
void SetLocked(bool value, int keyid)
bool ToggleLock(bool force=false)
virtual bool ReportError(const std::string &message)
virtual void Report(const std::string &message)
virtual Vector3 GetPosition(bool relative=false)
std::string ToString(int number)