|
Purpose |
Changes the properties of a displayed map | |
|
Syntax |
void map_alter(mapnr,subfunction,value); | |
|
Parameters |
int mapnr |
Map number of appropriate displayed map |
|
|
int subfunction |
The property to be altered |
|
|
int value |
The new value for the property |
|
Description |
The properties are described below | |
|
|
MA_ACTIVATOR |
Specifies a new value for the activating function key (1 = <F1> and so on). MA_ACTIVATOR is most useful where you allocate each map its own unique activator. One convenient method is to keep a bitset for allocating numbers to maps as they are displayed. Although you can use low numbers corresponding to real function keys you may prefer to use numbers outside the range of normal function keys (values 0x100 to 0x7ff are available) |
|
|
MA_COVERED |
Brings the map to the top of the viewing order. Normally, maps are only brought so high in the viewing order that the current field is visible. For this property, value is not currently meaningful, so you should pass 0 |