A few mods for uquake...

This commit is contained in:
Joseph Carter 2000-02-07 04:18:18 +00:00
parent e023ae7ffe
commit bcc96386cd
3 changed files with 7 additions and 5 deletions

View file

@ -228,6 +228,7 @@ typedef struct
qboolean demorecording;
qboolean demoplayback;
qboolean timedemo;
int forcetrack;
gzFile *demofile;
float td_lastframe;
int td_startframe;
@ -337,10 +338,10 @@ typedef struct
qboolean inwater;
float viewheight;
float idealpitch;
struct scoreboard_t *scores; // [cl.maxclients]
scoreboard_t *scores; // [cl.maxclients]
struct usercmd_t cmd; // last command sent to the server
int items; // inventory bit flags
usercmd_t cmd; // last command sent to the server
int items; // inventory bit flags
vec3_t mviewangles[2]; // in demos, viewangles is lerped
// between these
vec3_t mvelocity[2]; // update by server, used for lean+bob

View file

@ -191,8 +191,9 @@ extern int unreliableMessagesSent;
extern int unreliableMessagesReceived;
#endif // UQUAKE
#ifdef QUAKEWORLD
void NET_Init (int port);
#endif
void NET_Shutdown (void);
qboolean NET_GetPacket (void);
void NET_SendPacket (int length, void *data, netadr_t to);

View file

@ -947,7 +947,7 @@ void Sbar_DrawFrags (void)
// draw the text
l = scoreboardlines <= 4 ? scoreboardlines : 4;
x = 23;
#ifdef QUAKEWORLD
xofs = 0;