File: RPGEdDressing.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 (87 lines) | stat: -rw-r--r-- 2,814 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
% Begin of input file ../../Scripts/RPGEdDressing.tcl
\chapter{RPGEdDressing.tcl -- Various items that might be about}
\label{RPGEdDressing.tcl}
\typeout{Generated from $Id: RPGEdDressing.tcl,v 1.4 2000/02/11 00:30:25 heller Rel $}
This file deals with various fixed items that might be in a room or other
place in an adventure: things like furniture and other items that ``dress
up the place''



\noindent\rule{\textwidth}{0.4pt}
\section[proc RPGEdDressing]{proc RPGEdDressing \emph{\{filename \{\}\}}}

This procedure creates or edits a (dungeon) ``dressing'' -- things like
furniture and related items.
\begin{description}
\item [in]  filename -- the file to open.
\index{RPGEdDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc SaveAsDressing]{proc SaveAsDressing \emph{tl}}

This procedure saves the current object in a prompted for file.  Bound to
the ``SaveAs...'' menu item on the ``File'' menu.
\begin{description}
\item [in]  tl -- the toplevel to save.
\index{SaveAsDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc SaveDressing]{proc SaveDressing \emph{tl \{forceNew 0\}}}

This procedure saves the current object in the file named in the structure.
Bound to the ``Save'' menu item on the ``File'' menu.
\begin{description}
\item [in]  tl -- the toplevel to save.
\item [in]  forceNew -- force a new filename flag.
\index{SaveDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc LoadDressing]{proc LoadDressing \emph{tl}}

This procedure loads a dressing object file into the current GUI toplevel.
\begin{description}
\item [in]  tl -- the toplevel to load into.
\index{LoadDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc CheckWriteDirtyRecordDressing]{proc CheckWriteDirtyRecordDressing \emph{tl}}

This procedure is called when the toplevel is being closed and the data
structure is ``dirty'' (modified).  The user is asked if the data should
be saved.
\begin{description}
\item [in]  tl -- the toplevel.
\index{CheckWriteDirtyRecordDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc OpenDressing]{proc OpenDressing \emph{tl}}

This procedure loads a dressing data object file into a new toplevel GUI
window.
\begin{description}
\item [in]  tl -- the current toplevel.
\index{OpenDressing!procedure}
\end{description}


\noindent\rule{\textwidth}{0.4pt}
\section[proc ChangeDressingPicture]{proc ChangeDressingPicture \emph{tl img}}

This procedure is used to update the dressing's picture (GIF file).
\begin{description}
\item [in]  tl -- the current toplevel.
\item [in]  img -- the image to update.
\index{ChangeDressingPicture!procedure}
\end{description}
% End of input file ../../Scripts/RPGEdDressing.tcl