summaryrefslogtreecommitdiff
path: root/source/q_shared.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-03-05 20:14:36 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-03-05 20:14:36 +0000
commitbf0e48bb73e2d6846e15335e3625290d1f9ebc52 (patch)
treee2804860de7d1b59c263ec04f81044b35a7369f2 /source/q_shared.h
parent856cdd0f2fafeaa31c7398c8877180c68364842d (diff)
Rewrote autocompletion engine.
Added `con_notifylines' variable. Do not allow chat beeps to overlap.
Diffstat (limited to 'source/q_shared.h')
-rw-r--r--source/q_shared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/q_shared.h b/source/q_shared.h
index bb2955b..a62b2bf 100644
--- a/source/q_shared.h
+++ b/source/q_shared.h
@@ -591,9 +591,10 @@ CVARS (console variables)
#define CVAR_LATCH 16 // save changes until server restart
struct cvar_s;
+struct genctx_s;
typedef void (*xchanged_t)( struct cvar_s * );
-typedef const char *( *xgenerator_t )( const char *, int );
+typedef void (*xgenerator_t)( struct genctx_s * );
// nothing outside the cvar.*() functions should modify these fields!
typedef struct cvar_s {