$$ACTION Level Goals Set goal [l:LevelGoal] as [e:Completed] aGoalCompleted Set goal completion state Tells the goal system that the specified goal has been completed or not Parameters: LevelGoal: the goal to set Completed: whether or not the goal has been completed $$END */
| 5027 | $$END |
| 5028 | */ |
| 5029 | void aGoalCompleted(int goal_index, int completed) { |
| 5030 | int flags = LGF_COMPLETED; |
| 5031 | |
| 5032 | LGoal_Value(completed ? VF_SET_FLAGS : VF_CLEAR_FLAGS, LGSV_I_STATUS, &flags, goal_index); |
| 5033 | } |
| 5034 | |
| 5035 | /* |
| 5036 | $$ACTION |
no test coverage detected