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.

33 lines
793 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MPIVRAD_H
  8. #define MPIVRAD_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #define VMPI_VRAD_PACKET_ID 1
  13. // Sub packet IDs.
  14. #define VMPI_SUBPACKETID_VIS_LEAFS 0
  15. #define VMPI_SUBPACKETID_BUILDFACELIGHTS 1
  16. #define VMPI_SUBPACKETID_PLIGHTDATA_RESULTS 2
  17. // Called first thing in the exe.
  18. void VRAD_SetupMPI( int &argc, char **&argv );
  19. void RunMPIBuildFacelights(void);
  20. void RunMPIBuildVisLeafs(void);
  21. void VMPI_DistributeLightData();
  22. // This handles disconnections. They're usually not fatal for the master.
  23. void HandleMPIDisconnect( int procID );
  24. #endif // MPIVRAD_H