Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. // $NoKeywords: $
  8. //=============================================================================//
  9. #ifndef GL_MODEL_H
  10. #define GL_MODEL_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. struct mnode_t;
  15. struct mleaf_t;
  16. struct mtexinfo_t;
  17. typedef struct mtexdata_s mtexdata_t;
  18. struct model_t;
  19. struct dvis_t;
  20. struct dworldlight_t;
  21. struct decallist_t;
  22. void Map_VisClear( void );
  23. void Map_VisSetup( model_t *worldmodel, int visorigincount, const Vector origins[], bool forcenovis, unsigned int &returnFlags );
  24. byte *Map_VisCurrent( void );
  25. int Map_VisCurrentCluster( void );
  26. bool Map_VisForceFullSky();
  27. // reconstruct the ambient lighting for a leaf at the given position in worldspace
  28. void Mod_LeafAmbientColorAtPos( Vector *pOut, const Vector &pos, int leafIndex );
  29. extern int DecalListCreate( decallist_t *pList );
  30. extern int r_visframecount;
  31. #include "modelloader.h"
  32. #endif // GL_MODEL_H