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

Method LGStatus

Descent3/levelgoal.cpp:804–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802}
803
804bool levelgoals::LGStatus(char operation, int *value) {
805 if (!value)
806 return false;
807
808 switch (operation) {
809 case LO_SET_SPECIFIED:
810 m_flags |= *value;
811 return true;
812 break;
813 case LO_GET_SPECIFIED:
814 *value = m_flags;
815 return true;
816 break;
817 case LO_CLEAR_SPECIFIED:
818 m_flags &= ~(*value);
819 return true;
820 break;
821 }
822
823 return false;
824}
825
826bool levelgoals::LoadLevelGoalInfo(CFILE *fptr) {
827 CleanupAfterLevel();

Callers 3

UpdateDialogMethod · 0.80
osipf_LGoalValueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected