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

Function IsGoalFinishedNotify

scripts/AIGame3.cpp:140–142  ·  view source on GitHub ↗

Returns True if given index implies that a goal is finished

Source from the content-addressed store, hash-verified

138
139// Returns True if given index implies that a goal is finished
140static inline bool IsGoalFinishedNotify(int index) {
141 return (index == AIN_GOAL_COMPLETE || index == AIN_GOAL_INVALID || index == AIN_GOAL_FAIL || index == AIN_GOAL_ERROR);
142}
143
144// Wipes out all goals except slots 0 and 3 (used by Dallas)
145void SafeGoalClearAll(int obj_handle) {

Callers 1

DoNotifyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected