MCPcopy Create free account
hub / github.com/JACoders/OpenJK / GetSet

Method GetSet

code/client/snd_ambient.cpp:169–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167*/
168
169ambientSet_t *CSetGroup::GetSet( const char *name )
170{
171 std::map<sstring_t, ambientSet_t *>::iterator mi;
172
173 if ( name == NULL )
174 return NULL;
175
176 mi = m_setMap->find( name );
177
178 if ( mi == m_setMap->end() )
179 return NULL;
180
181 return (*mi).second;
182}
183
184ambientSet_t *CSetGroup::GetSet( int ID )
185{

Callers 6

AS_ParseSetsFunction · 0.45
AS_UpdateSetVolumesFunction · 0.45
AS_UpdateCurrentSetFunction · 0.45
S_UpdateAmbientSetFunction · 0.45
S_AddLocalSetFunction · 0.45
AS_GetBModelSoundFunction · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected