From 454ff21260fef5ad9c3f6fca6a4125a1bc2e58fc Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 10 Mar 2003 23:54:41 +0000 Subject: [PATCH] add declarations for SV_UserCmd --- fbxa/bot_qw.qc | 1 + fbxa/libfrikbot.h | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/fbxa/bot_qw.qc b/fbxa/bot_qw.qc index 2284f06..b9f731f 100644 --- a/fbxa/bot_qw.qc +++ b/fbxa/bot_qw.qc @@ -159,6 +159,7 @@ entity () SV_AllocClient = #0; void (entity e) SV_FreeClient = #0; void (entity e, string str) SV_SetUserinfo = #0; void (entity e, integer ping) SV_SetPing = #0; +void (entity cl, float sec, vector angles, vector move, integer buttons, integer impulse) SV_UserCmd = #0; //---------------------------------------------------------------------------- diff --git a/fbxa/libfrikbot.h b/fbxa/libfrikbot.h index eb11cd8..f98ce23 100644 --- a/fbxa/libfrikbot.h +++ b/fbxa/libfrikbot.h @@ -348,4 +348,10 @@ @extern void(string h) BotSayTeam; @extern void(entity e1, entity e2, float flag) DeveloperLightning; +/* + angles is pitch yaw roll + move is forward right up +*/ +@extern void (entity cl, float sec, vector angles, vector move, integer buttons, integer impulse) SV_UserCmd; + #include "defs.h"