File: RPGEdSpell.tex

package info (click to toggle)
roleplaying 2.0-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 16,620 kB
  • ctags: 1,039
  • sloc: tcl: 7,155; cpp: 2,709; ansic: 2,227; makefile: 559; sh: 330; csh: 3
file content (71 lines) | stat: -rw-r--r-- 2,146 bytes parent folder | download
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