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 ```
30 lines
1014 B
C++
30 lines
1014 B
C++
#ifndef __TACTICAL_PLACEMENT_GUI_H
|
|
#define __TACTICAL_PLACEMENT_GUI_H
|
|
|
|
//#include "Soldier Control.h"
|
|
//#include "mousesystem.h"
|
|
typedef struct _MOUSE_REGION MOUSE_REGION;
|
|
class SOLDIERTYPE;
|
|
|
|
void InitTacticalPlacementGUI();
|
|
void KillTacticalPlacementGUI();
|
|
void TacticalPlacementHandle();
|
|
void RenderTacticalPlacementGUI();
|
|
|
|
void HandleTacticalPlacementClicksInOverheadMap( MOUSE_REGION *reg, INT32 reason );
|
|
|
|
// WANNE - MP: This method checks, if the desired entry direction (N, E, S, W) on the map is valid. If not it chooses the next valid diretion
|
|
UINT8 GetValidInsertionDirectionForMP(UINT8 currentInsertionPoint);
|
|
|
|
extern BOOLEAN gfTacticalPlacementGUIActive;
|
|
extern BOOLEAN gfEnterTacticalPlacementGUI;
|
|
extern BOOLEAN gfTacticalPlacementGUIDirty;//dnl ch45 071009
|
|
|
|
extern SOLDIERTYPE *gpTacticalPlacementSelectedSoldier;
|
|
extern SOLDIERTYPE *gpTacticalPlacementHilightedSoldier;
|
|
|
|
//Saved value. Contains the last choice for future battles.
|
|
extern UINT8 gubDefaultButton;
|
|
|
|
#endif
|