mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
If airspace isn't controlled by neither side (due to damage to SAM site, lack of qualiified is currently not checked), airspace is coloured blue.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7732 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
#include "mapscreen.h"
|
||||
#include "soldier control.h"
|
||||
|
||||
// different states for airspace control
|
||||
enum
|
||||
{
|
||||
AIRSPACE_PLAYER_ACTIVE, // controlled by player and active
|
||||
AIRSPACE_ENEMY_ACTIVE, // controlled by enemy and active
|
||||
AIRSPACE_PLAYER_INACTIVE, // controlled by player but not active
|
||||
AIRSPACE_ENEMY_INACTIVE, // controlled by enemy but not active
|
||||
};
|
||||
|
||||
struct strategicmapelement{
|
||||
UINT8 UNUSEDuiFootEta[4]; // eta/mvt costs for feet
|
||||
@@ -13,7 +21,7 @@ struct strategicmapelement{
|
||||
UINT8 uiBadVehicleSector[4]; // blocking mvt from vehicles
|
||||
INT8 bNameId;
|
||||
BOOLEAN fEnemyControlled; // enemy controlled or not
|
||||
BOOLEAN fEnemyAirControlled;
|
||||
UINT8 usAirType;
|
||||
BOOLEAN UNUSEDfLostControlAtSomeTime;
|
||||
INT8 bSAMCondition; // SAM Condition .. 0 - 100, just like an item's status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user