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
979 B
C
32 lines
979 B
C
#ifndef __INSURANCE_CONTRACT_H
|
|
#define __INSURANCE_CONTRACT_H
|
|
|
|
#include "Soldier Control.h"
|
|
|
|
|
|
void GameInitInsuranceContract();
|
|
BOOLEAN EnterInsuranceContract();
|
|
void ExitInsuranceContract();
|
|
void HandleInsuranceContract();
|
|
void RenderInsuranceContract();
|
|
|
|
extern INT16 gsCurrentInsuranceMercIndex;
|
|
|
|
// determines if a merc will run out of there insurance contract
|
|
void DailyUpdateOfInsuredMercs();
|
|
|
|
//void InsuranceContractPayLifeInsuranceForDeadMerc( LIFE_INSURANCE_PAYOUT *pPayoutStruct );
|
|
|
|
BOOLEAN AddLifeInsurancePayout( SOLDIERTYPE *pSoldier );
|
|
void InsuranceContractPayLifeInsuranceForDeadMerc( UINT16 ubPayoutID );
|
|
void StartInsuranceInvestigation( UINT16 ubPayoutID );
|
|
void EndInsuranceInvestigation( UINT16 ubPayoutID );
|
|
|
|
INT32 CalculateInsuranceContractCost( INT32 iLength, UINT8 ubMercID );
|
|
|
|
void InsuranceContractEndGameShutDown();
|
|
|
|
void PurchaseOrExtendInsuranceForSoldier( SOLDIERTYPE *pSoldier, UINT32 uiInsuranceLength );
|
|
|
|
#endif
|