Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
shdlib.h
Go to the documentation of this file.
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 /***********************************************************************************************
20 *** 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 ***
21 ***********************************************************************************************
22 * *
23 * Project Name : WW3D *
24 * *
25 * $Archive:: /Commando/Code/wwshade/shdlib.h $*
26 *
27 * Org Author:: Kenny Mitchell
28 * *
29 * $Author:: Kenny_m
30 *
31 * $Modtime:: 07/01/02 9:58p $*
32 * *
33 * $Revision:: 1 $*
34 * *
35 *---------------------------------------------------------------------------------------------*
36 * Functions: *
37 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
38
39#ifndef SHDLIB_H
40#define SHDLIB_H
41
42#ifdef USE_WWSHADE
43
44extern void SHD_Init();
45extern void SHD_Shutdown();
46extern void SHD_Init_Shaders();
47extern void SHD_Shutdown_Shaders();
48extern void SHD_Flush();
49extern void SHD_Register_Loader();
50
51#define SHD_INIT SHD_Init()
52#define SHD_SHUTDOWN SHD_Shutdown()
53#define SHD_INIT_SHADERS SHD_Init_Shaders()
54#define SHD_SHUTDOWN_SHADERS SHD_Shutdown_Shaders()
55#define SHD_FLUSH SHD_Flush()
56#define SHD_REG_LOADER SHD_Register_Loader()
57
58#else // USE_WWSHADE
59
60#define SHD_INIT
61#define SHD_SHUTDOWN
62#define SHD_INIT_SHADERS
63#define SHD_SHUTDOWN_SHADERS
64#define SHD_FLUSH
65#define SHD_REG_LOADER
66
67#endif // USE_WWSHADE
68
69
70#endif // SHDLIB_H
void SHD_Register_Loader()
Definition shdlib.cpp:70
void SHD_Init()
Definition shdlib.cpp:45
void SHD_Init_Shaders()
Definition shdlib.cpp:55
void SHD_Shutdown()
Definition shdlib.cpp:50
void SHD_Shutdown_Shaders()
Definition shdlib.cpp:60
void SHD_Flush()
Definition shdlib.cpp:65