mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
26 lines
558 B
C
26 lines
558 B
C
#ifndef _SPREAD_BURST_H
|
|
#define _SPREAD_BURST_H
|
|
|
|
#define MAX_BURST_LOCATIONS 50
|
|
|
|
typedef struct
|
|
{
|
|
INT16 sX;
|
|
INT16 sY;
|
|
INT16 sGridNo;
|
|
|
|
} BURST_LOCATIONS;
|
|
|
|
|
|
extern BURST_LOCATIONS gsBurstLocations[ MAX_BURST_LOCATIONS ];
|
|
extern INT8 gbNumBurstLocations;
|
|
|
|
|
|
void ResetBurstLocations( );
|
|
void AccumulateBurstLocation( INT16 sGridNo );
|
|
void PickBurstLocations( SOLDIERTYPE *pSoldier );
|
|
void AIPickBurstLocations( SOLDIERTYPE *pSoldier, INT8 bTargets, SOLDIERTYPE *pTargets[5] );
|
|
|
|
void RenderAccumulatedBurstLocations( );
|
|
|
|
#endif |