AGI specs
Last updated: 11 July 1998
Click here do download a
zipped version of AGI specs
Important note
AGI specs is intended for people writing AGI programs such as
editors, viewers and interpreters. It is not supposed to be a
beginners' introduction to AGI, or a logic programming guide for
those who just want to create games (although it can serve as a
reference for more advanced logic programmers). If you want to
learn the logic programming language, I suggest you read the
logic section of the AGI Studio help file, and the various other
bits of documentation and tutorials that are available on the
net. The programming info here is mostly from the AGDS package, which was produced by
others a few years ago, and uses different syntax and terminology
for the language and can be confusing if you are using AGI Studio
for your programming.
1. About AGI specs
1.1 Introduction
1.2 What's new
2. The AGI interpreter
2.1 General AGI Overview
2.2 How the interpreter works (from
AGDS docs)
2.3 Variable types used
2.4 Memory usage
2.5 Game IDs and loaders
2.6 Process of parsing player input
(from AGDS docs)
2.7 Version control
2.8 Version differences
3. Formats of the resource files
3.1 Directory files
3.2 Format of VOL files (version 2)
3.3 Version 3 resource storage
3.4 Sample code
4. LOGIC resources
4.1 Format of the LOGIC resource
4.2 LOGIC syntax
4.3 Command list & argument
types
4.4 Description of the LOGIC
commands (from AGDS docs)
4.5 Discussion of sample LOGIC code
from KQ4
4.6 Sample code
5. PICTURE resources
5.1 Format of the PICTURE
resource
5.2 Format of the PICTURE resource
(from AGDS docs)
5.3 Sample code
6. VIEW resources
6.1 Format of the VIEW resource
6.2 VIEW table and VIEW test commands
6.3 Sample code
7. SOUND resources
7.1 Format of the SOUND resource
7.2 Sample code
8. Other game data
8.1 Format of the OBJECT file
8.2 Format of WORDS.TOK
8.3 Sample code
9. Other information
9.1 Websites and people
9.2 The AGDS package
9.2 The Making of Thunderstorm
Educational Program (from AGDS docs)