More color fixes for railgun

Show other players' railgun color and their firetime state.
Show snapshot client's color on world item models of railgun.
Fix the impact mark using color2 (spiral) rather than color1 (beam).
Credits go to Ensiform and Harekiet for the refire portion.
This commit is contained in:
Thilo Schulz 2011-06-28 08:28:12 +00:00
parent c52bfbd5a8
commit 53d89b6c10
5 changed files with 37 additions and 14 deletions

View file

@ -154,6 +154,8 @@ typedef struct {
vec3_t railgunImpact;
qboolean railgunFlash;
int railFireTime;
// machinegun spinning
float barrelAngle;
int barrelTime;
@ -320,6 +322,9 @@ typedef struct {
vec3_t color1;
vec3_t color2;
byte c1RGBA[4];
byte c2RGBA[4];
int score; // updated by score servercmds
int location; // location index for team mode