mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Editor: Fix for use of uninitialized variable in undo Editor: Fix for clipping bounds that are offscreen (causes crash) Fix for AP bonus reading from INI Fix mine indexes when looking for creature infestation of mines Final (?) fix for militia reinforcements. Also a change: If you refuse reinforcements, none will come for the entirety of the battle Increase size of cover and LOS grids to fit max radius Fix for uninitialized light level in DistanceVisible Move CheckForEndOfBattle to end of ReduceAttackBusy, to remove a possible militia invalidate upon promotion Change the way Alt-L handles reloading git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1142 3b4a5df2-a311-0410-b5c6-a8a6f20db521
31 lines
812 B
C
31 lines
812 B
C
#ifndef __MILITIA_CONTROL_H
|
|
#define __MILITIA_CONTROL_H
|
|
|
|
#include "Types.h"
|
|
#include "Soldier Control.h"
|
|
#include "mousesystem.h"
|
|
#include "Strategic Movement.h"
|
|
|
|
void PrepareMilitiaForTactical(BOOLEAN fPrepareAll);
|
|
void RemoveMilitiaFromTactical();
|
|
void ResetMilitia();
|
|
void HandleMilitiaPromotions();
|
|
|
|
extern BOOLEAN gfStrategicMilitiaChangesMade;
|
|
|
|
extern INT32 ghMilitiaControlBox;
|
|
//extern INT32 ghTalkToAllBox;
|
|
|
|
extern BOOLEAN fFirstClickInMilitiaControlScreenMask;
|
|
|
|
// figure out the assignment menu pop up box positions
|
|
void DetermineMilitiaControlBoxPositions( void );
|
|
|
|
// set x,y position in tactical
|
|
void SetTacticalPopUpMilitiaControlBoxXY( SOLDIERTYPE *pSoldier );
|
|
|
|
BOOLEAN CreateDestroyMilitiaControlPopUpBoxes( void );
|
|
|
|
BOOLEAN CheckIfRadioIsEquipped( void );
|
|
|
|
#endif |