Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DescentDevelopers/Descent3
/ GetArg
Function
GetArg
Descent3/args.cpp:31–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
char GameArgs[MAX_ARGS][MAX_CHARS_PER_ARG];
30
31
const char *GetArg(int index) {
32
if (index >= TotalArgs || index == 0)
33
return NULL;
34
return GameArgs[index];
35
}
36
37
// Gathers all arguments
38
void GatherArgs(const char *str) {
Callers
1
InitSoundLib
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected