[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 /obj/handlers/terrain_track_handler.c</h2>

Tentative central storage handler for terrain rooms.
The track_trigger() function in basic_room will call this handler.<p>Written by Romanov<p>Started sometime in August 2006.

Comments:
The exact same process in basic_room.c for storing a passing player's data
in an array is followed. The handler stores all the tracking arrays
in a mapping with the terrain room environment variables as a key.

If the terrain room gets unloaded, the setup_room() function in handler_base.c restores the array.
There is also a timestamped mapping with the keys being the terrain room environment variables. 
This is updated simultaneously with the above mapping. This mapping is used for housekeeping, ie 
deleting map keys that are older than a certain time threshold.

<h2>Method index</h2>
<ul>
<li><a href="#add_journey">add_journey</a>(string, int *, int *)<li><a href="#add_room_track_details">add_room_track_details</a>(object, object, object, int)<li><a href="#chime">chime</a>(string, int)<li><a href="#query_handler_size">query_handler_size</a>()<li><a href="#query_journey">query_journey</a>(string)<li><a href="#query_journey_array">query_journey_array</a>()<li><a href="#query_on_path">query_on_path</a>(string, int *)<li><a href="#restore_track_details">restore_track_details</a>(object)</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_journey">
add_journey</a><pre class="autodocfuncdef">
void add_journey(string player,
                 int * start_coord,
                 int * end_coord)
</pre>
<dt class="autodocfuncname"><a name="add_room_track_details">
add_room_track_details</a><pre class="autodocfuncdef">
void add_room_track_details(object env,
                            object target,
                            object to,
                            int level)
</pre>
<dt class="autodocfuncname"><a name="chime">
chime</a><pre class="autodocfuncdef">
void chime(string chime_message,
           int type)
</pre>
<dt class="autodocfuncname"><a name="query_handler_size">
query_handler_size</a><pre class="autodocfuncdef">
int query_handler_size()
</pre>
<dt class="autodocfuncname"><a name="query_journey">
query_journey</a><pre class="autodocfuncdef">
class _wp * query_journey(string player)
</pre>
<dt class="autodocfuncname"><a name="query_journey_array">
query_journey_array</a><pre class="autodocfuncdef">
int query_journey_array()
</pre>
<dt class="autodocfuncname"><a name="query_on_path">
query_on_path</a><pre class="autodocfuncdef">
mixed * query_on_path(string player,
                      int * tracker_coord)
</pre>
<dt class="autodocfuncname"><a name="restore_track_details">
restore_track_details</a><pre class="autodocfuncdef">
mixed * restore_track_details(object env)
</pre>
</dl>
[an error occurred while processing this directive]

