|
Pol
Rev 533
|
#include <door.h>
Inheritance diagram for UDoor:
Collaboration diagram for UDoor:Protected Member Functions | |
| UDoor (const DoorDesc &descriptor) | |
Private Types | |
| typedef ULockable | base |
Private Member Functions | |
| virtual void | builtin_on_use (Client *client) |
| void | close () |
| virtual BObjectImp * | get_script_member (const char *membername) const |
| virtual BObjectImp * | get_script_member_id (const int id) const |
| bool | is_open () const |
| void | open () |
| virtual bool | script_isa (unsigned isatype) const |
| virtual BObjectImp * | script_method (const char *methodname, Executor &ex) |
| id test | |
| virtual BObjectImp * | script_method_id (const int id, Executor &ex) |
| void | toggle () |
Friends | |
| class | Item |
typedef ULockable UDoor::base [private] |
| UDoor::UDoor | ( | const DoorDesc & | descriptor | ) | [protected] |
| void UDoor::builtin_on_use | ( | Client * | client | ) | [private, virtual] |
Reimplemented from Item.
Definition at line 31 of file door.cpp.
References Client::chr, ULockable::locked_, private_say_above(), and toggle().
Here is the call graph for this function:| void UDoor::close | ( | void | ) | [private] |
Definition at line 87 of file door.cpp.
References is_open(), and toggle().
Referenced by script_method_id().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * UDoor::get_script_member | ( | const char * | membername | ) | const [private, virtual] |
Reimplemented from ULockable.
Definition at line 3042 of file uoscrobj.cpp.
References get_script_member_id(), getKnownObjMember(), and ObjMember::id.
Here is the call graph for this function:| BObjectImp * UDoor::get_script_member_id | ( | const int | id | ) | const [private, virtual] |
Reimplemented from ULockable.
Definition at line 3029 of file uoscrobj.cpp.
References is_open(), and MBR_ISOPEN.
Referenced by get_script_member().
Here is the call graph for this function:
Here is the caller graph for this function:| bool UDoor::is_open | ( | ) | const [private] |
Definition at line 71 of file door.cpp.
References fast_find_doordesc(), UObject::graphic, UObject::objtype_, and DoorDesc::open_graphic.
Referenced by close(), get_script_member_id(), open(), and toggle().
Here is the call graph for this function:
Here is the caller graph for this function:| void UDoor::open | ( | ) | [private] |
Definition at line 81 of file door.cpp.
References is_open(), and toggle().
Referenced by script_method_id().
Here is the call graph for this function:
Here is the caller graph for this function:| bool UDoor::script_isa | ( | unsigned | isatype | ) | const [private, virtual] |
Reimplemented from ULockable.
Definition at line 3690 of file uoscrobj.cpp.
References POLCLASS_DOOR, and ULockable::script_isa().
Here is the call graph for this function:| BObjectImp * UDoor::script_method | ( | const char * | methodname, |
| Executor & | ex | ||
| ) | [private, virtual] |
id test
Reimplemented from Item.
Definition at line 3067 of file uoscrobj.cpp.
References getKnownObjMethod(), ObjMethod::id, and script_method_id().
Here is the call graph for this function:| BObjectImp * UDoor::script_method_id | ( | const int | id, |
| Executor & | ex | ||
| ) | [private, virtual] |
Reimplemented from Item.
Definition at line 3051 of file uoscrobj.cpp.
References close(), MTH_CLOSE, MTH_OPEN, MTH_TOGGLE, open(), Item::script_method_id(), and toggle().
Referenced by script_method().
Here is the call graph for this function:
Here is the caller graph for this function:| void UDoor::toggle | ( | ) | [private] |
Definition at line 43 of file door.cpp.
References fast_find_doordesc(), ItemDesc::graphic, UObject::graphic, is_open(), MoveItemWorldPosition(), UObject::objtype_, DoorDesc::open_graphic, send_item_to_inrange(), UObject::set_dirty(), UObject::x, DoorDesc::xmod, UObject::y, and DoorDesc::ymod.
Referenced by builtin_on_use(), close(), open(), and script_method_id().
Here is the call graph for this function:
Here is the caller graph for this function: