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
|
% Begin of input file ../../Scripts/RPGEdSpell.tcl
\chapter{RPGEdSpell.tcl -- Magical activities}
\label{RPGEdSpell.tcl}
\typeout{Generated from $Id: RPGEdSpell.tcl,v 1.2 1999/07/13 01:29:16 heller Rel1 $}
This file contains the code to create and edit spell objects. These
objects describe what is needed to cast magic spells.
\noindent\rule{\textwidth}{0.4pt}
\section[proc RPGEdSpell]{proc RPGEdSpell \emph{\{filename \{\}\}}}
This procedure creates or edits a spell object.
\begin{description}
\item [in] filename -- the file to edit.
\index{RPGEdSpell!procedure}
\end{description}
\noindent\rule{\textwidth}{0.4pt}
\section[proc CheckWriteDirtyRecordSpell]{proc CheckWriteDirtyRecordSpell \emph{tl}}
This procedure is called when the GUI window is being closed and the data
is ``dirty'' (modified). It takes care of saving the data if the user
wants to.
\begin{description}
\item [in] tl -- the toplevel.
\index{CheckWriteDirtyRecordSpell!procedure}
\end{description}
\noindent\rule{\textwidth}{0.4pt}
\section[proc LoadSpell]{proc LoadSpell \emph{tl}}
This procedure loads a spell data file into the current toplevel GUI window.
\begin{description}
\item [in] tl -- the toplevel GUI.
\index{LoadSpell!procedure}
\end{description}
\noindent\rule{\textwidth}{0.4pt}
\section[proc SaveAsSpell]{proc SaveAsSpell \emph{tl}}
This procedure saves the current data object in a named file.
\begin{description}
\item [in] tl -- the toplevel.
\index{SaveAsSpell!procedure}
\end{description}
\noindent\rule{\textwidth}{0.4pt}
\section[proc SaveSpell]{proc SaveSpell \emph{tl \{forceNew 0\}}}
This procedure saves the current data object in a named file.
\begin{description}
\item [in] tl -- the toplevel.
\item [in] forceNew -- flag to force a new file name.
\index{SaveSpell!procedure}
\end{description}
\noindent\rule{\textwidth}{0.4pt}
\section[proc OpenSpell]{proc OpenSpell \emph{tl}}
This procedure opens a spell object data file in a new toplevel GUI window.
\begin{description}
\item [in] tl -- the current toplevel GUI.
\index{OpenSpell!procedure}
\end{description}
% End of input file ../../Scripts/RPGEdSpell.tcl
|