Browse Source

initial 1.3.0

Chris Cromer 2 months ago
commit
ad86bc2a30
Signed by: Chris Cromer <chris@cromer.cl> GPG Key ID: 39CC813FF3C8708A
100 changed files with 3030 additions and 0 deletions
  1. 341
    0
      COPYING
  2. 99
    0
      README
  3. 34
    0
      agistudio.1
  4. 19
    0
      help/about_agi.html
  5. 47
    0
      help/about_agi_studio.html
  6. 11
    0
      help/about_help.html
  7. 16
    0
      help/accept_input.html
  8. 20
    0
      help/add_to_pic.html
  9. 20
    0
      help/add_to_pic_v.html
  10. 11
    0
      help/adding_resources.html
  11. 20
    0
      help/addn.html
  12. 19
    0
      help/addv.html
  13. BIN
      help/agi-pic-template.pdf
  14. BIN
      help/agi-pic-template.sxd
  15. 17
    0
      help/allow_menu.html
  16. 17
    0
      help/animate_obj.html
  17. 18
    0
      help/assignn.html
  18. 18
    0
      help/assignv.html
  19. 22
    0
      help/block.html
  20. 17
    0
      help/call.html
  21. 17
    0
      help/call_v.html
  22. 15
    0
      help/cancel_line.html
  23. 19
    0
      help/center_posn.html
  24. 16
    0
      help/clear_lines.html
  25. 18
    0
      help/clear_text_rect.html
  26. 18
    0
      help/close_dialogue.html
  27. 19
    0
      help/close_window.html
  28. 20
    0
      help/commands_by_category.html
  29. 213
    0
      help/commands_by_name.html
  30. 16
    0
      help/compare_strings.html
  31. 23
    0
      help/configure_screen.html
  32. 15
    0
      help/control_commands.html
  33. 17
    0
      help/controller.html
  34. 63
    0
      help/controlling_obstacles.html
  35. 23
    0
      help/creating_new_games.html
  36. 19
    0
      help/current_cel.html
  37. 19
    0
      help/current_loop.html
  38. 17
    0
      help/current_view.html
  39. 19
    0
      help/cycle_time.html
  40. 59
    0
      help/cycling_objects.html
  41. 16
    0
      help/data_used.html
  42. 13
    0
      help/debug_commands.html
  43. 18
    0
      help/decrement.html
  44. 10
    0
      help/deleting_resources.html
  45. 19
    0
      help/disable_item.html
  46. 17
    0
      help/discard_pic.html
  47. 16
    0
      help/discard_sound.html
  48. 18
    0
      help/discard_view.html
  49. 18
    0
      help/discard_view_v.html
  50. 17
    0
      help/display.html
  51. 26
    0
      help/display_commands.html
  52. 17
    0
      help/display_v.html
  53. 13
    0
      help/displaying_text.html
  54. 18
    0
      help/distance.html
  55. 18
    0
      help/div_n.html
  56. 18
    0
      help/div_v.html
  57. 16
    0
      help/draw.html
  58. 20
    0
      help/draw_pic.html
  59. 35
    0
      help/drawing_pictures.html
  60. 15
    0
      help/drop.html
  61. 17
    0
      help/echo_line.html
  62. 17
    0
      help/enable_item.html
  63. 17
    0
      help/end_of_loop.html
  64. 15
    0
      help/equaln.html
  65. 17
    0
      help/equalv.html
  66. 16
    0
      help/erase.html
  67. 22
    0
      help/extra_commands.html
  68. 11
    0
      help/extracting_resources.html
  69. 20
    0
      help/fence_mouse.html
  70. 20
    0
      help/files_used.html
  71. 17
    0
      help/fix_loop.html
  72. 15
    0
      help/flag_commands.html
  73. 19
    0
      help/follow_ego.html
  74. 18
    0
      help/force_update.html
  75. 16
    0
      help/get.html
  76. 18
    0
      help/get_dir.html
  77. 16
    0
      help/get_num.html
  78. 16
    0
      help/get_posn.html
  79. 16
    0
      help/get_priority.html
  80. 15
    0
      help/get_room_v.html
  81. 16
    0
      help/get_string.html
  82. 16
    0
      help/get_v.html
  83. 17
    0
      help/getting_started.html
  84. 343
    0
      help/gpl.txt
  85. 16
    0
      help/graphics.html
  86. 18
    0
      help/greatern.html
  87. 18
    0
      help/greaterv.html
  88. 17
    0
      help/has.html
  89. 16
    0
      help/have_key.html
  90. 19
    0
      help/hide_mouse.html
  91. 16
    0
      help/hold_key.html
  92. 18
    0
      help/ignore_blocks.html
  93. 18
    0
      help/ignore_horizon.html
  94. 18
    0
      help/ignore_objs.html
  95. 18
    0
      help/increment.html
  96. 35
    0
      help/index.html
  97. 274
    0
      help/indexabc.html
  98. 15
    0
      help/init_disk.html
  99. 15
    0
      help/init_joy.html
  100. 0
    0
      help/initializing_objects.html

+ 341
- 0
COPYING View File

@@ -0,0 +1,341 @@
1
+
2
+		    GNU GENERAL PUBLIC LICENSE
3
+		       Version 2, June 1991
4
+
5
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
7
+ Everyone is permitted to copy and distribute verbatim copies
8
+ of this license document, but changing it is not allowed.
9
+
10
+			    Preamble
11
+
12
+  The licenses for most software are designed to take away your
13
+freedom to share and change it.  By contrast, the GNU General Public
14
+License is intended to guarantee your freedom to share and change free
15
+software--to make sure the software is free for all its users.  This
16
+General Public License applies to most of the Free Software
17
+Foundation's software and to any other program whose authors commit to
18
+using it.  (Some other Free Software Foundation software is covered by
19
+the GNU Library General Public License instead.)  You can apply it to
20
+your programs, too.
21
+
22
+  When we speak of free software, we are referring to freedom, not
23
+price.  Our General Public Licenses are designed to make sure that you
24
+have the freedom to distribute copies of free software (and charge for
25
+this service if you wish), that you receive source code or can get it
26
+if you want it, that you can change the software or use pieces of it
27
+in new free programs; and that you know you can do these things.
28
+
29
+  To protect your rights, we need to make restrictions that forbid
30
+anyone to deny you these rights or to ask you to surrender the rights.
31
+These restrictions translate to certain responsibilities for you if you
32
+distribute copies of the software, or if you modify it.
33
+
34
+  For example, if you distribute copies of such a program, whether
35
+gratis or for a fee, you must give the recipients all the rights that
36
+you have.  You must make sure that they, too, receive or can get the
37
+source code.  And you must show them these terms so they know their
38
+rights.
39
+
40
+  We protect your rights with two steps: (1) copyright the software, and
41
+(2) offer you this license which gives you legal permission to copy,
42
+distribute and/or modify the software.
43
+
44
+  Also, for each author's protection and ours, we want to make certain
45
+that everyone understands that there is no warranty for this free
46
+software.  If the software is modified by someone else and passed on, we
47
+want its recipients to know that what they have is not the original, so
48
+that any problems introduced by others will not reflect on the original
49
+authors' reputations.
50
+
51
+  Finally, any free program is threatened constantly by software
52
+patents.  We wish to avoid the danger that redistributors of a free
53
+program will individually obtain patent licenses, in effect making the
54
+program proprietary.  To prevent this, we have made it clear that any
55
+patent must be licensed for everyone's free use or not licensed at all.
56
+
57
+  The precise terms and conditions for copying, distribution and
58
+modification follow.
59
+
60
+		    GNU GENERAL PUBLIC LICENSE
61
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
62
+
63
+  0. This License applies to any program or other work which contains
64
+a notice placed by the copyright holder saying it may be distributed
65
+under the terms of this General Public License.  The "Program", below,
66
+refers to any such program or work, and a "work based on the Program"
67
+means either the Program or any derivative work under copyright law:
68
+that is to say, a work containing the Program or a portion of it,
69
+either verbatim or with modifications and/or translated into another
70
+language.  (Hereinafter, translation is included without limitation in
71
+the term "modification".)  Each licensee is addressed as "you".
72
+
73
+Activities other than copying, distribution and modification are not
74
+covered by this License; they are outside its scope.  The act of
75
+running the Program is not restricted, and the output from the Program
76
+is covered only if its contents constitute a work based on the
77
+Program (independent of having been made by running the Program).
78
+Whether that is true depends on what the Program does.
79
+
80
+  1. You may copy and distribute verbatim copies of the Program's
81
+source code as you receive it, in any medium, provided that you
82
+conspicuously and appropriately publish on each copy an appropriate
83
+copyright notice and disclaimer of warranty; keep intact all the
84
+notices that refer to this License and to the absence of any warranty;
85
+and give any other recipients of the Program a copy of this License
86
+along with the Program.
87
+
88
+You may charge a fee for the physical act of transferring a copy, and
89
+you may at your option offer warranty protection in exchange for a fee.
90
+
91
+  2. You may modify your copy or copies of the Program or any portion
92
+of it, thus forming a work based on the Program, and copy and
93
+distribute such modifications or work under the terms of Section 1
94
+above, provided that you also meet all of these conditions:
95
+
96
+    a) You must cause the modified files to carry prominent notices
97
+    stating that you changed the files and the date of any change.
98
+
99
+    b) You must cause any work that you distribute or publish, that in
100
+    whole or in part contains or is derived from the Program or any
101
+    part thereof, to be licensed as a whole at no charge to all third
102
+    parties under the terms of this License.
103
+
104
+    c) If the modified program normally reads commands interactively
105
+    when run, you must cause it, when started running for such
106
+    interactive use in the most ordinary way, to print or display an
107
+    announcement including an appropriate copyright notice and a
108
+    notice that there is no warranty (or else, saying that you provide
109
+    a warranty) and that users may redistribute the program under
110
+    these conditions, and telling the user how to view a copy of this
111
+    License.  (Exception: if the Program itself is interactive but
112
+    does not normally print such an announcement, your work based on
113
+    the Program is not required to print an announcement.)
114
+
115
+These requirements apply to the modified work as a whole.  If
116
+identifiable sections of that work are not derived from the Program,
117
+and can be reasonably considered independent and separate works in
118
+themselves, then this License, and its terms, do not apply to those
119
+sections when you distribute them as separate works.  But when you
120
+distribute the same sections as part of a whole which is a work based
121
+on the Program, the distribution of the whole must be on the terms of
122
+this License, whose permissions for other licensees extend to the
123
+entire whole, and thus to each and every part regardless of who wrote it.
124
+
125
+Thus, it is not the intent of this section to claim rights or contest
126
+your rights to work written entirely by you; rather, the intent is to
127
+exercise the right to control the distribution of derivative or
128
+collective works based on the Program.
129
+
130
+In addition, mere aggregation of another work not based on the Program
131
+with the Program (or with a work based on the Program) on a volume of
132
+a storage or distribution medium does not bring the other work under
133
+the scope of this License.
134
+
135
+  3. You may copy and distribute the Program (or a work based on it,
136
+under Section 2) in object code or executable form under the terms of
137
+Sections 1 and 2 above provided that you also do one of the following:
138
+
139
+    a) Accompany it with the complete corresponding machine-readable
140
+    source code, which must be distributed under the terms of Sections
141
+    1 and 2 above on a medium customarily used for software interchange; or,
142
+
143
+    b) Accompany it with a written offer, valid for at least three
144
+    years, to give any third party, for a charge no more than your
145
+    cost of physically performing source distribution, a complete
146
+    machine-readable copy of the corresponding source code, to be
147
+    distributed under the terms of Sections 1 and 2 above on a medium
148
+    customarily used for software interchange; or,
149
+
150
+    c) Accompany it with the information you received as to the offer
151
+    to distribute corresponding source code.  (This alternative is
152
+    allowed only for noncommercial distribution and only if you
153
+    received the program in object code or executable form with such
154
+    an offer, in accord with Subsection b above.)
155
+
156
+The source code for a work means the preferred form of the work for
157
+making modifications to it.  For an executable work, complete source
158
+code means all the source code for all modules it contains, plus any
159
+associated interface definition files, plus the scripts used to
160
+control compilation and installation of the executable.  However, as a
161
+special exception, the source code distributed need not include
162
+anything that is normally distributed (in either source or binary
163
+form) with the major components (compiler, kernel, and so on) of the
164
+operating system on which the executable runs, unless that component
165
+itself accompanies the executable.
166
+
167
+If distribution of executable or object code is made by offering
168
+access to copy from a designated place, then offering equivalent
169
+access to copy the source code from the same place counts as
170
+distribution of the source code, even though third parties are not
171
+compelled to copy the source along with the object code.
172
+
173
+  4. You may not copy, modify, sublicense, or distribute the Program
174
+except as expressly provided under this License.  Any attempt
175
+otherwise to copy, modify, sublicense or distribute the Program is
176
+void, and will automatically terminate your rights under this License.
177
+However, parties who have received copies, or rights, from you under
178
+this License will not have their licenses terminated so long as such
179
+parties remain in full compliance.
180
+
181
+  5. You are not required to accept this License, since you have not
182
+signed it.  However, nothing else grants you permission to modify or
183
+distribute the Program or its derivative works.  These actions are
184
+prohibited by law if you do not accept this License.  Therefore, by
185
+modifying or distributing the Program (or any work based on the
186
+Program), you indicate your acceptance of this License to do so, and
187
+all its terms and conditions for copying, distributing or modifying
188
+the Program or works based on it.
189
+
190
+  6. Each time you redistribute the Program (or any work based on the
191
+Program), the recipient automatically receives a license from the
192
+original licensor to copy, distribute or modify the Program subject to
193
+these terms and conditions.  You may not impose any further
194
+restrictions on the recipients' exercise of the rights granted herein.
195
+You are not responsible for enforcing compliance by third parties to
196
+this License.
197
+
198
+  7. If, as a consequence of a court judgment or allegation of patent
199
+infringement or for any other reason (not limited to patent issues),
200
+conditions are imposed on you (whether by court order, agreement or
201
+otherwise) that contradict the conditions of this License, they do not
202
+excuse you from the conditions of this License.  If you cannot
203
+distribute so as to satisfy simultaneously your obligations under this
204
+License and any other pertinent obligations, then as a consequence you
205
+may not distribute the Program at all.  For example, if a patent
206
+license would not permit royalty-free redistribution of the Program by
207
+all those who receive copies directly or indirectly through you, then
208
+the only way you could satisfy both it and this License would be to
209
+refrain entirely from distribution of the Program.
210
+
211
+If any portion of this section is held invalid or unenforceable under
212
+any particular circumstance, the balance of the section is intended to
213
+apply and the section as a whole is intended to apply in other
214
+circumstances.
215
+
216
+It is not the purpose of this section to induce you to infringe any
217
+patents or other property right claims or to contest validity of any
218
+such claims; this section has the sole purpose of protecting the
219
+integrity of the free software distribution system, which is
220
+implemented by public license practices.  Many people have made
221
+generous contributions to the wide range of software distributed
222
+through that system in reliance on consistent application of that
223
+system; it is up to the author/donor to decide if he or she is willing
224
+to distribute software through any other system and a licensee cannot
225
+impose that choice.
226
+
227
+This section is intended to make thoroughly clear what is believed to
228
+be a consequence of the rest of this License.
229
+
230
+  8. If the distribution and/or use of the Program is restricted in
231
+certain countries either by patents or by copyrighted interfaces, the
232
+original copyright holder who places the Program under this License
233
+may add an explicit geographical distribution limitation excluding
234
+those countries, so that distribution is permitted only in or among
235
+countries not thus excluded.  In such case, this License incorporates
236
+the limitation as if written in the body of this License.
237
+
238
+  9. The Free Software Foundation may publish revised and/or new versions
239
+of the General Public License from time to time.  Such new versions will
240
+be similar in spirit to the present version, but may differ in detail to
241
+address new problems or concerns.
242
+
243
+Each version is given a distinguishing version number.  If the Program
244
+specifies a version number of this License which applies to it and "any
245
+later version", you have the option of following the terms and conditions
246
+either of that version or of any later version published by the Free
247
+Software Foundation.  If the Program does not specify a version number of
248
+this License, you may choose any version ever published by the Free Software
249
+Foundation.
250
+
251
+  10. If you wish to incorporate parts of the Program into other free
252
+programs whose distribution conditions are different, write to the author
253
+to ask for permission.  For software which is copyrighted by the Free
254
+Software Foundation, write to the Free Software Foundation; we sometimes
255
+make exceptions for this.  Our decision will be guided by the two goals
256
+of preserving the free status of all derivatives of our free software and
257
+of promoting the sharing and reuse of software generally.
258
+
259
+			    NO WARRANTY
260
+
261
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
262
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
263
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
264
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
265
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
266
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
267
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
268
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
269
+REPAIR OR CORRECTION.
270
+
271
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
272
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
273
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
274
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
275
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
276
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
277
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
278
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
279
+POSSIBILITY OF SUCH DAMAGES.
280
+
281
+		     END OF TERMS AND CONDITIONS
282
+
283
+	    How to Apply These Terms to Your New Programs
284
+
285
+  If you develop a new program, and you want it to be of the greatest
286
+possible use to the public, the best way to achieve this is to make it
287
+free software which everyone can redistribute and change under these terms.
288
+
289
+  To do so, attach the following notices to the program.  It is safest
290
+to attach them to the start of each source file to most effectively
291
+convey the exclusion of warranty; and each file should have at least
292
+the "copyright" line and a pointer to where the full notice is found.
293
+
294
+    <one line to give the program's name and a brief idea of what it does.>
295
+    Copyright (C) <year>  <name of author>
296
+
297
+    This program is free software; you can redistribute it and/or modify
298
+    it under the terms of the GNU General Public License as published by
299
+    the Free Software Foundation; either version 2 of the License, or
300
+    (at your option) any later version.
301
+
302
+    This program is distributed in the hope that it will be useful,
303
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
304
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
305
+    GNU General Public License for more details.
306
+
307
+    You should have received a copy of the GNU General Public License
308
+    along with this program; if not, write to the Free Software
309
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
310
+
311
+
312
+Also add information on how to contact you by electronic and paper mail.
313
+
314
+If the program is interactive, make it output a short notice like this
315
+when it starts in an interactive mode:
316
+
317
+    Gnomovision version 69, Copyright (C) year  name of author
318
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319
+    This is free software, and you are welcome to redistribute it
320
+    under certain conditions; type `show c' for details.
321
+
322
+The hypothetical commands `show w' and `show c' should show the appropriate
323
+parts of the General Public License.  Of course, the commands you use may
324
+be called something other than `show w' and `show c'; they could even be
325
+mouse-clicks or menu items--whatever suits your program.
326
+
327
+You should also get your employer (if you work as a programmer) or your
328
+school, if any, to sign a "copyright disclaimer" for the program, if
329
+necessary.  Here is a sample; alter the names:
330
+
331
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
333
+
334
+  <signature of Ty Coon>, 1 April 1989
335
+  Ty Coon, President of Vice
336
+
337
+This General Public License does not permit incorporating your program into
338
+proprietary programs.  If your program is a subroutine library, you may
339
+consider it more useful to permit linking proprietary applications with the
340
+library.  If this is what you want to do, use the GNU Library General
341
+Public License instead of this License.

+ 99
- 0
README View File

@@ -0,0 +1,99 @@
1
+QT AGI Studio, release 1.3.0
2
+
3
+About
4
+=====
5
+
6
+AGI (Adventure Game Interpreter) is the adventure game engine used by
7
+Sierra On-Line(tm) to create some of their early games. QT AGI Studio
8
+(formerly known as Linux AGI Studio) is a program which allows you to
9
+view, create and edit AGI games. Basically, it is an enhanced port of
10
+the Windows AGI Studio developed by Peter Kelly.
11
+
12
+The program contains very little platform specific code so brave ones
13
+are encouraged to try it on other operating systems that have QT
14
+library support.
15
+
16
+
17
+Availability
18
+============
19
+
20
+QT AGI Studio is available at http://agistudio.sourceforge.net/
21
+The project is licensed under the GPL, GNU General Public License.
22
+See COPYING for details.
23
+
24
+
25
+System requirements
26
+===================
27
+
28
+Linux:  GNU make, g++, X Window System, QT library
29
+
30
+The program is now being developed with QT version 4
31
+
32
+NAGI, Sarien or ScummVM AGI interpreter is recommended to run games.
33
+Sarien is available at http://sarien.sourceforge.net/
34
+and NAGI at http://www.agidev.com/nagi.html
35
+Sarien is more focused on portability and NAGI on compatibility
36
+with Sierra's original AGI interpreter. Both are free.
37
+ScummVM is actively developed, but does not integrate well
38
+with QT AGI studio.
39
+
40
+WINDOWS NOTE: the code hasn't been tested on Windows lately.
41
+If you are interested, please go ahead, make a working
42
+Visual Studio project and send a patch!
43
+
44
+
45
+Building
46
+========
47
+
48
+Run "make" in the src subdirectory. If the supplied Makefile doesn't work,
49
+you can either fix it or use tmake to generate a makefile for your platform:
50
+
51
+ qmake agistudio.pro -o Makefile
52
+
53
+If you don't have tmake, you can download it at http://www.trolltech.com
54
+
55
+Make assumes that QT4 is installed and working (in particular, the QTDIR
56
+environment variable is properly set)
57
+
58
+
59
+Installation and setup
60
+======================
61
+
62
+The binary is called agistudio and will be built in the src subdirectory; you
63
+can copy it to any path convenient to use (e.g. /usr/local/bin). In order to
64
+use the help and an example game template, copy them to any convenient place
65
+and specify the appropriate paths in the "Settings" menu when you'll run
66
+agistudio.
67
+
68
+AGI studio has its own help viewer, but you can also view the help with
69
+any HTML browser.
70
+
71
+If agistudio complains that it can't load qt shared library, then set the
72
+LD_LIBRARY_PATH environment variable to the path which contains libqt.so.*.
73
+
74
+Using
75
+=====
76
+
77
+Please read the online help. Note that if you want to use existing games'
78
+files, all the filenames must be in lower case.
79
+
80
+
81
+Credits
82
+=======
83
+
84
+ * Helen Zommer <helen@cc.huji.ac.il> - primary development
85
+ * Jarno Elonen <elonen@iki.fi> - bitmap import, current maintainer
86
+
87
+ * Nat Budin <natb@brandeis.edu> - Win32 port
88
+ * Claudio Matsuoka <claudio@helllabs.org> - sound support
89
+ * Peter Kelly <pmk@post.com> - the original Windows version
90
+ * Lance Ewing <lance.e@ihug.co.nz> - the original (DOS) Picedit
91
+
92
+
93
+Feedback
94
+========
95
+
96
+Please visit project website at http://agistudio.sourceforge.net/ to
97
+submit bug reports, comments, suggestions, etc.
98
+
99
+Hope you'll have as much fun using it as we've had developing it :-)

+ 34
- 0
agistudio.1 View File

@@ -0,0 +1,34 @@
1
+.\"                                      Hey, EMACS: -*- nroff -*-
2
+.TH AGISTUDIO 1 "August 25, 2012" "agistudio" "QT AGI Studio 1.3.0"
3
+.SH NAME
4
+QT AGI Studio \- an AGI adventure game development environment
5
+.SH SYNOPSIS
6
+.B agistudio
7
+.RI [ options ]
8
+.br
9
+.SH DESCRIPTION
10
+AGI (Adventure Game Interpreter) is the adventure game engine used by
11
+Sierra On-Line(tm) to create some of their early games. \fBQT AGI Studio\fP
12
+is a program that allows you to view, create and edit AGI games with
13
+a friendly GUI.
14
+.PP
15
+.nf
16
+The user interface is documented in HTML format, see
17
+.fi
18
+.nh
19
+.IR /usr/share/agistudio/help
20
+.hy
21
+.SH OPTIONS
22
+.TP
23
+.B \-help
24
+.br
25
+Show of options.
26
+.TP
27
+.B \-dir GAMEDIR
28
+.br
29
+Open an existing game in GAMEDIR.
30
+.SH SEE ALSO
31
+.BR nagi(6),sarien(6),scummvm(6)
32
+.IR
33
+.SH AUTHOR
34
+(C) 2003-2012 by Jarno Elonen <elonen@iki.fi>

+ 19
- 0
help/about_agi.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>About AGI</TITLE></HEAD>
4
+<BODY>
5
+<h1>About AGI</h1>
6
+AGI (Adventure Game Interpreter) is the adventure game engine used by Sierra On-Line(tm) to create some of their early games. With the release of King's Quest 1 in the early 80's, it introduced the 
7
+gaming world to the concept of a 3D graphical adventure game, where the player could move a character around the screen, behind, in front of and over objects. Other commands could be typed in, just 
8
+like a text adventure. A number of other games that used AGI were subsequently released, such as Space Quest 1 & 2, Police Quest 1 and Leisure Suit Larry 1 to name a few. 
9
+<p>
10
+The graphics were rather blocky, using a 160x200 resolution, which I believe is because of the graphics mode used by the IBM PCjr, for which the interpreter was originally written. AGI used the 
11
+internal speaker for sound on PCs, but on pretty much every other system (Mac, Amiga, Tandy, PCjr) it was capable of doing 3 voices. 
12
+<p>
13
+<img src="kq3.png" alt = "" ><p>
14
+A screenshot from Kings Quest 3<p>
15
+Since late 1996 a number of people around the world have been working together to figure out the data formats used by AGI, with the intention of being able to view and edit the data. It has taken a 
16
+while, but we are now at the point where we can do this, and even create our own adventure games using the system. 
17
+<p>
18
+<a href="index.html">Back to contents</a><p>
19
+</BODY></HTML>

+ 47
- 0
help/about_agi_studio.html View File

@@ -0,0 +1,47 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>About QT AGI Studio</TITLE></HEAD>
4
+<BODY>
5
+<h1>About QT AGI Studio</h1>
6
+AGI Studio is a program which allows you to view, create and edit AGI games.
7
+Its goal is to provide a friendly, easy to use interface to work with AGI games in a powerful, integrated environment.
8
+<p>
9
+Its features include:<p>
10
+<ul>
11
+<li>Viewing of view and picture resources
12
+<li>Editing of view and picture resources and the WORDS.TOK and OBJECT files
13
+<li>Listening to sound resources
14
+<li>Compiling and decompiling of logic resources
15
+<li>Adding, deleting, extracting and renumbering of resources
16
+<li>Rebuilding of VOL files
17
+</ul>
18
+<p>
19
+QT AGI studio is an enhanced port of the Windows AGI Studio v.1.31 developed by Peter Kelly. It is designed to closely resemble the original program, however some (hopefully non-critical) features are missing and some new features are added.
20
+<p>
21
+The picture editor is a port of the MSDOS Picedit developed by Lance Ewing. 
22
+<p>
23
+ The sound code was developed by Claudio Matsuoka. 
24
+<p>
25
+QT AGI Studio is available from
26
+<a href="http://agistudio.sourceforge.net/">http://agistudio.sourceforge.net/</a>.
27
+<p>
28
+Please submit bug reports, suggestions etc. to the support database.
29
+<p>
30
+Here is the <a href="todo.html">TODO list</a> for future development.
31
+<p>
32
+<hr>
33
+This program is free software; you can redistribute it and/or modify it
34
+under the terms of the <a href="gpl.txt">GNU General Public License</a>, version 2 or later, as published by the the Free Software Foundation.
35
+<p>
36
+This program is distributed in the hope that it will be useful,
37
+but WITHOUT ANY WARRANTY; without even the implied warranty of
38
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
39
+GNU General Public License for more details.
40
+<p>
41
+You should have received a copy of the GNU General Public License
42
+along with this program; if not, write to the Free Software
43
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
44
+<hr>
45
+<p>
46
+<a href="index.html">Back to contents</a><p>
47
+</BODY></HTML>

+ 11
- 0
help/about_help.html View File

@@ -0,0 +1,11 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>About this help</TITLE></HEAD>
4
+<BODY>
5
+<h1>About this help</h1>
6
+The QT AGI studio online help was converted from the original (Windows) AGI Studio online help. Therefore, "I" in this help almost everywhere refers to Peter Kelly - the author of the Windows AGI studio.
7
+<p>
8
+The name "AGI studio" refers to the QT AGI Studio. There are a few differences between the QT port and the native Windows version, the relevant help text has been changed, but there is no list of the differences.
9
+<p>
10
+<a href="index.html">Back to contents</a><p>
11
+</BODY></HTML>

+ 16
- 0
help/accept_input.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>accept.input</TITLE></HEAD>
4
+<BODY>
5
+<h1>accept.input</h1>
6
+<B>Category</B><p>
7
+<a href="system_commands.html">System commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+accept.input();<p>
11
+<B>Description</B><p>
12
+<p>
13
+Allows the player to enter input, if they have been prevented from doing so. If the input prompt is hidden, it is displayed again (including any text that was on it).<p>
14
+<B>See also</B><p>
15
+<a href="prevent_input.html">prevent.input</a><p>
16
+</BODY></HTML>

+ 20
- 0
help/add_to_pic.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>add.to.pic</TITLE></HEAD>
4
+<BODY>
5
+<h1>add.to.pic</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+add.to.pic(VIEWNO,LOOPNO,CELNO,X,Y,PRI,MARGIN);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command allows you to add a view to the visual picture screen in memory. Cel CELNO of loop LOOPNO of view VIEWNO is drawn on the picture at X,Y with a priority of PRI. If MARGIN is 0, 1, 2 or 3, 
14
+the base line of the object (the bottom row of pixels of the cel) is given a priority of MARGIN. Since priority is taken into account, so you can use add.to.pic to add views behind other parts of the 
15
+picture. 
16
+<p>
17
+Note that the view must be loaded before you use it with add.to.pic. This can be done with the <a href="load_view.html">load.view</a> command.<p>
18
+<B>See also</B><p>
19
+<a href="add_to_pic_v.html">add.to.pic.v</a><p>
20
+</BODY></HTML>

+ 20
- 0
help/add_to_pic_v.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>add.to.pic.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>add.to.pic.v</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+add.to.pic.v(vVIEWNO,vLOOPNO,vCELNO,vX,vY,vPRI,vMARGIN);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command allows you to add a view to the visual picture screen in memory. Cel vCELNO of loop vLOOPNO of view vVIEWNO is drawn on the picture at vX,vY with a priority of vPRI. If vMARGIN is 0, 1, 
14
+2 or 3, the base line of the object (the bottom row of pixels of the cel) is given a priority of vMARGIN. Since priority is taken into account, so you can use add.to.pic.v to add views behind other 
15
+parts of the picture. 
16
+<p>
17
+Note that the view must be loaded before you use it with add.to.pic.v. This can be done with the <a href="load_view.html">load.view</a> command.<p>
18
+<B>See also</B><p>
19
+<a href="add_to_pic.html">add.to.pic</a><p>
20
+</BODY></HTML>

+ 11
- 0
help/adding_resources.html View File

@@ -0,0 +1,11 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Adding resources</TITLE></HEAD>
4
+<BODY>
5
+<h1>Adding resources</h1>
6
+To add a resource, select 'Add' from the 'Resource' menu. Select the file you want to add. Once a file is selected, you will be prompted for the 
7
+resource type and number (the program will attempt to determine this from the name of the file). 
8
+<p>
9
+In version 3 games, resources added or saved to the game are not compressed.<p>
10
+<a href="index.html">Back to contents</a><p>
11
+</BODY></HTML>

+ 20
- 0
help/addn.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>addn</TITLE></HEAD>
4
+<BODY>
5
+<h1>addn</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+addn(vA,B);<p>
12
+vA += B;<p>
13
+vA = vA + B;<p>
14
+<B>Description</B><p>
15
+<p>
16
+B is added to vA. Since a var can only be from 0-255, if the result is greater than 255, then the value wraps around, e.g. 250 + 10 would give 4.<p>
17
+<p>
18
+<B>See also</B><p>
19
+<a href="addv.html">addv</a><p>
20
+</BODY></HTML>

+ 19
- 0
help/addv.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>addv</TITLE></HEAD>
4
+<BODY>
5
+<h1>addv</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+addv(vA,vB);<p>
12
+vA += vB;<p>
13
+vA = vA + vB;<p>
14
+<B>Description</B><p>
15
+<p>
16
+vB is added to vA. Since a var can only be from 0-255, if the result is greater than 255, then the value wraps around, e.g. 250 + 10 would give 4.<p>
17
+<B>See also</B><p>
18
+<a href="addn.html">addn</a><p>
19
+</BODY></HTML>

BIN
help/agi-pic-template.pdf View File


BIN
help/agi-pic-template.sxd View File


+ 17
- 0
help/allow_menu.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>allow.menu</TITLE></HEAD>
4
+<BODY>
5
+<h1>allow.menu</h1>
6
+<B>Category</B><p>
7
+<a href="extra_commands.html">Extra commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+allow.menu(A);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command determines whether the menu is activated or not.<p>
14
+If A = 0 then the menu is turned off.<br>
15
+If A = 1 then the menu is turned on.<p>
16
+<B>See also</B><p>
17
+</BODY></HTML>

+ 17
- 0
help/animate_obj.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>animate.obj</TITLE></HEAD>
4
+<BODY>
5
+<h1>animate.obj</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+animate.obj(oA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This tells the interpreter to activate oA. You must do this before doing anything with the object.<p>
14
+<B>See also</B><p>
15
+<a href="unanimate_all.html">unanimate.all</a><p>
16
+<a href="initializing_objects.html">Initializing objects</a><p>
17
+</BODY></HTML>

+ 18
- 0
help/assignn.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>assignn</TITLE></HEAD>
4
+<BODY>
5
+<h1>assignn</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+assignn(vA,B);<p>
12
+vA = B;<p>
13
+<B>Description</B><p>
14
+<p>
15
+The value of vA is set to B.<p>
16
+<B>See also</B><p>
17
+<a href="assignv.html">assignv</a><p>
18
+</BODY></HTML>

+ 18
- 0
help/assignv.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>assignv</TITLE></HEAD>
4
+<BODY>
5
+<h1>assignv</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+assignv(vA,vB);<p>
12
+vA = vB;<p>
13
+<B>Description</B><p>
14
+<p>
15
+The value of vA is set to the value of vB.<p>
16
+<B>See also</B><p>
17
+<a href="assignn.html">assignn</a><p>
18
+</BODY></HTML>

+ 22
- 0
help/block.html View File

@@ -0,0 +1,22 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>block</TITLE></HEAD>
4
+<BODY>
5
+<h1>block</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+block(X1,Y1,X2,Y2);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This sets up an invisible rectangular block on the screen with top-left co-ordinates X1,Y1 and bottom-right co-ordinates X2,Y2. Objects are not allowed to cross the borders of this block (unless they 
14
+are told to ignore blocks). The block can be removed using the <a href="unblock.html">unblock</a> command. 
15
+<p>
16
+Note: You can only have one block on the screen at a time. If a block already exists, and you use the block command again, the new block will be there but the old one will be gone.<p>
17
+<B>See also</B><p>
18
+<a href="unblock.html">unblock</a><p>
19
+<a href="ignore_blocks.html">ignore.blocks</a><p>
20
+<a href="observe_blocks.html">observe.blocks</a><p>
21
+<a href="controlling_obstacles.html">Controlling obstacles</a><p>
22
+</BODY></HTML>

+ 17
- 0
help/call.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>call</TITLE></HEAD>
4
+<BODY>
5
+<h1>call</h1>
6
+<B>Category</B><p>
7
+<a href="control_commands.html">Control flow commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+call(A);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Logic A is executed once. If it is not already loaded into memory, it is loaded before being called and then unloaded again afterwards.<p>
14
+<B>See also</B><p>
15
+<a href="call_v.html">call.v</a><p>
16
+<a href="load_logics.html">load.logics</a><p>
17
+</BODY></HTML>

+ 17
- 0
help/call_v.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>call.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>call.v</h1>
6
+<B>Category</B><p>
7
+<a href="control_commands.html">Control flow commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+call.v(vA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Logic vA is executed once. If it is not already loaded into memory, it is loaded before being called and then unloaded again afterwards.<p>
14
+<B>See also</B><p>
15
+<a href="call.html">call</a><p>
16
+<a href="load_logics.html">load.logics</a><p>
17
+</BODY></HTML>

+ 15
- 0
help/cancel_line.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>cancel.line</TITLE></HEAD>
4
+<BODY>
5
+<h1>cancel.line</h1>
6
+<B>Category</B><p>
7
+<a href="system_commands.html">System commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+cancel.line();<p>
11
+<B>Description</B><p>
12
+<p>
13
+Clears any text that is on the input line.<p>
14
+<B>See also</B><p>
15
+</BODY></HTML>

+ 19
- 0
help/center_posn.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>center.posn</TITLE></HEAD>
4
+<BODY>
5
+<h1>center.posn</h1>
6
+<B>Category</B><p>
7
+<a href="test_commands.html">Test commands</a> / <a href="object_commands.html">Object/view commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+if (center.posn(oA,X1,Y1,X2,Y2)) { .....<p>
12
+<B>Description</B><p>
13
+<p>
14
+Returns true if the co-ordinates of the bottom-middle pixel of object oA are within the region (X1,Y1,X2,Y2).<p>
15
+<B>See also</B><p>
16
+<a href="posn.html">posn</a><p>
17
+<a href="right_posn.html">right.posn</a><p>
18
+<a href="obj_in_box.html">obj.in.box</a><p>
19
+</BODY></HTML>

+ 16
- 0
help/clear_lines.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>clear.lines</TITLE></HEAD>
4
+<BODY>
5
+<h1>clear.lines</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+clear.lines(TOP,BOTTOM,COLOUR);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Clears the lines from TOP to BOTTOM with the colour COLOUR. I have found that it will only use black (if COLOUR is 0) or white (if COLOUR is greater than 0).<p>
14
+<B>See also</B><p>
15
+<a href="clear_text_rect.html">clear.text.rect</a><p>
16
+</BODY></HTML>

+ 18
- 0
help/clear_text_rect.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>clear.text.rect</TITLE></HEAD>
4
+<BODY>
5
+<h1>clear.text.rect</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+clear.text.rect(Y1,X1,Y2,X2,COLOUR);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Clears the text rectangle with a top-left corner of X1,Y1 and a bottom-right corner of X2,Y2 with the colour COLOUR. I have found that it will only use black (if COLOUR is 0) or white (if COLOUR is 
14
+greater than 0). 
15
+<p>
16
+<B>See also</B><p>
17
+<a href="clear_lines.html">clear.lines</a><p>
18
+</BODY></HTML>

+ 18
- 0
help/close_dialogue.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>close.dialogue</TITLE></HEAD>
4
+<BODY>
5
+<h1>close.dialogue</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+close.dialogue();<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command supposedly disables the <a href="get_string.html">get.string</a> and <a href="get_num.html">get.num</a> commands when the <a href="prevent_input.html">prevent.input</a> command has been used, but it does not seem to do this so I am 
14
+not sure what the command actually does. 
15
+<p>
16
+<B>See also</B><p>
17
+<a href="open_dialogue.html">open.dialogue</a><p>
18
+</BODY></HTML>

+ 19
- 0
help/close_window.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>close.window</TITLE></HEAD>
4
+<BODY>
5
+<h1>close.window</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+close.window();<p>
11
+<B>Description</B><p>
12
+<p>
13
+If a window is left on the screen from a <a href="print.html">print</a> command, it is removed.<p>
14
+<B>See also</B><p>
15
+<a href="print.html">print</a><p>
16
+<a href="print_v.html">print.v</a><p>
17
+<a href="print_at.html">print.at</a><p>
18
+<a href="print_at_v.html">print.at.v</a><p>
19
+</BODY></HTML>

+ 20
- 0
help/commands_by_category.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Commands by category</TITLE></HEAD>
4
+<BODY>
5
+<h1>Commands by category</h1>
6
+<a href="test_commands.html">Test commands</a><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<a href="flag_commands.html">Flag commads</a><p>
9
+<a href="control_commands.html">Control flow commands</a><p>
10
+<a href="picture_commands.html">Picture commands</a><p>
11
+<a href="debug_commands.html">Debugging commands</a><p>
12
+<a href="object_commands.html">Object/view commands</a><p>
13
+<a href="inventory_commands.html">Inventory item commands</a><p>
14
+<a href="sound_commands.html">Sound commands</a><p>
15
+<a href="display_commands.html">Display commands</a><p>
16
+<a href="menu_commands.html">Menu/Key commands</a><p>
17
+<a href="system_commands.html">System commands</a><p>
18
+<a href="string_commands.html">String commands</a><p>
19
+<a href="extra_commands.html">Extra commands</a><p>
20
+</BODY></HTML>

+ 213
- 0
help/commands_by_name.html View File

@@ -0,0 +1,213 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Commands by name</TITLE></HEAD>
4
+<BODY>
5
+
6
+<h1>Commands by name</h1>
7
+
8
+<B>Test commands</B><p>
9
+
10
+<a href="equaln.html">equaln</a><p>
11
+<a href="equalv.html">equalv</a><p>
12
+<a href="lessn.html">lessn</a><p>
13
+<a href="lessv.html">lessv</a><p>
14
+<a href="greatern.html">greatern</a><p>
15
+<a href="greaterv.html">greaterv</a><p>
16
+<a href="isset.html">isset</a><p>
17
+<a href="issetv.html">issetv</a><p>
18
+<a href="has.html">has</a><p>
19
+<a href="obj_in_room.html">obj.in.room</a><p>
20
+<a href="posn.html">posn</a><p>
21
+<a href="controller.html">controller</a><p>
22
+<a href="have_key.html">have.key</a><p>
23
+<a href="said.html">said</a><p>
24
+<a href="compare_strings.html">compare.strings</a><p>
25
+<a href="obj_in_box.html">obj.in.box</a><p>
26
+<a href="center_posn.html">center.posn</a><p>
27
+<a href="right_posn.html">right.posn</a><p>
28
+
29
+<B>Action commands</B><p>
30
+
31
+<a href="accept_input.html">accept.input</a><p>
32
+<a href="add_to_pic_v.html">add.to.pic.v</a><p>
33
+<a href="add_to_pic.html">add.to.pic</a><p>
34
+<a href="addn.html">addn</a><p>
35
+<a href="addv.html">addv</a><p>
36
+<a href="allow_menu.html">allow.menu</a><p>
37
+<a href="animate_obj.html">animate.obj</a><p>
38
+<a href="assignn.html">assignn</a><p>
39
+<a href="assignv.html">assignv</a><p>
40
+<a href="block.html">block</a><p>
41
+<a href="call_v.html">call.v</a><p>
42
+<a href="call.html">call</a><p>
43
+<a href="cancel_line.html">cancel.line</a><p>
44
+<a href="clear_lines.html">clear.lines</a><p>
45
+<a href="clear_text_rect.html">clear.text.rect</a><p>
46
+<a href="close_dialogue.html">close.dialogue</a><p>
47
+<a href="close_window.html">close.window</a><p>
48
+<a href="configure_screen.html">configure.screen</a><p>
49
+<a href="current_cel.html">current.cel</a><p>
50
+<a href="current_loop.html">current.loop</a><p>
51
+<a href="current_view.html">current.view</a><p>
52
+<a href="cycle_time.html">cycle.time</a><p>
53
+<a href="decrement.html">decrement</a><p>
54
+<a href="disable_item.html">disable.item</a><p>
55
+<a href="discard_pic.html">discard.pic</a><p>
56
+<a href="discard_sound.html">discard.sound</a><p>
57
+<a href="discard_view_v.html">discard.view.v</a><p>
58
+<a href="discard_view.html">discard.view</a><p>
59
+<a href="display_v.html">display.v</a><p>
60
+<a href="display.html">display</a><p>
61
+<a href="distance.html">distance</a><p>
62
+<a href="div_n.html">div.n</a><p>
63
+<a href="div_v.html">div.v</a><p>
64
+<a href="draw_pic.html">draw.pic</a><p>
65
+<a href="draw.html">draw</a><p>
66
+<a href="drop.html">drop</a><p>
67
+<a href="echo_line.html">echo.line</a><p>
68
+<a href="enable_item.html">enable.item</a><p>
69
+<a href="end_of_loop.html">end.of.loop</a><p>
70
+<a href="erase.html">erase</a><p>
71
+<a href="fence_mouse.html">fence.mouse</a><p>
72
+<a href="fix_loop.html">fix.loop</a><p>
73
+<a href="follow_ego.html">follow.ego</a><p>
74
+<a href="force_update.html">force.update</a><p>
75
+<a href="get_dir.html">get.dir</a><p>
76
+<a href="get_num.html">get.num</a><p>
77
+<a href="get_posn.html">get.posn</a><p>
78
+<a href="get_priority.html">get.priority</a><p>
79
+<a href="get_room_v.html">get.room.v</a><p>
80
+<a href="get_string.html">get.string</a><p>
81
+<a href="get_v.html">get.v</a><p>
82
+<a href="get.html">get</a><p>
83
+<a href="graphics.html">graphics</a><p>
84
+<a href="hide_mouse.html">hide.mouse</a><p>
85
+<a href="hold_key.html">hold.key</a><p>
86
+<a href="ignore_blocks.html">ignore.blocks</a><p>
87
+<a href="ignore_horizon.html">ignore.horizon</a><p>
88
+<a href="ignore_objs.html">ignore.objs</a><p>
89
+<a href="increment.html">increment</a><p>
90
+<a href="init_disk.html">init.disk</a><p>
91
+<a href="init_joy.html">init.joy</a><p>
92
+<a href="last_cel.html">last.cel</a><p>
93
+<a href="lindirectn.html">lindirectn</a><p>
94
+<a href="lindirectv.html">lindirectv</a><p>
95
+<a href="load_logics_v.html">load.logics.v</a><p>
96
+<a href="load_logics.html">load.logics</a><p>
97
+<a href="load_pic.html">load.pic</a><p>
98
+<a href="load_sound.html">load.sound</a><p>
99
+<a href="load_view_v.html">load.view.v</a><p>
100
+<a href="load_view.html">load.view</a><p>
101
+<a href="log.html">log</a><p>
102
+<a href="menu_input.html">menu.input</a><p>
103
+<a href="mouse_posn.html">mouse.posn</a><p>
104
+<a href="move_obj_v.html">move.obj.v</a><p>
105
+<a href="move_obj.html">move.obj</a><p>
106
+<a href="mul_n.html">mul.n</a><p>
107
+<a href="mul_v.html">mul.v</a><p>
108
+<a href="new_room_v.html">new.room.v</a><p>
109
+<a href="new_room.html">new.room</a><p>
110
+<a href="normal_cycle.html">normal.cycle</a><p>
111
+<a href="normal_motion.html">normal.motion</a><p>
112
+<a href="number_of_loops.html">number.of.loops</a><p>
113
+<a href="obj_status_v.html">obj.status.v</a><p>
114
+<a href="object_on_anything.html">object.on.anything</a><p>
115
+<a href="object_on_land.html">object.on.land</a><p>
116
+<a href="object_on_water.html">object.on.water</a><p>
117
+<a href="observe_blocks.html">observe.blocks</a><p>
118
+<a href="observe_horizon.html">observe.horizon</a><p>
119
+<a href="observe_objs.html">observe.objs</a><p>
120
+<a href="open_dialogue.html">open.dialogue</a><p>
121
+<a href="overlay_pic.html">overlay.pic</a><p>
122
+<a href="parse.html">parse</a><p>
123
+<a href="pause.html">pause</a><p>
124
+<a href="player_control.html">player.control</a><p>
125
+<a href="pop_script.html">pop.scrip</a><p>
126
+<a href="position_v.html">position.v</a><p>
127
+<a href="position.html">position</a><p>
128
+<a href="prevent_input.html">prevent.input</a><p>
129
+<a href="print_at_v.html">print.at.v</a><p>
130
+<a href="print_at.html">print.at</a><p>
131
+<a href="print_v.html">print.v</a><p>
132
+<a href="print.html">print</a><p>
133
+<a href="program_control.html">program.control</a><p>
134
+<a href="push_script.html">push.script</a><p>
135
+<a href="put_v.html">put.v</a><p>
136
+<a href="put.html">put</a><p>
137
+<a href="quit.html">quit</a><p>
138
+<a href="random.html">random</a><p>
139
+<a href="release_key.html">release.key</a><p>
140
+<a href="release_loop.html">release.loop</a><p>
141
+<a href="release_priority.html">release.priority</a><p>
142
+<a href="reposition_to_v.html">reposition.to.v</a><p>
143
+<a href="reposition_to.html">reposition.to</a><p>
144
+<a href="reposition.html">reposition</a><p>
145
+<a href="reset_scan_start.html">reset.scan.start</a><p>
146
+<a href="reset_v.html">reset.v</a><p>
147
+<a href="reset.html">reset</a><p>
148
+<a href="restart_game.html">restart.game</a><p>
149
+<a href="restore_game.html">restore.game</a><p>
150
+<a href="return.html">return</a><p>
151
+<a href="reverse_cycle.html">reverse.cycle</a><p>
152
+<a href="reverse_loop.html">reverse.loop</a><p>
153
+<a href="rindirect.html">rindirect</a><p>
154
+<a href="save_game.html">save.game</a><p>
155
+<a href="script_size.html">script.size</a><p>
156
+<a href="set_cel_v.html">set.cel.v</a><p>
157
+<a href="set_cel.html">set.cel</a><p>
158
+<a href="set_cursor_char.html">set.cursor.char</a><p>
159
+<a href="set_dir.html">set.dir</a><p>
160
+<a href="set_game_id.html">set.game.id</a><p>
161
+<a href="set_horizon.html">set.horizon</a><p>
162
+<a href="set_key.html">set.key</a><p>
163
+<a href="set_loop_v.html">set.loop.v</a><p>
164
+<a href="set_loop.html">set.loop</a><p>
165
+<a href="set_menu_item.html">set.menu.item</a><p>
166
+<a href="set_menu.html">set.menu</a><p>
167
+<a href="set_pri_base.html">set.pri.base</a><p>
168
+<a href="set_priority_v.html">set.priority.v</a><p>
169
+<a href="set_priority.html">set.priority</a><p>
170
+<a href="set_scan_start.html">set.scan.start</a><p>
171
+<a href="set_simple.html">set.simple</a><p>
172
+<a href="set_string.html">set.string</a><p>
173
+<a href="set_text_attribute.html">set.text.attribute</a><p>
174
+<a href="set_upper_left.html">set.upper.left</a><p>
175
+<a href="set_view_v.html">set.view.v</a><p>
176
+<a href="set_view.html">set.view</a><p>
177
+<a href="set_v.html">set.v</a><p>
178
+<a href="set.html">set</a><p>
179
+<a href="shake_screen.html">shake.screen</a><p>
180
+<a href="show_mem.html">show.mem</a><p>
181
+<a href="show_mouse.html">show.mouse</a><p>
182
+<a href="show_obj_v.html">show.obj.v</a><p>
183
+<a href="show_obj.html">show.obj</a><p>
184
+<a href="show_pic.html">show.pic</a><p>
185
+<a href="show_pri_screen.html">show.pri.screen</a><p>
186
+<a href="sound.html">sound</a><p>
187
+<a href="start_cycling.html">start.cycling</a><p>
188
+<a href="start_motion.html">start.motion</a><p>
189
+<a href="start_update.html">start.update</a><p>
190
+<a href="status_line_off.html">status.line.off</a><p>
191
+<a href="status_line_on.html">status.line.on</a><p>
192
+<a href="status.html">status</a><p>
193
+<a href="step_size.html">step.size</a><p>
194
+<a href="step_time.html">step.time</a><p>
195
+<a href="stop_cycling.html">stop.cycling</a><p>
196
+<a href="stop_motion.html">stop.motion</a><p>
197
+<a href="stop_sound.html">stop.sound</a><p>
198
+<a href="stop_update.html">stop.update</a><p>
199
+<a href="submit_menu.html">submit.menu</a><p>
200
+<a href="subn.html">subn</a><p>
201
+<a href="subv.html">subv</a><p>
202
+<a href="text_screen.html">text.screen</a><p>
203
+<a href="toggle_monitor.html">toggle.monitor</a><p>
204
+<a href="toggle_v.html">toggle.v</a><p>
205
+<a href="toggle.html">toggle</a><p>
206
+<a href="trace_info.html">trace.info</a><p>
207
+<a href="trace_on.html">trace.on</a><p>
208
+<a href="unanimate_all.html">unanimate.all</a><p>
209
+<a href="unblock.html">unblock</a><p>
210
+<a href="version.html">version</a><p>
211
+<a href="wander.html">wander</a><p>
212
+<a href="word_to_string.html">word.to.string</a><p>
213
+</BODY></HTML>

+ 16
- 0
help/compare_strings.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>compare.strings</TITLE></HEAD>
4
+<BODY>
5
+<h1>compare.strings</h1>
6
+<B>Category</B><p>
7
+<a href="test_commands.html">Test commands</a> / <a href="string_commands.html">String commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+if (compare.strings(s1,s2)) { .....<p>
12
+<B>Description</B><p>
13
+<p>
14
+Compares strings s1 and s2 and returns true if they are the same. The comparison is not case-sensitive, and some characters such as space and exclamation marks are ignored.<p>
15
+<B>See also</B><p>
16
+</BODY></HTML>

+ 23
- 0
help/configure_screen.html View File

@@ -0,0 +1,23 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>configure.screen</TITLE></HEAD>
4
+<BODY>
5
+<h1>configure.screen</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+configure.screen(PLAYTOP,INPUTLINE,STATUSLINE);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Sets the location of certain items on screen:<p>
14
+PLAYTOP is the top line of the playing area. This is normally set to 1. It should always be set to something between 0 and 3, since the playing area is 168 pixels high (21 lines) and should not go 
15
+off the screen. 
16
+<p>
17
+INPUTLINE is the line on which the player is prompted for input. This is normally set to 22.<p>
18
+STATUSLINE is the line on which the current score and sound on/off status are displayed. This is normally set to 0.<p>
19
+Note that the menu always appears on line 0.<p>
20
+<B>See also</B><p>
21
+<a href="status_line_on.html">status.line.on</a><p>
22
+<a href="status_line_off.html">status.line.off</a><p>
23
+</BODY></HTML>

+ 15
- 0
help/control_commands.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Control flow commands</TITLE></HEAD>
4
+<BODY>
5
+<h1>Control flow commands</h1>
6
+<a href="call_v.html">call.v</a><p>
7
+<a href="call.html">call</a><p>
8
+<a href="load_logics_v.html">load.logics.v</a><p>
9
+<a href="load_logics.html">load.logics</a><p>
10
+<a href="new_room_v.html">new.room.v</a><p>
11
+<a href="new_room.html">new.room</a><p>
12
+<a href="reset_scan_start.html">reset.scan.start</a><p>
13
+<a href="return.html">return</a><p>
14
+<a href="set_scan_start.html">set.scan.start</a><p>
15
+</BODY></HTML>

+ 17
- 0
help/controller.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>controller</TITLE></HEAD>
4
+<BODY>
5
+<h1>controller</h1>
6
+<B>Category</B><p>
7
+<a href="test_commands.html">Test commands</a> / <a href="menu_commands.html">Menu/Key commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+if (controller(cA)) { .....<p>
12
+<B>Description</B><p>
13
+<p>
14
+Returns true if the menu item or key assigned to controller cA has been selected or pressed during the current cycle.<p>
15
+<B>See also</B><p>
16
+<a href="setting_up_menus_and_keys.html">Setting up menus and keys</a><p>
17
+</BODY></HTML>

+ 63
- 0
help/controlling_obstacles.html View File

@@ -0,0 +1,63 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Controlling obstacles</TITLE></HEAD>
4
+<BODY>
5
+<h1>Controlling obstacles</h1>
6
+There are five main ways an object's movement around the screen can be limited:<p>
7
+<ul>
8
+<li>Control lines on the priority screen
9
+<li>Blocks
10
+<li>Land/water
11
+<li>The horizon
12
+<li>Other objects
13
+</ul>
14
+<p>
15
+For any of these, no part of the object's baseline (the bottom row of pixels of the object) can be on a part of the screen the object is not allowed on.<p>
16
+<B>Control lines on the priority screen</B><p>
17
+<p>
18
+On the priority screen, the first four colours (0-3) have special meaning. Colour 0 (black) is an unconditional barrier. No object is ever allowed to be on parts of the screen with a pixel of this 
19
+colour in the priority screen. 
20
+<p>
21
+Colour 1 (dark blue) is a conditional barrier. Objects are not normally allowed to be on a conditional barrier, unless the <a href="ignore_blocks.html">ignore.blocks</a> command is used to allow them to do so.<p>
22
+Colour 2 (dark green) is a signal barrier. This can be used to test if ego is walking into a certain place. Whenever ego is touching a signal barrier, flag 3 is set.<p>
23
+Colour 3(dark cyan) signifies water. This is explained shortly.<p>
24
+<B>Blocks</B><p>
25
+<p>
26
+You can set up an invisible rectangular block on the screen using the <a href="block.html">block</a> command. The interpreter will not allow objects to cross the borders of the block (unless they are told to ignore 
27
+blocks). You can remove the block using the <a href="unblock.html">unblock</a> command. Objects can be told to ignore blocks using the <a href="ignore_blocks.html">ignore.blocks</a> command and be told to observe blocks by using 
28
+the <a href="observe_blocks.html">objserve.blocks</a> command. 
29
+<p>
30
+<B>Land/water</B><p>
31
+<p>
32
+Parts of the priority screen which are colour 3 (dark cyan) are considered to be "water". If you look at the priority screen of rooms that have lakes or rivers in them, you will usually see this. Parts 
33
+of the priority screen which are not colour 3 are considered to be "land". You do not have to use colour 3 to represent water - it could also represent some other surface such as ice, lava, sand, a 
34
+slippery floor, or whatever you need for that particular room. 
35
+<p>
36
+Objects can be allowed only on water, only on land or on both. This is set be the <a href="object_on_water.html">object.on.water</a>, <a href="object_on_land.html">object.on.land</a> and <a href="object_on_anything.html">object.on.anything</a> 
37
+commands. 
38
+<p>
39
+Whenever ego's baseline is completely on water, flag 0 is set.<p>
40
+<B>The horizon</B><p>
41
+<p>
42
+The horizon is an invisible horizontal line, usually near the top of the screen. Its position is set using the <a href="set_horizon.html">set.horizon</a> command.<p>
43
+Normally, objects can not go above the horizon. This can be changed using the <a href="ignore_horizon.html">ignore.horizon</a> and <a href="observe_horizon.html">observe.horizon</a> commands.<p>
44
+<B>Other objects</B><p>
45
+<p>
46
+Objects are normally blocked by other objects on screen - that is, the baselines of objects are not allowed to touch each other. This can be changed, however, with the <a href="ignore_objs.html">ignore.objs</a> and 
47
+<a href="observe_objs.html">observe.objs</a> commands. 
48
+<p>
49
+<B>See also</B><p>
50
+<a href="block.html">block</a><p>
51
+<a href="unblock.html">unblock</a><p>
52
+<a href="ignore_blocks.html">ignore.blocks</a><p>
53
+<a href="observe_blocks.html">objserve.blocks</a><p>
54
+<a href="object_on_water.html">object.on.water</a><p>
55
+<a href="object_on_land.html">object.on.land</a><p>
56
+<a href="object_on_anything.html">object.on.anything</a><p>
57
+<a href="set_horizon.html">set.horizon</a><p>
58
+<a href="ignore_horizon.html">ignore.horizon</a><p>
59
+<a href="observe_horizon.html">observe.horizon</a><p>
60
+<a href="ignore_objs.html">ignore.objs</a><p>
61
+<a href="observe_objs.html">observe.objs</a><p>
62
+<a href="objects.html">Objects</a><p>
63
+</BODY></HTML>

+ 23
- 0
help/creating_new_games.html View File

@@ -0,0 +1,23 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Creating new games</TITLE></HEAD>
4
+<BODY>
5
+<h1>Creating new games</h1>
6
+To create a new game, select "New" from the game menu. You can choose whether you want to create a completely "empty" game, or a game based on the template. Once you have done this, select the directory 
7
+you want the game to be in (if this directory already contains an AGI game, the program will ask if you want to erase it).
8
+<p>
9
+The template game is a game with only one room, and all the menus, keys etc. already set up for you, along with names for most variables used and comments here and there. It is recommended you choose 
10
+this option, as you can jump straight in and start programming your first room from here. For more information on the template game, see the readme.txt file in the template directory. 
11
+<p>
12
+When you create a game, only the data files (and source code, if based on the template game) are placed in the directory you chose. 
13
+There is no interpreter there. To run the game, you will need to install an AGI interpreter and specify the interpreter command line in the "Settings" menu. You don't have to install it in the same directory with your game - enough that it will be accessible by PATH, or just specify the full path in the "Settings". The interpreter must be version 2.915 or higher (but not version 3). You can usually find out the version number of an interpreter when 
14
+you enter debug mode in a game.
15
+<p>
16
+See the <a href="files_used.html">files used by AGI</a> section to see what files you need to copy into the game directory. If you copy the files into the template directory, then whenever you create a new game from
17
+the template these will be copied also.
18
+<p>
19
+Note: If you are using a newly written AGI interpreter, then the version number will probably be different but new interpreters should
20
+support this format. The files you have to copy over will also be different.
21
+<p>
22
+<a href="index.html">Back to contents</a><p>
23
+</BODY></HTML>

+ 19
- 0
help/current_cel.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>current.cel</TITLE></HEAD>
4
+<BODY>
5
+<h1>current.cel</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+current.cel(oA,vB);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vB is set to the number of the current cel of object oA.<p>
14
+<B>See also</B><p>
15
+<a href="last_cel.html">last.cel</a><p>
16
+<a href="set_cel.html">set.cel</a><p>
17
+<a href="set_cel_v.html">set.cel.v</a><p>
18
+<a href="current_loop.html">current.loop</a><p>
19
+</BODY></HTML>

+ 19
- 0
help/current_loop.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>current.loop</TITLE></HEAD>
4
+<BODY>
5
+<h1>current.loop</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+current.loop(oA,vB);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vB is set to the number of the current loop of object oA.<p>
14
+<B>See also</B><p>
15
+<a href="number_of_loops.html">number.of.loops</a><p>
16
+<a href="set_loop.html">set.loop</a><p>
17
+<a href="set_loop_v.html">set.loop.v</a><p>
18
+<a href="current_cel.html">current.cel</a><p>
19
+</BODY></HTML>

+ 17
- 0
help/current_view.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>current.view</TITLE></HEAD>
4
+<BODY>
5
+<h1>current.view</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+current.view(oA,vB);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vB is set to the number of the view currently assigned to object oA.<p>
14
+<B>See also</B><p>
15
+<a href="set_view.html">set.view</a><p>
16
+<a href="set_view_v.html">set.view.v</a><p>
17
+</BODY></HTML>

+ 19
- 0
help/cycle_time.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>cycle.time</TITLE></HEAD>
4
+<BODY>
5
+<h1>cycle.time</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+cycle.time(oA,vB);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The delay (in interpreter cycles) between cel changes of object oA (when it is cycling) is set to vB. If vB is equal to 0, the cels do not change (even when the object is cycling). Note that an 
14
+object's cycle time is separate to it's <a href="step_time.html">step time</a>. 
15
+<p>
16
+<B>See also</B><p>
17
+<a href="step_time.html">step.time</a><p>
18
+<a href="cycling_objects.html">Cycling objects</a><p>
19
+</BODY></HTML>

+ 59
- 0
help/cycling_objects.html View File

@@ -0,0 +1,59 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Cycling objects</TITLE></HEAD>
4
+<BODY>
5
+<h1>Cycling objects</h1>
6
+The animation of an object is called "cycling". This is the successive display of several cels from the same loop in order. When you initialize an object, it cycles the cels in the first loop (loop 0) 
7
+by default. To change the loop number, use the <a href="set_loop.html">set.loop</a> command. To change the speed of cycling, use the <a href="cycle_time.html">cycle.time</a> command. If you want to display a single cel without 
8
+animation, set the loop number and cel number you want to display using the <a href="set_loop.html">set.loop</a> and <a href="set_cel.html">set.cel</a> commands and then use the <a href="stop_cycling.html">stop.cycling</a> command (you can start 
9
+cycling again by using the <a href="start_cycling.html">start.cycling</a> command). 
10
+<p>
11
+Here is an example of initializing an object that displays cel 2 of loop 1 without animating:<p>
12
+<pre>
13
+animate.obj(o2);
14
+load.view(4);
15
+set.view(o2,4);
16
+position(o2,80,120);
17
+set.loop(o2,1);
18
+set.cel(o2,2);
19
+draw(o2);
20
+stop.cycling(o2);
21
+</pre>
22
+<p>
23
+The objects aren't updated on screen until the start of the next cycle (or until the <a href="force_update.html">force.update</a> command is issued), so whatever changes you make to an object's position or appearance 
24
+do not take affect till then. 
25
+<p>
26
+Normally when an object is moving around, it's loop number is determined by it's direction:<p>
27
+<pre>
28
+Direction       Loop no
29
+---------------------------
30
+0 (not moving)  not changed
31
+1 (up)          3 (if loop 2 and 3 exist) otherwise not changed
32
+2 (up-right)    0
33
+3 (right)       0
34
+4 (down-right)  0
35
+5 (down)        2 (if loop 2 and 3 exist) otherwise not changed
36
+6 (down-left)   1 (if loop 1 exists) otherwise 0
37
+7 (left)        1 (if loop 1 exists) otherwise 0
38
+8 (up-left)     1 (if loop 1 exists) otherwise 0
39
+</pre>
40
+<p>
41
+The direction is only chosen automatically if there are less than 5 loops in the view assigned to the object.<p>
42
+To stop the interpreter from chosing a loop number based on the object's direction, use the <a href="fix_loop.html">fix.loop</a> command. To let it chose the loop number, use the <a href="release_loop.html">release.loop</a> command.<p>
43
+To play the animation in reverse, use the <a href="reverse_cycle.html">reverse.cycle</a> command. To play it forwards again, use the <a href="normal_cycle.html">normal.cycle</a> command.<p>
44
+To play the animation once and then stop cycling, use the <a href="end_of_loop.html">end.of.loop</a> or <a href="reverse_loop.html">reverse.loop</a> commands.<p>
45
+<B>See also</B><p>
46
+<a href="set_loop.html">set.loop</a><p>
47
+<a href="set_loop_v.html">set.loop.v</a><p>
48
+<a href="set_cel.html">set.cel</a><p>
49
+<a href="set_cel_v.html">set.cel.v</a><p>
50
+<a href="cycle_time.html">cycle.time</a><p>
51
+<a href="start_cycling.html">start.cycling</a><p>
52
+<a href="stop_cycling.html">stop.cycling</a><p>
53
+<a href="force_update.html">force.update</a><p>
54
+<a href="normal_cycle.html">normal.cycle</a><p>
55
+<a href="reverse_cycle.html">reverse.cycle</a><p>
56
+<a href="end_of_loop.html">end.of.loop</a><p>
57
+<a href="reverse_loop.html">reverse.loop</a><p>
58
+<a href="objects.html">Objects</a><p>
59
+</BODY></HTML>

+ 16
- 0
help/data_used.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Data used by AGI</TITLE></HEAD>
4
+<BODY>
5
+<h1>Data used by AGI</h1>
6
+Most data used by AGI is stored in resources. There are four types of resources, each storing a different type of data. Each AGI game can contain up to 256 resources of each type.<p>
7
+<a href="view_descr.html">VIEW resources</a> - animations and sprites<p>
8
+<a href="picture_descr.html">PICTURE resources</a> - background pictures<p>
9
+<a href="sound_descr.html">SOUND resources</a> - sound effects and music<p>
10
+<a href="logic_descr.html">LOGIC resources</a> - scripts that determine what happens in the game<p>
11
+Other data:<p>
12
+<a href="object_descr.html">The OBJECT file</a> - list of inventory objects the player can get<p>
13
+<a href="wordstok_descr.html">The WORDS.TOK file</a> - list of words accepted by the game<p>
14
+<a href="files_used.html">Files used by AGI</a><p>
15
+<a href="index.html">Back to contents</a><p>
16
+</BODY></HTML>

+ 13
- 0
help/debug_commands.html View File

@@ -0,0 +1,13 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Debugging commands</TITLE></HEAD>
4
+<BODY>
5
+<h1>Debugging commands</h1>
6
+<a href="log.html">log</a><p>
7
+<a href="obj_status_v.html">obj.status.v</a><p>
8
+<a href="show_mem.html">show.mem</a><p>
9
+<a href="show_pri_screen.html">show.pri.screen</a><p>
10
+<a href="trace_info.html">trace.info</a><p>
11
+<a href="trace_on.html">trace.on</a><p>
12
+<a href="version.html">version</a><p>
13
+</BODY></HTML>

+ 18
- 0
help/decrement.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>decrement</TITLE></HEAD>
4
+<BODY>
5
+<h1>decrement</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+decrement(vA);<p>
12
+vA--;<p>
13
+<B>Description</B><p>
14
+<p>
15
+If the value of vA is greater than 0, then it is decreased by 1.<p>
16
+<B>See also</B><p>
17
+<a href="increment.html">increment</a><p>
18
+</BODY></HTML>

+ 10
- 0
help/deleting_resources.html View File

@@ -0,0 +1,10 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Deleting resources</TITLE></HEAD>
4
+<BODY>
5
+<h1>Deleting resources</h1>
6
+To delete a resource, click on the resource you wish to delete and select 'Delete' from the 'Resource' menu. Note: Once you have deleted a resource, it is permanently deleted. There is no 
7
+"undelete" feature. 
8
+<p>
9
+<a href="index.html">Back to contents</a><p>
10
+</BODY></HTML>

+ 19
- 0
help/disable_item.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>disable.item</TITLE></HEAD>
4
+<BODY>
5
+<h1>disable.item</h1>
6
+<B>Category</B><p>
7
+<a href="menu_commands.html">Menu/Key commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+disable.item(cA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Disables the menu item that is assigned to controller cA.<p>
14
+All menu items are enabled again when the game is restarted, so if there are any items that need to be disabled permanently (such as separators) then they should be disabled again when the game is 
15
+restarted. 
16
+<p>
17
+<B>See also</B><p>
18
+<a href="enable_item.html">enable.item</a><p>
19
+</BODY></HTML>

+ 17
- 0
help/discard_pic.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>discard.pic</TITLE></HEAD>
4
+<BODY>
5
+<h1>discard.pic</h1>
6
+<B>Category</B><p>
7
+<a href="picture_commands.html">Picture commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+discard.pic(vA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Picture resource vA is discarded from memory. If the picture is not already loaded, the interpreter generates an error.<p>
14
+<B>See also</B><p>
15
+<a href="load_pic.html">load.pic</a><p>
16
+<a href="drawing_pictures.html">Drawing pictures</a><p>
17
+</BODY></HTML>

+ 16
- 0
help/discard_sound.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>discard.sound</TITLE></HEAD>
4
+<BODY>
5
+<h1>discard.sound</h1>
6
+<B>Category</B><p>
7
+<a href="extra_commands.html">Extra commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+discard.sound(A);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command discards sound A.
14
+Does not work on Sierra's PC version of the interpreter.<p>
15
+<B>See also</B><p>
16
+</BODY></HTML>

+ 18
- 0
help/discard_view.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>discard.view</TITLE></HEAD>
4
+<BODY>
5
+<h1>discard.view</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+discard.view(VIEWNUM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+View VIEWNUM is discarded from memory. If the view is not already loaded, the interpreter generates an error. Make sure you do not have the view assigned to any objects before you discard it.<p>
14
+<B>See also</B><p>
15
+<a href="discard_view_v.html">discard.view.v</a><p>
16
+<a href="load_view.html">load.view</a><p>
17
+<a href="load_view_v.html">load.view.v</a><p>
18
+</BODY></HTML>

+ 18
- 0
help/discard_view_v.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>discard.view.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>discard.view.v</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+discard.view.v(vVIEWNUM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+View vVIEWNUM is discarded from memory. If the view is not already loaded, the interpreter generates an error. Make sure you do not have the view assigned to any objects before you discard it.<p>
14
+<B>See also</B><p>
15
+<a href="discard_view.html">discard.view</a><p>
16
+<a href="load_view.html">load.view</a><p>
17
+<a href="load_view_v.html">load.view.v</a><p>
18
+</BODY></HTML>

+ 17
- 0
help/display.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>display</TITLE></HEAD>
4
+<BODY>
5
+<h1>display</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+display(ROW,COLUMN,mMESSAGE);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Displays the text of message mMESSAGE at the specified row and column.<p>
14
+<B>See also</B><p>
15
+<a href="display_v.html">display.v</a><p>
16
+<a href="set_text_attribute.html">set.text.attribute</a><p>
17
+</BODY></HTML>

+ 26
- 0
help/display_commands.html View File

@@ -0,0 +1,26 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Display commands</TITLE></HEAD>
4
+<BODY>
5
+<h1>Display commands</h1>
6
+For more information on displaying text, <a href="displaying_text.html">click here</a>.<p>
7
+<a href="clear_lines.html">clear.lines</a><p>
8
+<a href="clear_text_rect.html">clear.text.rect</a><p>
9
+<a href="close_dialogue.html">close.dialogue</a><p>
10
+<a href="close_window.html">close.window</a><p>
11
+<a href="configure_screen.html">configure.screen</a><p>
12
+<a href="display_v.html">display.v</a><p>
13
+<a href="display.html">display</a><p>
14
+<a href="graphics.html">graphics</a><p>
15
+<a href="open_dialogue.html">open.dialogue</a><p>
16
+<a href="print_at_v.html">print.at.v</a><p>
17
+<a href="print_at.html">print.at</a><p>
18
+<a href="print_v.html">print.v</a><p>
19
+<a href="print.html">print</a><p>
20
+<a href="set_cursor_char.html">set.cursor.char</a><p>
21
+<a href="set_text_attribute.html">set.text.attribute</a><p>
22
+<a href="shake_screen.html">shake.screen</a><p>
23
+<a href="status_line_off.html">status.line.off</a><p>
24
+<a href="status_line_on.html">status.line.on</a><p>
25
+<a href="text_screen.html">text.screen</a><p>
26
+</BODY></HTML>

+ 17
- 0
help/display_v.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>display.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>display.v</h1>
6
+<B>Category</B><p>
7
+<a href="display_commands.html">Display commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+display(vROW,vCOLUMN,vMESSAGE);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Displays the text of message number vMESSAGE at the location determined by the values of vROW and vCOLUMN.<p>
14
+<B>See also</B><p>
15
+<a href="display.html">display</a><p>
16
+<a href="set_text_attribute.html">set.text.attribute</a><p>
17
+</BODY></HTML>

+ 13
- 0
help/displaying_text.html View File

@@ -0,0 +1,13 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Displaying text on screen</TITLE></HEAD>
4
+<BODY>
5
+<h1>Displaying text on screen</h1>
6
+For text display purposes, the AGI screen consists of 25 lines (numbered 0-24) and 40 columns (numbered 0-39). Each text character is 8 screen pixels (4 AGI pixels) wide and 8 screen pixels high. 
7
+Note that this gives a total screen resolution of 320x200, even though the area that pictures are displayed in and objects are placed is only 168 pixels high. The top line of the screen is normally 
8
+reserved for the status line and menu, and the bottom three lines are normally reserved for player input and other text display (in some early versions of the interpreter, text from commands like 
9
+<a href="print.html">print</a> was displayed down here instead of in windows). 
10
+<p>
11
+<B>See also</B><p>
12
+<a href="display_commands.html">Display commands</a><p>
13
+</BODY></HTML>

+ 18
- 0
help/distance.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>distance</TITLE></HEAD>
4
+<BODY>
5
+<h1>distance</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+distance(oA,oB,vD);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vD is set to the distance between objects oA and oB. The formula used for calculating the distance is abs(x1-x2) + abs(y1-y2) where x1,y1 and x2,y2 are the co-ordinates of the center of the baselines 
14
+of oA and oB. 
15
+<p>
16
+If one or more of the objects is not on screen, the distance is 255.<p>
17
+<B>See also</B><p>
18
+</BODY></HTML>

+ 18
- 0
help/div_n.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>div.n</TITLE></HEAD>
4
+<BODY>
5
+<h1>div.n</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+div.n(vA,B);<p>
11
+vA /= B;<p>
12
+vA = vA / B;<p>
13
+<B>Description</B><p>
14
+<p>
15
+vA is divided by B. The result is rounded down. If you divide by 0, the interpreter will crash.<p>
16
+<B>See also</B><p>
17
+<a href="div_v.html">div.v</a><p>
18
+</BODY></HTML>

+ 18
- 0
help/div_v.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>div.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>div.v</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+div.n(vA,vB);<p>
11
+vA /= vB;<p>
12
+vA = vA / vB;<p>
13
+<B>Description</B><p>
14
+<p>
15
+vA is divided by vB. The result is rounded down. If you divide by 0, the interpreter will crash.<p>
16
+<B>See also</B><p>
17
+<a href="div_n.html">div.n</a><p>
18
+</BODY></HTML>

+ 16
- 0
help/draw.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>draw</TITLE></HEAD>
4
+<BODY>
5
+<h1>draw</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+draw(oA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Object oA is drawn on screen.<p>
14
+<B>See also</B><p>
15
+<a href="erase.html">erase</a><p>
16
+</BODY></HTML>

+ 20
- 0
help/draw_pic.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>draw.pic</TITLE></HEAD>
4
+<BODY>
5
+<h1>draw.pic</h1>
6
+<B>Category</B><p>
7
+<a href="picture_commands.html">Picture commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+draw.pic(vA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Picture vA is drawn. Only the visual and priority screens in memory updated - not the actual screen itself. To update the screen, use the <a href="show_pic.html">show.pic</a> command. Make sure the picture is loaded 
14
+into memory before drawing it. 
15
+<p>
16
+<B>See also</B><p>
17
+<a href="overlay_pic.html">overlay.pic</a><p>
18
+<a href="load_pic.html">load.pic</a><p>
19
+<a href="drawing_pictures.html">Drawing pictures</a><p>
20
+</BODY></HTML>

+ 35
- 0
help/drawing_pictures.html View File

@@ -0,0 +1,35 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Drawing pictures</TITLE></HEAD>
4
+<BODY>
5
+<h1>Drawing pictures</h1>
6
+In order to draw a picture on the screen, you should use the following commands in the correct order:<p>
7
+<pre>
8
+load.pic(vA);
9
+draw.pic(vA);
10
+discard.pic(vA);
11
+..
12
+show.pic();
13
+</pre><p>
14
+The interpreter stores two different screens in memory - the visual screen and the priority screen. When you use the first three commands above, you are updating both of these screens in memory. 
15
+However, you are not updating what is displayed on the actual screen that the player sees. This is only done when the show.pic command is used. You should do this directly after the first three 
16
+commands, unless you need to also set up some screen objects in between. 
17
+<p>
18
+The reason the first parameter of load.pic, draw.pic and discard.pic is a variable is because most times these commands are used, the parameter given is v0 (the current room number). Most rooms you 
19
+see will have the following at the start: 
20
+<p>
21
+<pre>
22
+load.pic(v0);
23
+draw.pic(v0);
24
+discard.pic(v0);
25
+</pre>
26
+<p>
27
+If you want to load a picture other than the current room number, you will need to set the value of a variable to that number and then give the variable as the parameter.<p>
28
+<B>See also</B><p>
29
+<p>
30
+<a href="load_pic.html">load.pic</a><p>
31
+<a href="draw_pic.html">draw.pic</a><p>
32
+<a href="overlay_pic.html">overlay.pic</a><p>
33
+<a href="discard_pic.html">discard.pic</a><p>
34
+<a href="show_pic.html">show.pic</a><p>
35
+</BODY></HTML>

+ 15
- 0
help/drop.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>drop</TITLE></HEAD>
4
+<BODY>
5
+<h1>drop</h1>
6
+<B>Category</B><p>
7
+<a href="inventory_commands.html">Inventory item commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+drop(iITEM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The room number of inventory item iITEM is set to 0.<p>
14
+<B>See also</B><p>
15
+</BODY></HTML>

+ 17
- 0
help/echo_line.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>echo.line</TITLE></HEAD>
4
+<BODY>
5
+<h1>echo.line</h1>
6
+<B>Category</B><p>
7
+<a href="system_commands.html">System commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+echo.line();<p>
11
+<B>Description</B><p>
12
+<p>
13
+The previous line of input entered by the player is added to the input line (if there is already text on the input line, only the characters from the previous line after the number of characters 
14
+currently on the line are added). 
15
+<p>
16
+<B>See also</B><p>
17
+</BODY></HTML>

+ 17
- 0
help/enable_item.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>enable.item</TITLE></HEAD>
4
+<BODY>
5
+<h1>enable.item</h1>
6
+<B>Category</B><p>
7
+<a href="menu_commands.html">Menu/Key commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+enable.item(cA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Enables the menu item that is assigned to controller cA.<p>
14
+All menu items are enabled again whenever the game is restarted.<p>
15
+<B>See also</B><p>
16
+<a href="disable_item.html">disable.item</a><p>
17
+</BODY></HTML>

+ 17
- 0
help/end_of_loop.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>end.of.loop</TITLE></HEAD>
4
+<BODY>
5
+<h1>end.of.loop</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+end.of.loop(oA,fB);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Object oA is cycled in normal order until the last cel in the loop is reached. Flag fB is reset when the command is issued, and when the last cel is displayed fB is set.<p>
14
+<B>See also</B><p>
15
+<a href="reverse_loop.html">reverse.loop</a><p>
16
+<a href="cycling_objects.html">Cycling objects</a><p>
17
+</BODY></HTML>

+ 15
- 0
help/equaln.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>equaln</TITLE></HEAD>
4
+<BODY>
5
+<h1>equaln</h1>
6
+<B>Category</B><p>
7
+<a href="test_commands.html">Test commands</a> / <a href="math_commands.html">Mathematical commands</a></B><p>
8
+<B>Syntax</B><p>
9
+if (equaln(vA,B)) { .....<p>
10
+if (vA == B) { .....<p>
11
+<B>Description</B><p>
12
+Returns true if vA is equal to B.<p>
13
+<B>See also</B><p>
14
+<a href="equalv.html">equalv</a><p>
15
+</BODY></HTML>

+ 17
- 0
help/equalv.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>equalv</TITLE></HEAD>
4
+<BODY>
5
+<h1>equalv</h1>
6
+<B>Category</B><p>
7
+<a href="test_commands.html">Test commands</a> / <a href="math_commands.html">Mathematical commands</a></B><p>
8
+<p>
9
+<B>Syntax</B><p>
10
+<p>
11
+if (equalv(vA,vB)) { .....</B><p>
12
+if (vA == vB) { .....<p>
13
+<B>Description</B><p>
14
+Returns true if vA is equal to vB.<p>
15
+<B>See also</B><p>
16
+<a href="equaln.html">equaln</a><p>
17
+</BODY></HTML>

+ 16
- 0
help/erase.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>erase</TITLE></HEAD>
4
+<BODY>
5
+<h1>erase</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+erase(oA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Object oA is erased from the screen.<p>
14
+<B>See also</B><p>
15
+<a href="draw.html">draw</a><p>
16
+</BODY></HTML>

+ 22
- 0
help/extra_commands.html View File

@@ -0,0 +1,22 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Extra commands</TITLE></HEAD>
4
+<BODY>
5
+<h1>Extra commands</h1>
6
+<p>These miscellaneous extra commands where
7
+'unknown170'-'unknown181' in previous versions
8
+of AGI Studio.</p>
9
+
10
+<a href="set_simple.html">set.simple</a><p>
11
+<a href="push_script.html">push.script</a><p>
12
+<a href="pop_script.html">pop.scrip</a><p>
13
+<a href="hold_key.html">hold.key</a><p>
14
+<a href="set_pri_base.html">set.pri.base</a><p>
15
+<a href="discard_sound.html">discard.sound</a><p>
16
+<a href="hide_mouse.html">hide.mouse</a><p>
17
+<a href="allow_menu.html">allow.menu</a><p>
18
+<a href="show_mouse.html">show.mouse</a><p>
19
+<a href="fence_mouse.html">fence.mouse</a><p>
20
+<a href="mouse_posn.html">mouse.posn</a><p>
21
+<a href="release_key.html">release.key</a><p>
22
+</BODY></HTML>

+ 11
- 0
help/extracting_resources.html View File

@@ -0,0 +1,11 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Extracting resources</TITLE></HEAD>
4
+<BODY>
5
+<h1>Extracting resources</h1>
6
+To extract a resource, click on the resource you wish to extract and select 'Extract' from the 'Resource' menu.<p>
7
+When the resource is extracted, it is saved to disk in its raw format (i.e. not converted to another format such as BMP or midi), except for the LOGIC resource. You can choose in the 'Settings' menu if you want to extract the LOGIC resources as text (i.e. the same way as you see them in the Logic editor) or raw. (the default is text). The 5 byte or 7 byte resource header used in the VOL files is not 
8
+saved as this is not part of the resource. In version 3 games, the resource is uncompressed before saving to disk. 
9
+<p>
10
+<a href="index.html">Back to contents</a><p>
11
+</BODY></HTML>

+ 20
- 0
help/fence_mouse.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>fence.mouse</TITLE></HEAD>
4
+<BODY>
5
+<h1>fence.mouse</h1>
6
+<B>Category</B><p>
7
+<a href="extra_commands.html">Extra commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+fence.mouse(A,B,C,D);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This command sets up a fence out of which the mouse cursor can not go.
14
+Does not work with Sierra's PC version of the interpreter<p>
15
+<p>
16
+<B>See also</B><p>
17
+<a href="hide_mouse.html">hide.mouse</a><p>
18
+<a href="show_mouse.html">show.mouse</a><p>
19
+<a href="mouse_posn.html">mouse.posn</a><p>
20
+</BODY></HTML>

+ 20
- 0
help/files_used.html View File

@@ -0,0 +1,20 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Files used by AGI</TITLE></HEAD>
4
+<BODY>
5
+<h1>Files used by AGI</h1>
6
+These are the files that contain the actual data for the game.<p>
7
+Vol files (VOL.*): These files contain the resources. They are stored one after the other in the file, with a small header at the start of each resource identifying its size.<p>
8
+Directory files (LOGDIR, PICDIR, VIEWDIR, SNDDIR): These store the locations of each resource in the VOL files.<p>
9
+OBJECT and WORDS.TOK: See <a href="data_used.html">data used by AGI</a> section<p>
10
+In version 3, the VOL files have the game ID in front of them (e.g. KQ4VOL.0) and all the directory files are combined into one file (e.g. KQ4DIR)<p>
11
+If you want to know the format of these files, check out AGI Specs.<p>
12
+These are the files used by Sierra's original DOS interpreter. Other interpreters will use different files.<p>
13
+<ul>
14
+<li>AGI: The interpreter itself
15
+<li>AGIDATA.OVL: Data used by the interpreter
16
+<li>Other .OVL files: Graphics drivers
17
+<li>SIERRA.COM: The loader file. Sometimes named after the game (e.g. SQ.COM). This loads the AGI file into memory, decrypts it, and then runs it.
18
+</ul><p>
19
+<a href="data_used.html">Back to data used by AGI</a><p>
20
+</BODY></HTML>

+ 17
- 0
help/fix_loop.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>fix.loop</TITLE></HEAD>
4
+<BODY>
5
+<h1>fix.loop</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+fix.loop(oA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+This stops the interpreter from choosing the loop number for object oA based on its direction. You can turn this back on again using the <a href="release_loop.html">release.loop</a> command.<p>
14
+<B>See also</B><p>
15
+<a href="release_loop.html">release.loop</a><p>
16
+<a href="cycling_objects.html">Cycling objects</a><p>
17
+</BODY></HTML>

+ 15
- 0
help/flag_commands.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Flag commads</TITLE></HEAD>
4
+<BODY>
5
+<h1>Flag commads</h1>
6
+<a href="reset_v.html">reset.v</a><p>
7
+<a href="reset.html">reset</a><p>
8
+<a href="set_v.html">set.v</a><p>
9
+<a href="set.html">set</a><p>
10
+<a href="toggle_v.html">toggle.v</a><p>
11
+<a href="toggle.html">toggle</a><p>
12
+<B>Test commands</B><p>
13
+<a href="isset.html">isset</a><p>
14
+<a href="issetv.html">issetv</a><p>
15
+</BODY></HTML>

+ 19
- 0
help/follow_ego.html View File

@@ -0,0 +1,19 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>follow.ego</TITLE></HEAD>
4
+<BODY>
5
+<h1>follow.ego</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+follow.ego(oA,STEPSIZE,fDONEFLAG);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Object oA moves towards ego (object 0) by STEPSIZE pixels every step. When the object is within STEPSIZE pixels of ego, it stops moving and flag fDONEFLAG is set. If STEPSIZE is 0, the current step 
14
+size of object oA is used. 
15
+<p>
16
+<B>See also</B><p>
17
+<a href="step_size.html">step.size</a><p>
18
+<a href="moving_objects.html">Moving objects</a><p>
19
+</BODY></HTML>

+ 18
- 0
help/force_update.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>force.update</TITLE></HEAD>
4
+<BODY>
5
+<h1>force.update</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+force.update(oA);<p>
11
+<B>Description</B><p>
12
+<p>
13
+Object oA is redrawn immediately, without waiting till the start of the next interpreter cycle.<p>
14
+<B>See also</B><p>
15
+<a href="start_update.html">start.update</a><p>
16
+<a href="stop_update.html">stop.update</a><p>
17
+<a href="cycling_objects.html">Cycling objects</a><p>
18
+</BODY></HTML>

+ 16
- 0
help/get.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get</TITLE></HEAD>
4
+<BODY>
5
+<h1>get</h1>
6
+<B>Category</B><p>
7
+<a href="inventory_commands.html">Inventory item commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get(iITEM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The room number of inventory item iITEM is set to 255, placing the item in the player's inventory.<p>
14
+<B>See also</B><p>
15
+<a href="get_v.html">get.v</a><p>
16
+</BODY></HTML>

+ 18
- 0
help/get_dir.html View File

@@ -0,0 +1,18 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.dir</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.dir</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.dir(oA,vDIR);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vDIR is set to the direction object oA is currently travelling in. The value will be between 0 and 8:<p>
14
+<img src="logic_diag-directions.png" alt = "" ><p>
15
+<B>See also</B><p>
16
+<a href="set_dir.html">set.dir</a><p>
17
+<a href="moving_objects.html">Moving objects</a><p>
18
+</BODY></HTML>

+ 16
- 0
help/get_num.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.num</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.num</h1>
6
+<B>Category</B><p>
7
+<a href="math_commands.html">Mathematical commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.num(mPROMPT,vNUM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The player is prompted to enter a number, with the prompt being mPROMPT. vNUM is set to the number the player entered. If no valid number number is entered, this is 0.<p>
14
+<B>See also</B><p>
15
+<a href="get_string.html">get.string</a><p>
16
+</BODY></HTML>

+ 16
- 0
help/get_posn.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.posn</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.posn</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.posn(oA,vX,vY);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vX and vY are set to the X and Y co-ordinates of object oA.<p>
14
+<B>See also</B><p>
15
+<a href="positioning_objects.html">Positioning objects</a><p>
16
+</BODY></HTML>

+ 16
- 0
help/get_priority.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.priority</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.priority</h1>
6
+<B>Category</B><p>
7
+<a href="object_commands.html">Object/view commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.priority(oA,vPRI);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vPRI is set to the priority of object oA.<p>
14
+<B>See also</B><p>
15
+<a href="priorities.html">Priorities</a><p>
16
+</BODY></HTML>

+ 15
- 0
help/get_room_v.html View File

@@ -0,0 +1,15 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.room.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.room.v</h1>
6
+<B>Category</B><p>
7
+<a href="inventory_commands.html">Inventory item commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.room.v(vITEM,vROOM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+vROOM is set to the room number of inventory item vITEM.<p>
14
+<B>See also</B><p>
15
+</BODY></HTML>

+ 16
- 0
help/get_string.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.string</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.string</h1>
6
+<B>Category</B><p>
7
+<a href="string_commands.html">String commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.string(sA,mB,Y,X,L);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The user is prompted to enter a string. Message mB is used as the prompt, and displayed at column Y, row X. The maximum string length is L. Once the string has been entered, it is stored in string sA.<p>
14
+<B>See also</B><p>
15
+<a href="get_num.html">get.num</a><p>
16
+</BODY></HTML>

+ 16
- 0
help/get_v.html View File

@@ -0,0 +1,16 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>get.v</TITLE></HEAD>
4
+<BODY>
5
+<h1>get.v</h1>
6
+<B>Category</B><p>
7
+<a href="inventory_commands.html">Inventory item commands</a><p>
8
+<B>Syntax</B><p>
9
+<p>
10
+get.v(vITEM);<p>
11
+<B>Description</B><p>
12
+<p>
13
+The room number of inventory item vITEM is set to 255, placing the item in the player's inventory.<p>
14
+<B>See also</B><p>
15
+<a href="get.html">get</a><p>
16
+</BODY></HTML>

+ 17
- 0
help/getting_started.html View File

@@ -0,0 +1,17 @@
1
+<HTML>
2
+<HEAD>
3
+<TITLE>Getting started</TITLE></HEAD>
4
+<BODY>
5
+<h1>Getting started</h1>
6
+The best way to get started with the AGI logic language is by looking at the code of existing games. At the moment, there is no complete tutorial available, so this is the best way to get a feel for the 
7
+language and how certain things are done. This help file is designed mainly as a reference, although it does contain a few general introductory topics. You should start by reading these, which will 
8
+hopefully give you an idea about what the main features of the system are. Also, there is some useful information in the readme.txt for the template game. 
9
+<p>
10
+Partial AGI logic tutorials can be found at the following sites 
11
+(note that these links may become unavailable in the future):
12
+<p>
13
+<p><a href="http://weremoose.tripod.com/Tutorials.html">http://weremoose.tripod.com/Tutorials.html</a>
14
+<p><a href="http://members.xoom.com/agi_filedump/">http://members.xoom.com/agi_filedump/</a>
15
+
16
+<p>
17
+</BODY></HTML>

+ 343
- 0
help/gpl.txt View File

@@ -0,0 +1,343 @@
1
+<pre>
2
+
3
+		    GNU GENERAL PUBLIC LICENSE
4
+		       Version 2, June 1991
5
+
6
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7
+                          675 Mass Ave, Cambridge, MA 02139, USA
8
+ Everyone is permitted to copy and distribute verbatim copies
9
+ of this license document, but changing it is not allowed.
10
+
11
+			    Preamble
12
+
13
+  The licenses for most software are designed to take away your
14
+freedom to share and change it.  By contrast, the GNU General Public
15
+License is intended to guarantee your freedom to share and change free
16
+software--to make sure the software is free for all its users.  This
17
+General Public License applies to most of the Free Software
18
+Foundation's software and to any other program whose authors commit to
19
+using it.  (Some other Free Software Foundation software is covered by
20
+the GNU Library General Public License instead.)  You can apply it to
21
+your programs, too.
22
+
23
+  When we speak of free software, we are referring to freedom, not
24
+price.  Our General Public Licenses are designed to make sure that you
25
+have the freedom to distribute copies of free software (and charge for
26
+this service if you wish), that you receive source code or can get it
27
+if you want it, that you can change the software or use pieces of it
28
+in new free programs; and that you know you can do these things.
29
+
30
+  To protect your rights, we need to make restrictions that forbid
31
+anyone to deny you these rights or to ask you to surrender the rights.
32
+These restrictions translate to certain responsibilities for you if you
33
+distribute copies of the software, or if you modify it.
34
+
35
+  For example, if you distribute copies of such a program, whether
36
+gratis or for a fee, you must give th