<html><head><title>File map.c </title></head><body bgcolor="#ffffff" TEXT="#000030" LINK="#4a529c" VLINK="#b57339">[ <a href="index.html">Package Index</a></code> | <a href="index_std.html">Mudlib Index</a></code> | <a href="index_eff.html">Effect Index</a></code> ]<br><hr><h2>Inherits</h2> This class inherits the following classes <a href="std.object.c.html">/std/object.c</a><hr><h2>Includes</h2> This class includes the following files <a href="include.terrain_map.h.html">/include/terrain_map.h</a><hr><h2>Method index</h2> <dl><dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#set_map"><b>set_map</b></a>(string)<dd> Function to set the map to one of the standard areas. <dt><img src="images/cyan-ball-small.gif" height=6 width=6 alt=" o "> <a href="#setup_map"><b>setup_map</b></a>(int, int, int, int, int)<dd> Function to setup the details of the map. </dl><hr><h2>Public Functions</h2> These are functions that everyone can access.<p><dl> .<dt><a name="set_map"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>set_map</b></a><pre> void set_map(string area) </pre><dd> Function to set the map to one of the standard areas. If you wish to have the map cover a custom area use setup_map. <p> <dd><dl> <dt><b>Parameters:</b> <dd>area - the area of Discworld the map should cover. </dl> <dt><a name="setup_map"> <img src="images/cyan-ball.gif" width=12 height=12 alt=" * "><b>setup_map</b></a><pre> void setup_map(int x1, int y1, int x2, int y2, int detail) </pre><dd> Function to setup the details of the map. The first two params give the coordinates of the top left corner of the map and the second two the coordinates of the lower right corner. The detail indicates the level of detail. This is given in terms of the distance from which objects are visible. For example a low-detail map might show objects that are visible from 200 miles or more whereas a more detailed map may show items down to 50 miles visibility. <p> <dd><dl> <dt><b>Parameters:</b> <dd>x1 - x part of the top left corner <dd>y1 - y part of the top left corner <dd>x2 - x part of the lower right corner <dd>y2 - y part of the lower right corner </dl> </dl> <hr> <center><font size="-1"><a href="http://discworld.imaginary.com/login.html">Discworld MUD</a>'s distribution world wide web pages.<br>brought to you by<br><strong>Cut Me Own Throat Dibbler's <a href="http://discworld.imaginary.com/sausages.html">Sensational Sausages</a>; buy one while they are hot.</strong><br>File last modified: Sat, 06 Sep 2003 03:38:14 GMT<br> <hr>Lost? Try Discworld's <a href="http://discworld.imaginary.com/">home page</a>.</center></body></html>