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

Method GoalGetDesc

Descent3/levelgoal.cpp:714–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712}
713
714int levelgoals::GoalGetDesc(int goal_index, char *desc, int buffer_size) {
715 if (goal_index < 0 || goal_index >= m_num_goals)
716 return -1;
717
718 return m_goal[goal_index].GetDesc(desc, buffer_size);
719}
720
721int levelgoals::GoalGetNumItems(int goal_index) {
722 if (goal_index < 0 || goal_index >= m_num_goals)

Callers 5

UpdateDialogMethod · 0.80
DumpLevelGoalsFunction · 0.80
osipf_LGoalValueFunction · 0.80
TCGoalsRenderCallbackFunction · 0.80
SaveLevelGoalInfoMethod · 0.80

Calls 1

GetDescMethod · 0.80

Tested by

no test coverage detected