MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / AddVideo

Method AddVideo

neo/framework/DeclPDA.cpp:191–200  ·  view source on GitHub ↗

================= idDeclPDA::AddVideo ================= */

Source from the content-addressed store, hash-verified

189=================
190*/
191void idDeclPDA::AddVideo( const char *name, bool unique ) const {
192 if ( unique && ( videos.Find( name ) != NULL ) ) {
193 return;
194 }
195 if ( declManager->FindType( DECL_VIDEO, name, false ) == NULL ) {
196 common->Printf( "Video %s not found\n", name );
197 return;
198 }
199 videos.Append( name );
200}
201
202/*
203=================

Callers

nothing calls this directly

Calls 4

FindMethod · 0.45
FindTypeMethod · 0.45
PrintfMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected