cp_alien_interest.h File Reference

Alien interest header. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CL_ResetAlienInterest (void)
 Initialize alien interest values and mission cycle.
void CP_IncreaseAlienInterest (void)
 Increase alien overall interest.
void CL_ChangeIndividualInterest (float percentage, interestCategory_t category)
 Change individual interest value.

Detailed Description

Alien interest header.

Definition in file cp_alien_interest.h.


Function Documentation

void CL_ChangeIndividualInterest ( float  interestFactor,
interestCategory_t  category 
)
void CL_ResetAlienInterest ( void   ) 

Initialize alien interest values and mission cycle.

Note:
Should be used when a new single player campaign starts
See also:
CP_CampaignInit

Definition at line 36 of file cp_alien_interest.c.

References ccs, i, INITIAL_OVERALL_INTEREST, ccs_s::interest, INTERESTCATEGORY_MAX, INTERESTCATEGORY_RECON, ccs_s::lastInterestIncreaseDelay, ccs_s::lastMissionSpawnedDelay, and ccs_s::overallInterest.

Referenced by CP_CampaignInit().

void CP_IncreaseAlienInterest ( void   ) 

Increase alien overall interest.

See also:
CL_CampaignRun
Note:
hourly called

Definition at line 94 of file cp_alien_interest.c.

References ccs, ccs_s::curCampaign, campaign_s::difficulty, HOURS_PER_ONE_INTEREST, ccs_s::lastInterestIncreaseDelay, and ccs_s::overallInterest.

Referenced by CL_CampaignRun().


Generated by  doxygen 1.6.2