$$QUERY Level Goals b:Goal [l:LevelGoal] is complete qGoalCompleted Goal is enabled Determines if the specified goal is complete Parameters: LevelGoal: the goal to check $$END */
| 6612 | $$END |
| 6613 | */ |
| 6614 | bool qGoalCompleted(int goal_index) { |
| 6615 | int flags; |
| 6616 | |
| 6617 | LGoal_Value(VF_GET, LGSV_I_STATUS, &flags, goal_index); |
| 6618 | |
| 6619 | return ((flags & LGF_COMPLETED) != 0); |
| 6620 | } |
| 6621 | |
| 6622 | /* |
| 6623 | $$QUERY |