mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@588 3b4a5df2-a311-0410-b5c6-a8a6f20db521
25 lines
934 B
C
25 lines
934 B
C
#ifndef _MILITIA_SQUADS_H
|
|
#define _MILITIA_SQUADS_H
|
|
|
|
// header for town militia strategic control module
|
|
|
|
#include "Types.h"
|
|
#include "Soldier Control.h"
|
|
|
|
//#define MAXIMUM_MILITIA_SQUAD_SIZE 30
|
|
|
|
extern UINT8 gpAttackDirs[5][4];
|
|
extern UINT8 guiDirNumber;
|
|
|
|
// Updates movement orders for militia squads
|
|
void UpdateMilitiaSquads(INT16 sMapX, INT16 sMapY );
|
|
// Kaiden: creates militia squad in an adjacent sector
|
|
// to the coordinates you pass to it.
|
|
void CreateMilitiaSquads(INT16 sMapX, INT16 sMapY );
|
|
void MilitiaHelpFromAdjacentSectors( INT16 sMapX, INT16 sMapY );
|
|
|
|
void GenerateDirectionInfos( INT16 sMapX, INT16 sMapY, UINT8* uiDirNumber, UINT16 pMoveDir[4][3], BOOLEAN fWithCities, BOOLEAN fForBattle, BOOLEAN fOnlyCitySectors );
|
|
BOOLEAN MoveOneBestMilitiaMan(INT16 sMapX, INT16 sMapY, INT16 sTMapX, INT16 sTMapY);
|
|
void MilitiaFollowPlayer( INT16 sMapX, INT16 sMapY, INT16 sDMapX, INT16 sDMapY );
|
|
|
|
#endif |