[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /std/room/basic/topography/fixed_shadow.c</h2>
This is a shadow that gets attached to "normal" (ie, fixed) rooms that
used in a region controlled by a topography handler.  It masks
query_dest_other() so that exits from the room get handled correctly.
It also adds certain other functions used by the topography system.
This allows a fixed room to be converted for use in a topography with
minimal changes.<p><b>See also:</b><br>topography
.c<p>Written by Jeremy<h2>Includes</h2>
This class includes the following files <a href="include.dirs.h.shtml">/include/dirs.h</a> and <a href="include.room.h.shtml">/include/room.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#add_topo_barriers">add_topo_barriers</a>(mapping)<br/>
This method adds directions from which the room cannot be reached.
<li><a href="#add_topo_exits">add_topo_exits</a>(string *, string)<br/>
This method adds exits for the room if they don't already exist.
<li><a href="#query_dest_other">query_dest_other</a>(string)<br/>
This method masks the standard query_dest_other() function.
<li><a href="#query_fixed_room">query_fixed_room</a>()<br/>
This method can be used to determine if this is a fixed room.
<li><a href="#query_topo_barrier">query_topo_barrier</a>(string)<br/>
This method returns the message associated with the given barred
direction.
<li><a href="#query_topo_barriers">query_topo_barriers</a>()<br/>
This method returns the current mapping of barriers.
<li><a href="#query_topo_handler">query_topo_handler</a>()<br/>
This method returns the topography handler set for this fixed room.
<li><a href="#set_area_handler">set_area_handler</a>(string)<br/>
This method is deprecated.
<li><a href="#set_topo_handler">set_topo_handler</a>(string)<br/>
This method sets the topography handler for this fixed room.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="add_topo_barriers">
add_topo_barriers</a><pre>
void add_topo_barriers(mapping m)
</pre></br>
This method adds directions from which the room cannot be reached.
The parameter is a mapping, giving the direction as the key and a
message to be printed upon failure as the value.<p>
NOTE: the direction is the direction the person is going (ie, the
command given); e.g., to block access from the west, use "east" as the
key.
<br/><ul>
<li><b>Parameters:</b>
<br/>m - a mapping representing the direction(s) from which to block
access (the key) and a message to be printed (the value).
<li><b>See also:</b>
<br/><a href="#query_topo_barriers">query_topo_barriers()</a> and <a href="#query_topo_barrier">query_topo_barrier()
</a></dl>

<ul><a name="add_topo_exits">
add_topo_exits</a><pre>
void add_topo_exits(string * other_exits,
                    string other_types)
</pre></br>
This method adds exits for the room if they don't already exist.
"compass4" and "compass8" can be specified as exit names to add
exits for all of the normal 4 or 8 compass directions, respectively.
<br/><ul>
<li><b>Parameters:</b>
<br/>e - array of exit names
<br/>type - type of exit ("path", "road", etc)

</dl>

<ul><a name="query_dest_other">
query_dest_other</a><pre>
varargs mixed * query_dest_other(string direc)
</pre></br>
This method masks the standard query_dest_other() function.  It calls
the topology handler to find the connecting room (which is usually
cloned on-the-fly).
<br/><ul>
<li><b>Parameters:</b>
<br/>direc - room exit name
<li><b>Returns:</b>
<br/>structure describing the exit
<li><b>See also:</b>
<br/>/std/room
.c</dl>

<ul><a name="query_fixed_room">
query_fixed_room</a><pre>
int query_fixed_room()
</pre></br>
This method can be used to determine if this is a fixed room.
<br/><ul>
<li><b>Returns:</b>
<br/>1

</dl>

<ul><a name="query_topo_barrier">
query_topo_barrier</a><pre>
mixed query_topo_barrier(string direc)
</pre></br>
This method returns the message associated with the given barred
direction.
<br/><ul>
<li><b>Parameters:</b>
<br/>direc - the direction to be queried
<li><b>Returns:</b>
<br/>the failure message associated with the given direction
<li><b>See also:</b>
<br/><a href="#add_topo_barriers">add_topo_barriers()</a> and <a href="#query_topo_barriers">query_topo_barriers()
</a></dl>

<ul><a name="query_topo_barriers">
query_topo_barriers</a><pre>
mapping query_topo_barriers()
</pre></br>
This method returns the current mapping of barriers.
<br/><ul>
<li><b>Returns:</b>
<br/>the current mapping of barred directions and messages.
<li><b>See also:</b>
<br/><a href="#add_topo_barriers">add_topo_barriers()</a> and <a href="#query_topo_barrier">query_topo_barrier()
</a></dl>

<ul><a name="query_topo_handler">
query_topo_handler</a><pre>
string query_topo_handler()
</pre></br>
This method returns the topography handler set for this fixed room.
<br/><ul>
<li><b>Returns:</b>
<br/>the topography handler
<li><b>See also:</b>
<br/><a href="#set_topo_handler">set_topo_handler()
</a></dl>

<ul><a name="set_area_handler">
set_area_handler</a><pre>
void set_area_handler(string s)
</pre></br>
This method is deprecated.  Use set_topo_handler().


<ul><a name="set_topo_handler">
set_topo_handler</a><pre>
void set_topo_handler(string s)
</pre></br>
This method sets the topography handler for this fixed room.
<br/><ul>
<li><b>Parameters:</b>
<br/>s - pathname of topography handler
<li><b>See also:</b>
<br/>topography.c and <a href="#query_topo_handler">query_topo_handler()
</a></dl>


[an error occurred while processing this directive]

