Files
source/Tactical/Auto Bandage.h
T
Marco Antonio J. Costaandmajcosta 86ad401186 add newline at end of file where it's lacking
.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
```
2024-12-14 19:05:48 -03:00

29 lines
692 B
C

#ifndef _AUTO_BANDAGE_H
#define _AUTO_BANDAGE_H
//#define VISIBLE_AUTO_BANDAGE
void AutoBandage( BOOLEAN fStart );
void BeginAutoBandage( );
BOOLEAN HandleAutoBandage( );
void ShouldBeginAutoBandage( );
void SetAutoBandagePending( BOOLEAN fSet );
void HandleAutoBandagePending( );
// ste the autobandage as complete
void SetAutoBandageComplete( void );
// Flugente: bandaging during retreat
void SetRetreatBandaging( BOOLEAN aVal );
BOOLEAN RetreatBandagingPending( );
// return the ID of best doctor that has a medkit and is travelling with pPatient
SoldierID GetBestRetreatingMercDoctor( SOLDIERTYPE* pPatient );
void HandleRetreatBandaging( );
#endif