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.

30 lines
579 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "bsplib.h"
  7. // input:
  8. // from bsplib.h:
  9. // numleafs
  10. // dleafs
  11. void EmitDistanceToWaterInfo( void )
  12. {
  13. int leafID;
  14. for( leafID = 0; leafID < numleafs; leafID++ )
  15. {
  16. dleaf_t *pLeaf = &dleafs[leafID];
  17. if( pLeaf->leafWaterDataID == -1 )
  18. {
  19. // FIXME: set the distance to water to infinity here just in case.
  20. continue;
  21. }
  22. // Get the vis set for this leaf.
  23. }
  24. }