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

Function Key_KeynumValid

code/client/cl_keys.cpp:837–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835
836static char tinyString[16];
837static const char *Key_KeynumValid( int keynum ) {
838 if ( keynum == -1 )
839 return "<KEY NOT FOUND>";
840 if ( keynum < 0 || keynum >= MAX_KEYS )
841 return "<OUT OF RANGE>";
842 return NULL;
843}
844
845static const char *Key_KeyToName( int keynum )
846{

Callers 2

Key_KeynumToAsciiFunction · 0.70
Key_KeynumToStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected