This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

32
engine/decal.h Normal file
View File

@@ -0,0 +1,32 @@
//===== Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//
//===========================================================================//
#ifndef DECAL_H
#define DECAL_H
#ifdef _WIN32
#pragma once
#endif
#include "gl_model_private.h"
#ifndef DRAW_H
#include "draw.h"
#endif
void Decal_Init( void );
void Decal_Shutdown( void );
IMaterial *Draw_DecalMaterial( int index );
int Draw_DecalIndexFromName( char *name, bool *found );
const char * Draw_DecalNameFromIndex( int index );
void Draw_DecalSetName( int decal, char *name );
void R_DecalShoot( int textureIndex, int entity, const model_t *model, const Vector &position, const Vector *saxis, int flags, const color32 &rgbaColor );
int Draw_DecalMax( void );
#endif // DECAL_H