Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
texture.cpp File Reference
#include "texture.h"
#include <d3d8.h>
#include <stdio.h>
#include <D3dx8core.h>
#include "dx8wrapper.h"
#include "targa.h"
#include <nstrdup.h>
#include "w3d_file.h"
#include "assetmgr.h"
#include "formconv.h"
#include "textureloader.h"
#include "missingtexture.h"
#include "ffactory.h"
#include "dx8caps.h"
#include "dx8texman.h"
#include "meshmatdesc.h"
#include "texturethumbnail.h"
#include "wwprofile.h"

Go to the source code of this file.

Functions

TextureClassLoad_Texture (ChunkLoadClass &cload)
 
void setup_texture_attributes (TextureClass *tex, W3dTextureInfoStruct *texinfo)
 
void Save_Texture (TextureClass *texture, ChunkSaveClass &csave)
 

Variables

const unsigned DEFAULT_INACTIVATION_TIME =20000
 
const unsigned MAX_TEXTURES_APPLIED_PER_FRAME =2
 

Function Documentation

◆ Load_Texture()

TextureClass * Load_Texture ( ChunkLoadClass & cload)

Definition at line 1051 of file texture.cpp.

◆ Save_Texture()

void Save_Texture ( TextureClass * texture,
ChunkSaveClass & csave )

Definition at line 1184 of file texture.cpp.

◆ setup_texture_attributes()

void setup_texture_attributes ( TextureClass * tex,
W3dTextureInfoStruct * texinfo )

Definition at line 1174 of file texture.cpp.

Variable Documentation

◆ DEFAULT_INACTIVATION_TIME

const unsigned DEFAULT_INACTIVATION_TIME =20000

Definition at line 65 of file texture.cpp.

◆ MAX_TEXTURES_APPLIED_PER_FRAME

const unsigned MAX_TEXTURES_APPLIED_PER_FRAME =2

Definition at line 75 of file texture.cpp.