MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / GetActivePrimaryGoal

Method GetActivePrimaryGoal

Descent3/levelgoal.cpp:1003–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001}
1002
1003int levelgoals::GetActivePrimaryGoal(int p_index) {
1004 if (p_index < 0 || p_index >= m_num_active_primaries)
1005 return -1;
1006
1007 return m_active_primaries[p_index];
1008}
1009
1010int levelgoals::GetNumActiveSecondaryGoals() {
1011 int x;

Callers 2

osipf_LGoalValueFunction · 0.80
TCGoalsBuildLineDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected