extern XYZ viewer;
extern float fadestart;
extern float texdetail;
-extern bool decals;
+extern bool decalstoggle;
int Model::LineCheck(XYZ *p1, XYZ *p2, XYZ *p, XYZ *move, float *rotate)
{
void Model::drawdecals(Texture shadowtexture, Texture bloodtexture, Texture bloodtexture2, Texture breaktexture)
{
- if (decals) {
+ if (decalstoggle) {
if (type != decalstype)
return;
static int i;
void Model::DeleteDecal(int which)
{
- if (decals) {
+ if (decalstoggle) {
if (type != decalstype)
return;
decaltype[which] = decaltype[numdecals - 1];
void Model::MakeDecal(int atype, XYZ *where, float *size, float *opacity, float *rotation)
{
- if (decals) {
+ if (decalstoggle) {
if (type != decalstype)
return;
void Model::MakeDecal(int atype, XYZ where, float size, float opacity, float rotation)
{
- if (decals) {
+ if (decalstoggle) {
if (type != decalstype)
return;