Atrinik Server  4.0
Functions
exit.h File Reference

Go to the source code of this file.

Functions

mapstructexit_get_destination (object *op, int *x, int *y, bool do_load)
 

Detailed Description

Exit related header file.

Definition in file exit.h.

Function Documentation

mapstruct* exit_get_destination ( object op,
int *  x,
int *  y,
bool  do_load 
)

Acquires the specified exit's destination (map and coordinates).

If this function returns NULL, the contents of 'x' and 'y' are undefined.

Parameters
opExit.
[out]xWill contain the destination X coordinate. Can be NULL.
[out]yWill contain the destination Y coordinate. Can be NULL.
do_loadWhether to load maps if necessary.
Returns
Destination map. Can be NULL.

Definition at line 383 of file exit.c.