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
28
struct
IDirect3DTexture8;
29
struct
IDirect3DSurface8;
30
31
class
MissingTexture
32
{
33
public
:
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
MissingTexture
Definition
missingtexture.h:32
MissingTexture::_Deinit
static void _Deinit()
Definition
missingtexture.cpp:159
MissingTexture::_Init
static void _Init()
Definition
missingtexture.cpp:60
MissingTexture::_Create_Missing_Surface
static IDirect3DSurface8 * _Create_Missing_Surface()
Definition
missingtexture.cpp:41
MissingTexture::_Get_Missing_Texture
static IDirect3DTexture8 * _Get_Missing_Texture()
Definition
missingtexture.cpp:34
Code
Libraries
Source
WWVegas
WW3D2
missingtexture.h
Generated by
1.13.2