mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
17 lines
900 B
C
17 lines
900 B
C
#ifndef __REINFORCEMENT_H__
|
|
#define __REINFORCEMENT_H__
|
|
|
|
//For Autoresolve (mostly)
|
|
void GetNumberOfEnemiesInFiveSectors( INT16 sSectorX, INT16 sSectorY, UINT8 *pubNumAdmins, UINT8 *pubNumTroops, UINT8 *pubNumElites, UINT8 *pubNumRobots, UINT8 *pubNumTanks, UINT8 *pubNumJeeps );
|
|
void ActivateTurncoatsForAutoResolve( INT16 sSectorX, INT16 sSectorY );
|
|
BOOLEAN IsGroupInARightSectorToReinforce( GROUP *pGroup, INT16 sSectorX, INT16 sSectorY );
|
|
UINT8 GetAdjacentSectors( UINT8 pSectors[4], INT16 sSectorX, INT16 sSectorY );
|
|
UINT16 CountAllMilitiaInFiveSectors(INT16 sMapX, INT16 sMapY);
|
|
UINT8 NumEnemiesInFiveSectors( INT16 sMapX, INT16 sMapY );
|
|
|
|
//For Tactical
|
|
UINT8 DoReinforcementAsPendingNonPlayer( INT16 sMapX, INT16 sMapY, UINT8 usTeam );
|
|
void AddPossiblePendingMilitiaToBattle();
|
|
GROUP* GetNonPlayerGroupInSectorForReinforcement( INT16 sMapX, INT16 sMapY, UINT8 usTeam );
|
|
|
|
#endif |