shdlib.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. ** Command & Conquer Generals Zero Hour(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /***********************************************************************************************
  19. *** C O N F I D E N T I A L --- W E S T W O O D S T U D I O S ***
  20. ***********************************************************************************************
  21. * *
  22. * Project Name : WW3D *
  23. * *
  24. * $Archive:: /Commando/Code/wwshade/shdlib.h $*
  25. *
  26. * Org Author:: Kenny Mitchell
  27. * *
  28. * $Author:: Kenny_m
  29. *
  30. * $Modtime:: 07/01/02 9:58p $*
  31. * *
  32. * $Revision:: 1 $*
  33. * *
  34. *---------------------------------------------------------------------------------------------*
  35. * Functions: *
  36. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  37. #ifndef SHDLIB_H
  38. #define SHDLIB_H
  39. #ifdef USE_WWSHADE
  40. extern void SHD_Init();
  41. extern void SHD_Shutdown();
  42. extern void SHD_Init_Shaders();
  43. extern void SHD_Shutdown_Shaders();
  44. extern void SHD_Flush();
  45. extern void SHD_Register_Loader();
  46. #define SHD_INIT SHD_Init()
  47. #define SHD_SHUTDOWN SHD_Shutdown()
  48. #define SHD_INIT_SHADERS SHD_Init_Shaders()
  49. #define SHD_SHUTDOWN_SHADERS SHD_Shutdown_Shaders()
  50. #define SHD_FLUSH SHD_Flush()
  51. #define SHD_REG_LOADER SHD_Register_Loader()
  52. #else // USE_WWSHADE
  53. #define SHD_INIT
  54. #define SHD_SHUTDOWN
  55. #define SHD_INIT_SHADERS
  56. #define SHD_SHUTDOWN_SHADERS
  57. #define SHD_FLUSH
  58. #define SHD_REG_LOADER
  59. #endif // USE_WWSHADE
  60. #endif // SHDLIB_H