#include <map.h>
This structure appears in the constant data file in data/maps.m4 and data/maps.m4h. The definition given here must remain synchronized with the one there.
Definition at line 50 of file map.h.
Data Fields | |
| filelink | name |
| (Ref to string) Map name | |
| filelink | monstertab |
| Evaluates to map_gen_method. | |
| filelink | genmethod |
| Function to call when map is created. | |
| filelink | genfunction |
| Function to call when map is entered. | |
| filelink | enterfunction |
| uint | mapindex |
| Map's index into the maps table. | |
| uint | flags |
| Special properties of this level. | |
| uint | difficulty |
| How difficult this map is. Affects jump tables (thus, monster types) and the number of points awarded for reaching it. | |
| range | num_items |
| Number of items on this map. | |
| uint | initial_population |
| Number of monsters on the map. | |
| uint | numspecial |
| Number of additional properties this map has. | |
| spec_descriptor | ext [1] |
|
|
How difficult this map is. Affects jump tables (thus, monster types) and the number of points awarded for reaching it.
|
|
|
|
|
|
|
|
|
Special properties of this level. Possible values are in Map Flags. Definition at line 68 of file map.h. Referenced by follow_connection(). |
|
|
Function to call when map is entered.
|
|
|
Function to call when map is created.
|
|
|
Number of monsters on the map.
|
|
|
Map's index into the maps table.
Definition at line 63 of file map.h. Referenced by follow_connection(), and main_menu(). |
|
|
Evaluates to map_gen_method.
|
|
|
(Ref to string) Map name
Definition at line 53 of file map.h. Referenced by auto_follow_connection(). |
|
|
Number of items on this map.
|
|
|
Number of additional properties this map has.
|
1.3.6