|
UFO: Alien Invasion
|
Alien interest header. More...

Go to the source code of this file.
Functions | |
| void | INT_ResetAlienInterest (void) |
| Initialize alien interest values and mission cycle. | |
| void | INT_IncreaseAlienInterest (const struct campaign_s *campaign) |
| void | INT_ChangeIndividualInterest (float percentage, interestCategory_t category) |
| Change individual interest value. | |
| void | INT_InitStartup (void) |
| Init actions for alien interests-subsystem. | |
| void | INT_Shutdown (void) |
| Closing actions for alien interests-subsystem. | |
Alien interest header.
Definition in file cp_alien_interest.h.
| enum interestCategory_t |
possible campaign interest categories: type of missions that aliens can undertake
Definition at line 29 of file cp_alien_interest.h.
| void INT_ChangeIndividualInterest | ( | float | interestFactor, |
| interestCategory_t | category ) |
Change individual interest value.
| [in] | interestFactor | Maybe pe > 0 or < 0 |
| [in] | category | Category of interest for aliens that should increase / decrease |
Definition at line 53 of file cp_alien_interest.cpp.
References ccs, cgi, int(), and INTERESTCATEGORY_MAX.
Referenced by CP_BaseAttackMissionIsFailure(), CP_BaseAttackMissionIsSuccess(), CP_BaseAttackMissionOnSpawn(), CP_BuildBaseMissionBaseDestroyed(), CP_BuildBaseMissionIsFailure(), CP_BuildBaseMissionIsSuccess(), CP_BuildBaseMissionOnSpawn(), CP_HarvestMissionIsFailure(), CP_HarvestMissionIsSuccess(), CP_InterceptMissionIsFailure(), CP_InterceptMissionIsSuccess(), CP_ReconMissionIsFailure(), CP_ReconMissionIsSuccess(), CP_SpawnNewMissions(), CP_SupplyMissionIsFailure(), CP_SupplyMissionIsSuccess(), CP_TerrorMissionIsFailure(), CP_TerrorMissionIsSuccess(), CP_TerrorMissionOnSpawn(), CP_XVIMissionIsFailure(), and CP_XVIMissionIsSuccess().
| void INT_IncreaseAlienInterest | ( | const struct campaign_s * | campaign | ) |
Init actions for alien interests-subsystem.
Definition at line 235 of file cp_alien_interest.cpp.
References cgi, and debugInterestCmds.
Referenced by CP_InitStartup().
Initialize alien interest values and mission cycle.
Definition at line 36 of file cp_alien_interest.cpp.
References ccs, i, INTERESTCATEGORY_MAX, and INTERESTCATEGORY_RECON.
Referenced by CP_CampaignInit(), and TEST_F().
Closing actions for alien interests-subsystem.
Definition at line 243 of file cp_alien_interest.cpp.
References cgi, and debugInterestCmds.
Referenced by CP_Shutdown().