%* 
%* ------------------------------------------------------------------
%* Role PlayingDB V2.0 by Deepwoods Software
%* ------------------------------------------------------------------
%* Map.tex - Map GUI
%* Created by Robert Heller on Wed Dec 30 12:55:06 1998
%* ------------------------------------------------------------------
%* Modification History: 
%* $Log: Map.tex,v $
%* Revision 1.2  1999/07/14 22:17:34  heller
%* Eddy's Edits.
%*
%* Revision 1.1  1999/01/02 02:10:10  heller
%* Initial revision
%*
%* ------------------------------------------------------------------
%* Contents:
%* ------------------------------------------------------------------
%*  
%*     Role Playing DB -- A database package that creates and maintains
%* 		       a database of RPG characters, monsters, treasures,
%* 		       spells, and playing environments.
%* 
%*     Copyright (C) 1995,1998,1999  Robert Heller D/B/A Deepwoods Software
%* 			51 Locke Hill Road
%* 			Wendell, MA 01379-9728
%* 
%*     This program is free software; you can redistribute it and/or modify
%*     it under the terms of the GNU General Public License as published by
%*     the Free Software Foundation; either version 2 of the License, or
%*     (at your option) any later version.
%* 
%*     This program is distributed in the hope that it will be useful,
%*     but WITHOUT ANY WARRANTY; without even the implied warranty of
%*     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%*     GNU General Public License for more details.
%* 
%*     You should have received a copy of the GNU General Public License
%*     along with this program; if not, write to the Free Software
%*     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%* 
%*  
%* 
\chapter{Map Editor GUI Window}
\label{Map}
\typeout{$Id: Map.tex,v 1.2 1999/07/14 22:17:34 heller Rel1 $}

Map files contain information about the geographical environment in which
the role playing game takes place.  A map can have a number of levels,
each of which can have a number of spaces.  The spaces can be either
squares or hexagons.  All of the spaces in a given map must be the same
shape.

\section{Create Map Dialog}
\index{Create Map Dialog!GUI Element|(}  

When a new map is created, a Create Map Dialog box appears as
shown in Figure~\ref{fig:creMdia}.  This dialog box contains an entry
for the name of the map, buttons to select the shape of the spaces, a
text entry area for the descriptive commentary of the map, and entries
for the X and Y extents of the map.

\begin{figure}
\begin{centering}
\epsfig{file=CreateMap.ps} \\
\end{centering}
\caption{Create Map Dialog}
\label{fig:creMdia}
\index{Create Map Dialog!GUI Element|italic}
\end{figure}

\index{Create Map Dialog!GUI Element|)}

\section{Map Editor GUI Window}
\label{sec:mapEdit}
\index{Map Editor GUI Window!GUI Element|(}

The Map Editor GUI Window, shown in Figure~\ref{fig:mapWind}, contains a
window showing the spaces on the current level, an entry for the map's
name, a scale indicating the current level, a text area for the map's
descriptive commentary, and buttons for creating and deleting spaces.

\begin{figure}
\begin{centering}
\epsfig{file=Map.ps} \\
\end{centering}
\caption{Map Editor GUI Window}
\label{fig:mapWind}
\index{Map Editor GUI Window!GUI Element|italic}
\end{figure}

The spaces in the window showing the spaces are sensitive to mouse
clicks.  One click selects the space, which outlines the space in red
and displays the space's name next to the {\tt Space} {\tt Delete}
button.  This button can be used to delete the space.  Two clicks pops
up the Space Data Object Editor GUI Window, as shown in
Figure~\ref{fig:spWind} and described in Chapter~\ref{Space}.  A
new space can be added with the {\tt New} space button.  This button
brings up the Create New Space dialog box, as shown in
Figure~\ref{fig:creSpDia} and described in Chapter~\ref{Space}.

\index{Map Editor GUI Window!GUI Element|)}
