Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
missingtexture.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#if defined(_MSC_VER)
20#pragma once
21#endif
22
23#ifndef DX8_MISSING_TEXTURE_H
24#define DX8_MISSING_TEXTURE_H
25
26#include "always.h"
27
28struct IDirect3DTexture8;
29struct IDirect3DSurface8;
30
32{
33public:
34 static void _Init();
35 static void _Deinit();
36
37 static IDirect3DTexture8* _Get_Missing_Texture(); // Return a reference to missing texture
38 static IDirect3DSurface8* _Create_Missing_Surface(); // Create new surface which contain missing texture image
39};
40
41
42#endif // DX8_MISSING_TEXTURE
static void _Deinit()
static void _Init()
static IDirect3DSurface8 * _Create_Missing_Surface()
static IDirect3DTexture8 * _Get_Missing_Texture()