Atrinik Server  4.0
door.h File Reference

Go to the source code of this file.


bool door_try_open (object *op, mapstruct *m, int x, int y, bool test)
void door_show_message (object *op, mapstruct *m, int x, int y)

Detailed Description

Door related header file.

Definition in file door.h.

Function Documentation

void door_show_message ( object op,
mapstruct m,
int  x,
int  y 

Print the locked door message to the specified player.

mMap where the locked door is.
xX position.
yY position.

Definition at line 312 of file door.c.

bool door_try_open ( object op,
mapstruct m,
int  x,
int  y,
bool  test 

Open a door (or check whether it can be opened).

opObject which will open the door.
mMap where the door is.
xX position of the door.
yY position of the door.
testIf true, only check whether the door can be opened, but do not actually open the door.
True if door was opened (or can be), false if not and is not possible to open.

Definition at line 231 of file door.c.