Inform - Support - Source

Back to List

Inventory
Complete

Plain
Coloured
Gaudy

Browsing Verblib.h

This is the complete source code of the example game Verblib.inf.

01  ! ----------------------------------------------------------------------------
02  !  VERBLIB:  Front end to standard verbs library.
03  !
04  !  Supplied for use with Inform 6                         Serial number 991113
05  !                                                                 Release 6/10
06  !  (c) Graham Nelson 1993, 1994, 1995, 1996, 1997, 1998, 1999
07  !      but freely usable (see manuals)
08  ! ----------------------------------------------------------------------------
09  System_file;
10  Default MAX_CARRIED  100;
11  Default MAX_SCORE    0;
12  Default NUMBER_TASKS 1;
13  Default OBJECT_SCORE 4;
14  Default ROOM_SCORE   5;
15  Default SACK_OBJECT  0;   
16  Default AMUSING_PROVIDED 1;
17  Default TASKS_PROVIDED   1;
18  #IFNDEF task_scores; Constant MAKE__TS; #ENDIF;
19  #IFDEF MAKE__TS;
20  Array  task_scores --> 0 0;
21  #ENDIF;
22  Array  task_done --> NUMBER_TASKS;
23  #IFNDEF LibraryMessages;
24  Object LibraryMessages;
25  #ENDIF;
26  #IFNDEF NO_PLACES;
27  [ PlacesSub; Places1Sub(); ];
28  [ ObjectsSub; Objects1Sub(); ];
29  #ENDIF;
30  #IFDEF USE_MODULES;
31  Link "verblibm";
32  #IFNOT;
33  Include "verblibm";
34  #ENDIF;


Last updated 27 February 2004. This web site has not been fully supported since April 2008. Information may be out of date. This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.