removed old cvarquery stuff, added support for queryclientcvarvalue2

This commit is contained in:
David Anderson
2006-02-01 12:09:43 +00:00
parent 28ede82f91
commit 314392bffe
3 changed files with 93 additions and 75 deletions

View File

@@ -33,6 +33,7 @@
#define CMISC_H
#include "CList.h"
#include "sh_list.h"
// *****************************************************
// class CCVar
@@ -65,10 +66,8 @@ public:
struct ClientCvarQuery_Info
{
bool querying; // Are we actually waiting for a response at the moment?
String cvarName;
int resultFwd;
int requestId;
int paramLen;
cell *params;
};
@@ -121,7 +120,7 @@ public:
Vector thisTrace;
Vector lastHit;
CQueue<ClientCvarQuery_Info*> cvarQueryQueue;
List<ClientCvarQuery_Info *> queries;
void Init(edict_t* e, int i);
void Disconnect();