mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
.editorconfig already enforces it but it's getting changed piecemeal in every commit. just get it done with. the script: ``` find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do isFile=$(file -0 "$file" | cut -d $'\0' -f2) case "$isFile" in (*text*) echo "$file is text" if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then echo "" >> "$file" fi ;; (*) echo "file isn't text" ;; esac done ```
32 lines
813 B
C
32 lines
813 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
|