Crossfire Server, Branches 1.12  R18729
Map loading flags

Macros

#define MAP_BLOCK   0x4
 
#define MAP_FLUSH   0x1
 
#define MAP_OVERLAY   0x10
 
#define MAP_PLAYER_UNIQUE   0x2
 
#define MAP_STYLE   0x8
 

Detailed Description

Options passed to ready_map_name() and load_original_map().

Todo:
remove map_block

Macro Definition Documentation

#define MAP_BLOCK   0x4

Unused.

Definition at line 118 of file map.h.

Referenced by load_original_map().

#define MAP_FLUSH   0x1

Always load map from the map directory, and don't do unique items or the like.

Definition at line 116 of file map.h.

Referenced by ready_map_name().

#define MAP_OVERLAY   0x10

Map to load is an overlay. Always put items above floor.

Definition at line 120 of file map.h.

Referenced by load_objects(), load_original_map(), load_overlay_map(), and ready_map_name().

#define MAP_PLAYER_UNIQUE   0x2

This map is player-specific. Don't do any more name translation on it.

Definition at line 117 of file map.h.

Referenced by cast_create_town_portal(), enter_exit(), enter_fixed_template_map(), enter_random_template_map(), enter_unique_map(), is_legal_2ways_exit(), load_objects(), load_original_map(), ready_map_name(), and START_TEST().

#define MAP_STYLE   0x8

Active objects shouldn't be put on active list.

Definition at line 119 of file map.h.

Referenced by load_objects(), load_original_map(), and load_style_map().