Difference between revisions of "Manual:DIL Manual/extraptr"
Jump to navigation
Jump to search
(XML import) |
(Adding members) |
||
Line 9: | Line 9: | ||
the 'in' operator (See below). Extraptr variables are 'volatile', and thus | the 'in' operator (See below). Extraptr variables are 'volatile', and thus | ||
cleared whenever there is a possibility that they are rendered unusable. | cleared whenever there is a possibility that they are rendered unusable. | ||
+ | |||
+ | Members: | ||
+ | |||
+ | next : extraptr to the next linked extra description. NULL if none | ||
+ | |||
+ | names : stringlist of names on the extra description. NULL if none | ||
+ | |||
+ | vals : intlist of integers on the extra description. NULL if none | ||
+ | |||
+ | descr :string of text. |
Revision as of 10:49, 1 June 2020
Extraptr:
Extra descriptions, quests structures, etc can be searched and manipulated using variables of this type. There is no way to declare static structures of this type in DIL programs. Lists of extra descriptions are easily searched with the 'in' operator (See below). Extraptr variables are 'volatile', and thus cleared whenever there is a possibility that they are rendered unusable.
Members:
next : extraptr to the next linked extra description. NULL if none
names : stringlist of names on the extra description. NULL if none
vals : intlist of integers on the extra description. NULL if none
descr :string of text.