diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/gl_model.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'engine/gl_model.h')
| -rw-r--r-- | engine/gl_model.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/engine/gl_model.h b/engine/gl_model.h new file mode 100644 index 0000000..3e60c0b --- /dev/null +++ b/engine/gl_model.h @@ -0,0 +1,41 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// $NoKeywords: $ +//=============================================================================// + +#ifndef GL_MODEL_H +#define GL_MODEL_H + +#ifdef _WIN32 +#pragma once +#endif + +struct mnode_t; +struct mleaf_t; +struct mtexinfo_t; +typedef struct mtexdata_s mtexdata_t; +struct model_t; + +struct dvis_t; +struct dworldlight_t; +struct decallist_t; + +void Map_VisClear( void ); +void Map_VisSetup( model_t *worldmodel, int visorigincount, const Vector origins[], bool forcenovis, unsigned int &returnFlags ); +byte *Map_VisCurrent( void ); +int Map_VisCurrentCluster( void ); +bool Map_VisForceFullSky(); +// reconstruct the ambient lighting for a leaf at the given position in worldspace +void Mod_LeafAmbientColorAtPos( Vector *pOut, const Vector &pos, int leafIndex ); + +extern int DecalListCreate( decallist_t *pList ); + +extern int r_visframecount; + +#include "modelloader.h" + +#endif // GL_MODEL_H |