summaryrefslogtreecommitdiff
path: root/source/g_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/g_public.h')
-rw-r--r--source/g_public.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/g_public.h b/source/g_public.h
index cde1a81..3e5cf6e 100644
--- a/source/g_public.h
+++ b/source/g_public.h
@@ -109,10 +109,10 @@ struct edict_s
typedef struct
{
// special messages
- void (*bprintf) (int printlevel, const char *fmt, ...);
- void (*dprintf) (const char *fmt, ...);
- void (*cprintf) (edict_t *ent, int printlevel, const char *fmt, ...);
- void (*centerprintf) (edict_t *ent, const char *fmt, ...);
+ void (* q_printf( 2, 3 ) bprintf) (int printlevel, const char *fmt, ...);
+ void (* q_printf( 1, 2 ) dprintf) (const char *fmt, ...);
+ void (* q_printf( 3, 4 ) cprintf) (edict_t *ent, int printlevel, const char *fmt, ...);
+ void (* q_printf( 2, 3 ) centerprintf) (edict_t *ent, const char *fmt, ...);
void (*sound) (edict_t *ent, int channel, int soundindex, float volume, float attenuation, float timeofs);
void (*positioned_sound) (vec3_t origin, edict_t *ent, int channel, int soundinedex, float volume, float attenuation, float timeofs);
@@ -122,7 +122,7 @@ typedef struct
// they connect, and changes are sent to all connected clients.
void (*configstring) (int num, const char *string);
- void (* q_noreturn error) (const char *fmt, ...);
+ void (* q_noreturn q_printf( 1, 2 ) error) (const char *fmt, ...);
// the *index functions create configstrings and some internal server state
int (*modelindex) (const char *name);