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

Function IsIesExtension

trinity/Resources/Tr2LightProfileRes.cpp:33–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool IsIesExtension( const wchar_t* path )
34{
35 auto len = wcslen( path );
36 if( len < 4 )
37 {
38 return false;
39 }
40 return path[len - 4] == '.' &&
41 ( path[len - 3] == 'i' || path[len - 3] == 'I' ) &&
42 ( path[len - 2] == 'e' || path[len - 2] == 'E' ) &&
43 ( path[len - 1] == 's' || path[len - 1] == 'S' );
44}
45
46}
47

Callers 3

DoLoadMethod · 0.85
BakeLightProfileMethod · 0.85
GetThumbnailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected