graal.main Statements
When it comes to the order in which the statements should appear, look
to the graal.main file of the "Olaf" demo and the ones in The GRAAL
Herald diskmags for guidance. The most important thing is to make sure
all statements requiring graphics to be present have something to work
with - so the statements specifying the graphics should come before
those actually using the graphics!
("Number" below: ONE means statement occurs only once. ANY means zero to
any number of times.)
Statement Number Description
NAME one Name of the adventure
VERSION one Version number of the adventure
MAX_CACHE one Maximum number of files in memory cache
DEBUG 0-1 Switches on debug stuff in encrypted version
MAX_ROOM one Maximum room number used
MAX_SECTION one Maximum section number used
MAX_DLG one Maximum number of dialogues
N_DIALOGUES 0-1 Sets the limits for dialogues
MAX_DACT one Maximum number of DACT statements per room
MAX_ACTION one Maximum number of ACTION statements per room
GLOBALOBJS one Number of global objects
SECTIONOBJS one Number of section objects
ROOMOBJS one Number of room objects
N_GLOBALIMGS one Number of global images
N_SECTIONIMGS one Number of section images
N_ROOMIMGS one Number of room images
CLPART any Name of picture containing clipart graphics
IMGS any Grab global images from clipart picture
MODE_SWITCH 0-1 Command/dialogue switching style
AREA_SIZES 0-1 Heights of scene and command areas
COMMAND_AREA one Name of picture with command area graphics
DLG_AREA one Name of picture with dialogue area graphics
RESOURCE one Name of interface resource bank
N_VERBS 0-1 Number of verbs, default is 9
VERB_ZONE any position and size of each verb "button"
VERB_TEXT any Message when pointing to a verb
ARROW_CURSOR 0-1 Image to use for arrow mouse pointer
CROSSHAIR_CURSOR 0-1 Image to use for crosshair mouse pointer
CURSOR_PALETTE 0-1 Colours for mouse pointer
INV_LAYOUT 0-1 position and size of inventory list
INV_UP 0-1 properties of inventory scroll arrow
INV_DOWN 0-1 properties of inventory scroll arrow
CUTSCENE_LAYOUT 0-1 position and size of inventory list
DLG_LAYOUT 0-1 position and size of dialogue lines
DLG_UP 0-1 properties of dialogue scroll arrow
DLG_DOWN 0-1 properties of dialogue scroll arrow
SENTENCE_LAYOUT 0-1 position and size of sentence display
TIME_FORMAT 0-1 format of time display
TIME_LAYOUT 0-1 layout of time display
DATE_FORMAT 0-1 format of date display
DATE_LAYOUT 0-1 layout of date display
MONTH_TEXT 0-1 change names of all months
DAY_TEXT 0-1 change names of all the days of the week
SYSTEM_TEXT any change system message texts
WALK_BUTTON one Left or right button used for walking?
DISABLE_QUIT 0-1 Disables the "q" quit key
DISABLE_SAVE 0-1 Disables the "s" and "l" save/load keys
EXIT_COL one Text color of exit names
OBJ_COL one Text color of object names
START_ROOM one Adventure starting position
MSGFONT one Scene area text font and size
COMFONT one Command and dialogue area text font and size
TITLEFONT1 one Titlepage text font and size (1)
TITLEFONT2 one Titlepage text font and size (2)
LINE_LENGTH one Line length for SAY, RESP, etc.
NORMAL_WAIT 0-1 Normal wait period for texts
CHAR 0-4 Specify data for alternate characters
CHARACTER_HEIGHT 0-1 Estimated average height of main character
CHARACTER_WIDTH 0-1 Estimated average width of main character
CHARACTER_COL 0-1 Text color of main character "speech"
STILL_RIGHT one Main character right profile image
STILL_LEFT one Main character left profile image
STILL_BACK one Main character backside image
STILL_FRONT one Main character front image
PAUSE_RIGHT one Main character pause image having walked
right
PAUSE_LEFT one Main character pause image having walked
left
PAUSE_BACK one Main character pause image having walked
away
PAUSE_FRONT one Main character pause image having walked
toward
WALK_RIGHT one Main character animation for walking right
WALK_LEFT one Main character animation for walking left
WALK_AWAY one Main character animation for walking away
WALK_TOWARD one Main character animation for walking toward
WALK_SPEED 0-1 Main character walking speed adjustment
TALK_MAP 1-8 Speech animations mapped to pause/still
images
HANDLE_MAP 1-8 Object manipulation animations mapped to -"-
OBJECT any Definitions of global objects
DLG any Definitions of dialogue partners *NEW*
ACTION any Actions taken for input relevant to entire
game