Files
source/Strategic/Auto Resolve.h
T
Flugente d4432d95c3 - If ALLOW_MILITIA_STRATEGIC_COMMAND is TRUE and militia can be commanded, oen can order them to retreat from autoresolve
- Final sector in a militia group's path is shown while plotting in the strategic map.


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7743 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2015-02-20 23:27:22 +00:00

27 lines
798 B
C

#ifndef __AUTO_RESOLVE_H
#define __AUTO_RESOLVE_H
#include "types.h"
void EnterAutoResolveMode( UINT8 ubSectorX, UINT8 ubSectorY );
// is the autoresolve active?
BOOLEAN IsAutoResolveActive( void );
void EliminateAllEnemies( UINT8 ubSectorX, UINT8 ubSectorY );
void ConvertTacticalBattleIntoStrategicAutoResolveBattle();
UINT8 GetAutoResolveSectorID();
extern BOOLEAN gfTransferTacticalOppositionToAutoResolve;
//Returns TRUE if autoresolve is active or a sector is loaded.
BOOLEAN GetCurrentBattleSectorXYZ( INT16 *psSectorX, INT16 *psSectorY, INT16 *psSectorZ );
void CheckForSoldiersWhoRetreatedIntoMilitiaHeldSectors();
// Flugente: have all militia in autoresolve drop their gear and be promoted in necessary
void AutoResolveMilitiaDropAndPromote();
#endif