summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-19 07:09:55 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:56 +0000
commit4bede371a0f04d5edf3bd28f503ccf11cc9c6f47 (patch)
treed2d2dfa738432e3f13893902d5392903cbd13a13 /src/game/bg_public.h
parentbe79439b479902f5b464511e95c4c5455071e8fa (diff)
* Use binary searching instead of linear searching for many static arrays
Diffstat (limited to 'src/game/bg_public.h')
-rw-r--r--src/game/bg_public.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/bg_public.h b/src/game/bg_public.h
index 30ac860d..e952624a 100644
--- a/src/game/bg_public.h
+++ b/src/game/bg_public.h
@@ -1307,3 +1307,9 @@ voiceTrack_t *BG_VoiceTrackFind( voiceTrack_t *head, team_t team,
int BG_LoadEmoticons( char names[ ][ MAX_EMOTICON_NAME_LEN ], int widths[ ] );
char *BG_TeamName( team_t team );
+
+typedef struct
+{
+ const char *name;
+} dummyCmd_t;
+int cmdcmp( const void *a, const void *b );