mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 06:42:26 +00:00
Includes for recent fixes. (forgot to upload them)
This commit is contained in:
parent
0793a90813
commit
674e537a72
3 changed files with 16 additions and 15 deletions
|
@ -300,7 +300,7 @@ void R_RotateForEntity (entity_t *e);
|
|||
extern float bubble_sintable[], bubble_costable[];
|
||||
extern float v_blend[4];
|
||||
|
||||
void R_MarkLights (dlight_t *light, int bit, mnode_t *node);
|
||||
void R_MarkLights (vec3_t lightorigin, dlight_t *light, int bit, mnode_t *node);
|
||||
void R_AnimateLight (void);
|
||||
void R_RenderDlights (void);
|
||||
int R_LightPoint (vec3_t p);
|
||||
|
|
|
@ -191,28 +191,28 @@
|
|||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// QSG Protocol Extensions (Version 2)
|
||||
// Network definitions for the engine, as defined in protocol.h
|
||||
// Network definitions for the engine
|
||||
|
||||
#define U_EXTEND1 (1<<7)
|
||||
#define U_EXTEND1 (1<<7)
|
||||
|
||||
#define U_ALPHA (1<<17) // 1 byte, 0.0-1.0 = 0-255 (Unsent if 1)
|
||||
#define U_SCALE (1<<18) // 1 byte, scale / 16 positive, (Unsent if 1)
|
||||
#define U_EFFECTS2 (1<<19) // 1 byte, .effects & 0xFF00
|
||||
#define U_GLOWSIZE (1<<20) // 1 byte, float/8.0, signed. Unsent if 1
|
||||
#define U_GLOWCOLOR (1<<21) // 1 byte, palette index, default, 254.
|
||||
#define U_COLORMOD (1<<22) // 1 byte, rrrgggbb. Model tinting
|
||||
#define U_EXTEND2 (1<<23) // Another byte to follow
|
||||
// LordHavoc: would be U_DELTA here (as in DarkPlaces), but in QW everything is delta compressed...
|
||||
#define U_ALPHA (1<<17) // 1 byte, 0.0-1.0 = 0-255 (Unsent if 1)
|
||||
#define U_SCALE (1<<18) // 1 byte, scale / 16 positive, (Unsent if 1)
|
||||
#define U_EFFECTS2 (1<<19) // 1 byte, .effects & 0xFF00
|
||||
#define U_GLOWSIZE (1<<20) // 1 byte, float/8.0, signed. Unsent if 1
|
||||
#define U_GLOWCOLOR (1<<21) // 1 byte, palette index, default, 254.
|
||||
#define U_COLORMOD (1<<22) // 1 byte, rrrgggbb. Model tinting
|
||||
#define U_EXTEND2 (1<<23) // Another byte to follow
|
||||
|
||||
#define U_GLOWTRAIL (1<<24) // Leave U_GLOW* trail
|
||||
#define U_VIEWMODEL (1<<25) // Attach model to view (relative). Owner only
|
||||
#define U_FRAME2 (1<<26) // 1 byte .frame & 0xFF00 (second byte)
|
||||
#define U_GLOWTRAIL (1<<24) // Leave U_GLOW* trail
|
||||
#define U_VIEWMODEL (1<<25) // Attach model to view (relative). Owner only
|
||||
#define U_FRAME2 (1<<26) // 1 byte .frame & 0xFF00 (second byte)
|
||||
#define U_UNUSED27 (1<<27) // future expansion
|
||||
#define U_UNUSED28 (1<<28) // future expansion
|
||||
#define U_UNUSED29 (1<<29) // future expansion
|
||||
#define U_UNUSED30 (1<<30) // future expansion
|
||||
#define U_EXTEND3 (1<<31) // another byte to follow, future expansion
|
||||
|
||||
|
||||
//==============================================
|
||||
|
||||
// a sound with no channel is a local only sound
|
||||
|
|
|
@ -150,7 +150,8 @@ void R_ParticleExplosion (vec3_t org);
|
|||
void R_LavaSplash (vec3_t org);
|
||||
void R_TeleportSplash (vec3_t org);
|
||||
|
||||
void R_PushDlights (void);
|
||||
// LordHavoc: relative bmodel lighting
|
||||
void R_PushDlights (vec3_t entorigin);
|
||||
void R_InitParticles (void);
|
||||
void R_ClearParticles (void);
|
||||
void R_DrawParticles (void);
|
||||
|
|
Loading…
Reference in a new issue