nuclide/Source/shared/decals.h
Marco Hladik 75bed53adc Client: We're now reading skyname and setting the skybox (with fallback) in CSQC. Much rejoice
Added item_suit and item_longjump... they do not do anything interesting yet.
Decals: Added glass break decals upon impact
Damage: Brush-entity radius damage should to work better now
Also seperated the weapons table from generic weapon entry functions. This should make maintaining mods easier
Fixed references from sv_clientslots to sv_playerslots. My brain gets confused between the Quake games at this point. I blame FTE
Fixed sprite animation cycle length check. It attempted to play one more frame than any sprite ever has. Needs more heavy testing?
2019-03-14 20:13:02 +01:00

69 lines
1.9 KiB
C

/***
*
* Copyright (c) 2016-2019 Marco 'eukara' Hladik. All rights reserved.
*
* See the file LICENSE attached with the sources for usage details.
*
****/
typedef struct
{
string name;
vector color;
int flags;
} decal_t;
enumflags
{
DFLAG_ADDITIVE
};
#define COLOR_REDBLOOD [114,25,7]
#define COLOR_YELLOWBLOOD [248,224,122]
decal_t g_decalwad[] =
{
{ "{bigblood1", COLOR_REDBLOOD, 0 },
{ "{bigblood2", COLOR_REDBLOOD, 0 },
{ "{bproof1", [255,255,255], DFLAG_ADDITIVE },
{ "{break1", [255,255,255], DFLAG_ADDITIVE },
{ "{break2", [255,255,255], DFLAG_ADDITIVE },
{ "{break3", [255,255,255], DFLAG_ADDITIVE },
{ "{blood1", COLOR_REDBLOOD, 0 },
{ "{blood2", COLOR_REDBLOOD, 0 },
{ "{blood3", COLOR_REDBLOOD, 0 },
{ "{blood4", COLOR_REDBLOOD, 0 },
{ "{blood5", COLOR_REDBLOOD, 0 },
{ "{blood6", COLOR_REDBLOOD, 0 },
{ "{blood7", COLOR_REDBLOOD, 0 },
{ "{blood8", COLOR_REDBLOOD, 0 },
{ "{bloodhand1", COLOR_REDBLOOD, 0 },
{ "{bloodhand2", COLOR_REDBLOOD, 0 },
{ "{bloodhand3", COLOR_REDBLOOD, 0 },
{ "{bloodhand4", COLOR_REDBLOOD, 0 },
{ "{bloodhand5", COLOR_REDBLOOD, 0 },
{ "{bloodhand6", COLOR_REDBLOOD, 0 },
{ "{hand1", COLOR_REDBLOOD, 0 },
{ "{shot1", [255,255,255], 0 },
{ "{shot2", [255,255,255], 0 },
{ "{shot3", [255,255,255], 0 },
{ "{shot4", [255,255,255], 0 },
{ "{shot5", [255,255,255], 0 },
{ "{bigshot1", [255,255,255], 0 },
{ "{bigshot2", [255,255,255], 0 },
{ "{bigshot3", [255,255,255], 0 },
{ "{bigshot4", [255,255,255], 0 },
{ "{bigshot5", [255,255,255], 0 },
{ "{bigshot6", [255,255,255], 0 },
{ "{scorch1", [255,255,255], 0 },
{ "{scorch2", [255,255,255], 0 },
{ "{scorch3", [255,255,255], 0 },
{ "{yblood1", COLOR_YELLOWBLOOD, 0 },
{ "{yblood2", COLOR_YELLOWBLOOD, 0 },
{ "{yblood3", COLOR_YELLOWBLOOD, 0 },
{ "{yblood4", COLOR_YELLOWBLOOD, 0 },
{ "{yblood5", COLOR_YELLOWBLOOD, 0 },
{ "{yblood6", COLOR_YELLOWBLOOD, 0 },
{ "{yblood7", COLOR_YELLOWBLOOD, 0 },
{ "{yblood8", COLOR_YELLOWBLOOD, 0 }
};