mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@21 3b4a5df2-a311-0410-b5c6-a8a6f20db521
31 lines
974 B
C
31 lines
974 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( UINT8 ubPayoutID );
|
|
void StartInsuranceInvestigation( UINT8 ubPayoutID );
|
|
void EndInsuranceInvestigation( UINT8 ubPayoutID );
|
|
|
|
INT32 CalculateInsuranceContractCost( INT32 iLength, UINT8 ubMercID );
|
|
|
|
void InsuranceContractEndGameShutDown();
|
|
|
|
void PurchaseOrExtendInsuranceForSoldier( SOLDIERTYPE *pSoldier, UINT32 uiInsuranceLength );
|
|
|
|
#endif |