diff noise reduction

This commit is contained in:
Bill Currie 2001-05-18 23:57:38 +00:00
parent a771ef7b83
commit 378adbf8f6
2 changed files with 6 additions and 10 deletions

View File

@ -43,13 +43,11 @@
typedef struct entity_s
{
qboolean forcelink; // model changed
int keynum; // FIXME: hack to match qw
int update_type;
entity_state_t baseline; // to fill in defaults in updates
double msgtime; // time of last update
int keynum; // for matching entities in different frames
vec3_t origin;
vec3_t old_origin;
vec3_t angles;
@ -60,14 +58,14 @@ typedef struct entity_s
byte *colormap;
int skinnum; // for Alias models
struct player_info_s *scoreboard; // identify player
float syncbase; // for client-side animations
struct efrag_s *efrag; // linked list of efrags
int visframe; // last frame this entity was
// found in an active leaf
int effects; // light, particals, etc
int dlightframe; // dynamic lighting
int dlightbits;
float colormod[3]; // color tint for model
float alpha; // opacity (alpha) of the model

View File

@ -34,20 +34,18 @@
#include "QF/model.h"
#include "QF/vid.h"
// now we know why (struct model_s *) is used here instead of model_t
// damn circular reference ! same with player_info_s -- yan
#define TOP_RANGE 16 // soldier uniform colors
#define BOTTOM_RANGE 96
// LordHavoc: reindented this after 'Endy was here', also added scale.
typedef struct entity_s
{
int keynum; // for matching entities in different frames
vec3_t origin;
vec3_t old_origin;
vec3_t angles;
vec3_t msg_origins[2]; // last two updates (0 is newest)
vec3_t msg_angles[2]; // last two updates (0 is newest)
struct model_s *model; // NULL = no model
int frame;
byte *colormap;