mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Original Source for 1.13 Mod High Resolution version from 12/06/05
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
#ifndef __STRATEGIC_H
|
||||
#define __STRATEGIC_H
|
||||
// header for strategic structure
|
||||
#include "Types.h"
|
||||
#include "mapscreen.h"
|
||||
#include "soldier control.h"
|
||||
|
||||
|
||||
struct strategicmapelement{
|
||||
UINT8 UNUSEDuiFootEta[4]; // eta/mvt costs for feet
|
||||
UINT8 UNUSEDuiVehicleEta[4]; // eta/mvt costs for vehicles
|
||||
UINT8 uiBadFootSector[4]; // blocking mvt for foot
|
||||
UINT8 uiBadVehicleSector[4]; // blocking mvt from vehicles
|
||||
INT8 bNameId;
|
||||
BOOLEAN fEnemyControlled; // enemy controlled or not
|
||||
BOOLEAN fEnemyAirControlled;
|
||||
BOOLEAN UNUSEDfLostControlAtSomeTime;
|
||||
INT8 bSAMCondition; // SAM Condition .. 0 - 100, just like an item's status
|
||||
INT8 bPadding[ 20 ];
|
||||
} ;
|
||||
|
||||
enum
|
||||
{
|
||||
INSERTION_CODE_NORTH,
|
||||
INSERTION_CODE_SOUTH,
|
||||
INSERTION_CODE_EAST,
|
||||
INSERTION_CODE_WEST,
|
||||
INSERTION_CODE_GRIDNO,
|
||||
INSERTION_CODE_ARRIVING_GAME,
|
||||
INSERTION_CODE_CHOPPER,
|
||||
INSERTION_CODE_PRIMARY_EDGEINDEX,
|
||||
INSERTION_CODE_SECONDARY_EDGEINDEX,
|
||||
INSERTION_CODE_CENTER,
|
||||
};
|
||||
|
||||
|
||||
//PLEASE USE CALCULATE_STRATEGIC_INDEX() macro instead (they're identical).
|
||||
//#define GETWORLDMAPNO( x, y ) ( x+(MAP_WORLD_X*y) )
|
||||
|
||||
typedef struct strategicmapelement StrategicMapElement;
|
||||
extern StrategicMapElement StrategicMap[MAP_WORLD_X*MAP_WORLD_Y];
|
||||
|
||||
BOOLEAN InitStrategicEngine( );
|
||||
|
||||
void HandleSoldierDeadComments( SOLDIERTYPE *pSoldier );
|
||||
|
||||
BOOLEAN HandleStrategicDeath( SOLDIERTYPE *pSoldier );
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user