diff options
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r-- | src/game/g_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c index 07d0adf4..d13b9356 100644 --- a/src/game/g_utils.c +++ b/src/game/g_utils.c @@ -117,6 +117,10 @@ int G_FindConfigstringIndex( char *name, int start, int max, qboolean create ) { return i; } +//TA: added ShaderIndex +int G_ShaderIndex( char *name ) { + return G_FindConfigstringIndex (name, CS_SHADERS, MAX_SHADERS, qtrue); +} int G_ModelIndex( char *name ) { return G_FindConfigstringIndex (name, CS_MODELS, MAX_MODELS, qtrue); |