MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FindArg

Function FindArg

legacy/FontEditor/args.cpp:86–94  ·  view source on GitHub ↗

Returns index of argument sought, or 0 if not found

Source from the content-addressed store, hash-verified

84
85// Returns index of argument sought, or 0 if not found
86int FindArg(const char *which) {
87 int i;
88
89 for (i = 1; i <= TotalArgs; i++)
90 if (stricmp(which, GameArgs[i]) == 0)
91 return (i);
92
93 return (0);
94}

Callers 9

WinMainFunction · 0.70
d3d_GetCapsFunction · 0.50
d3d_PollDevicesFunction · 0.50
d3d_TextureCacheInitFunction · 0.50
d3d_InitFunction · 0.50
opengl.cppFile · 0.50
opengl_SetupFunction · 0.50
opengl_InitFunction · 0.50
rend_SetInitOptionsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected