1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
|
%*
%* ------------------------------------------------------------------
%* Role PlayingDB V2.0 by Deepwoods Software
%* ------------------------------------------------------------------
%* Space.tex - Space GUI
%* Created by Robert Heller on Wed Dec 30 12:55:06 1998
%* ------------------------------------------------------------------
%* Modification History:
%* $Log: Space.tex,v $
%* Revision 1.3 1999/07/14 23:26:36 heller
%* Small last minute update.
%*
%* 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{Space Data Object Editor GUI Window}
\label{Space}
\typeout{$Id: Space.tex,v 1.3 1999/07/14 23:26:36 heller Rel1 $}
\section{Create New Space}
\index{Create New Space!GUI Element|(}
When the new space button on the Map Editor GUI Window (see
Chapter~\ref{Map}, Figure~\ref{fig:mapWind}) is clicked, the Create New
Space dialog box appears, as shown in Figure~\ref{fig:creSpDia}.
\begin{figure}
\begin{centering}
\epsfig{file=CreateSpace.ps} \\
\end{centering}
\caption{Create New Space}
\label{fig:creSpDia}
\index{Create New Space!GUI Element|italic}
\end{figure}
This dialog box contains entries for the location of the center of the
space, the name of the space, and the background color.
\index{Create New Space!GUI Element|)}
\section{Space Data Object Editor GUI Window}
\index{Space Data Object Editor GUI Window!GUI Element|(}
The Space Data Object Editor GUI Window, shown in Figure~\ref{fig:spWind},
contains a text entry area for descriptive text, and a graphic area showing
the space and its contents -- Exits and Items (Characters,
Monsters, Treasures, Tricks / Traps, or Dressings). A set of crosshair
lines is drawn on the graphic area, along with the coordinates of the
intersection of the crosshairs.
\begin{figure}
\begin{centering}
\epsfig{file=Space.ps} \\
\end{centering}
\caption{Space Data Object Editor GUI Window}
\label{fig:spWind}
\index{Space Data Object Editor GUI Window!GUI Element|italic}
\end{figure}
To the right of the graphic area is a pair of lists (Exits and Items)
with buttons. The upper one lists exits; the buttons are for adding
and deleting exits. The lower one lists items; the buttons are for
adding and deleting items.
Each exit and item is displayed in the space graphic area. Each exit
and item responds to the left mouse button by selecting the
corresponding list item. The right mouse button\footnote{Command plus
button on the Mac.} brings up an Exit Information dialog box (described
in Section~\ref{sec:visitExit}) for exits and a GUI editor for items.
The {\tt Add} exit button brings up the Creating New Exit dialog box,
described in Section~\ref{sec:createExit}. The {\tt Add} item button
brings up the Creating New Item dialog box, described in
Section~\ref{sec:createItem}.
\index{Space Data Object Editor GUI Window!GUI Element|)}
\section{Exit Information Dialog Box}
\label{sec:visitExit}
\index{Exit Information Dialog GUI Window!GUI Element|(}
The Exit Information Dialog box, shown in Figure~\ref{fig:visitExit},
displays the information about the selected exit -- the type, the X
and Y position, the description, the image, and the next space index.
\begin{figure}
\begin{centering}
\epsfig{file=VisitExit.ps} \\
\end{centering}
\caption{Exit Information GUI Window}
\label{fig:visitExit}
\index{Exit Information dialog GUI Window!GUI Element|italic}
\end{figure}
\index{Exit Information dialog GUI Window!GUI Element|)}
\section{Creating New Exit Dialog Box}
\label{sec:createExit}
\index{Creating New Exit dialog box GUI Window!GUI Element|(}
The Creating New Exit dialog box, shown in Figure~\ref{fig:newExit},
collects the information needed to create a new exit point from one space
to another space. The data fields consist of the X and Y position, the
wall alignment flag, the image of the exit, descriptive text, and the
index of the next space. There is also a button to compute the next
space\footnote{This button does an approximate computation. Most of the
time it should be correct, but there are some conditions that might
confuse it. You should check the result and make whatever necessary
corrections.}.
\begin{figure}
\begin{centering}
\epsfig{file=NewExit.ps} \\
\end{centering}
\caption{Creating New Exit dialog box}
\label{fig:newExit}
\index{Creating New Exit dialog box GUI Window!GUI Element|italic}
\end{figure}
\index{Creating New Exit dialog box GUI Window!GUI Element|)}
\section{Creating New Item Dialog Box}
\label{sec:createItem}
\index{Creating New Item dialog box GUI Window!GUI Element|(}
The Creating New Item dialog box, shown in Figure~\ref{fig:newItem},
collects the information needed to create a new item. The data fields
consist of the X and Y position, the type of the item, the image of the
item, and the data file of the item. The type is one of the types listed
in Table~\ref{tab:iTypes}.
\begin{figure}
\begin{centering}
\epsfig{file=NewItem.ps} \\
\end{centering}
\caption{Creating New Item dialog box}
\label{fig:newItem}
\index{Creating New Item dialog box GUI Window!GUI Element|italic}
\end{figure}
\begin{table}
\begin{tabular}{|l|p{3in}|}
\hline
Type & Description \\
\hline
Character & The item is a non-playing character (for example a barkeeper). \\
\hline
Monster & The item is a monster -- this is its lair or it is guarding
something. \\
\hline
Treasure & The item is a treasure. \\
\hline
TrickTrap & The item is a trick or a trap. \\
\hline
Dressing & The item is some random dressing. \\
\hline
\end{tabular}
\caption{Item Types.}
\label{tab:iTypes}
\end{table}
\index{Creating New Item dialog box GUI Window!GUI Element|)}
|