MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / Clear

Method Clear

Source/GameData.hpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void Clear() {
42 mPhaseCount = 0;
43 mRecruitID = 0;
44 mRank = 0;
45 mNumberOfKills = 0;
46
47 mSprite = (sSprite*)-1;
48
49 field_6 = 0;
50 mSelected = 0;
51 }
52
53 uint8 GetPromotedRank() const {
54 uint8 newRank = (mPhaseCount + mRank);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected