MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsAllAnimGood

Method IsAllAnimGood

trinity/Resources/Tr2GrannyStateRes.cpp:145–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145bool Tr2GrannyStateRes::IsAllAnimGood()
146{
147 bool all_anim_good = true;
148
149 auto anim_files = GetGStateAnimFileRefPaths();
150 if( anim_files.size() != m_gStateAnimFiles.size() )
151 {
152 return false;
153 }
154
155 for( auto it = m_gStateAnimFiles.begin(); it != m_gStateAnimFiles.end(); it++ )
156 {
157 all_anim_good = all_anim_good && it->second->IsGood();
158 }
159
160 return all_anim_good;
161}
162
163
164bool Tr2GrannyStateRes::DoPrepare()

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
IsGoodMethod · 0.45

Tested by

no test coverage detected