Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
textureloader.cpp File Reference
#include "textureloader.h"
#include "mutex.h"
#include "thread.h"
#include "wwdebug.h"
#include "texture.h"
#include "ffactory.h"
#include "wwstring.h"
#include "bufffile.h"
#include "ww3d.h"
#include "texfcach.h"
#include "assetmgr.h"
#include "dx8wrapper.h"
#include "dx8caps.h"
#include "missingtexture.h"
#include "targa.h"
#include <D3dx8tex.h>
#include <cstdio>
#include "wwmemlog.h"
#include "formconv.h"
#include "texturethumbnail.h"
#include "ddsfile.h"
#include "bitmaphandler.h"
#include "wwprofile.h"
#include <mmsystem.h>

Go to the source code of this file.

Classes

class  LoaderThreadClass
 

Macros

#define USE_MANAGED_TEXTURES
 
#define UPDATE_NETWORK
 

Functions

IDirect3DTexture8 * Load_Compressed_Texture (const StringClass &filename, unsigned reduction_factor, MipCountType mip_level_count, WW3DFormat dest_format)
 

Macro Definition Documentation

◆ UPDATE_NETWORK

#define UPDATE_NETWORK
Value:
if (network_callback) { \
unsigned long time2 = timeGetTime(); \
if (time2 - time > 20) { \
network_callback(); \
time = time2; \
} \
} \

Definition at line 840 of file textureloader.cpp.

◆ USE_MANAGED_TEXTURES

#define USE_MANAGED_TEXTURES

Definition at line 72 of file textureloader.cpp.

Function Documentation

◆ Load_Compressed_Texture()

IDirect3DTexture8 * Load_Compressed_Texture ( const StringClass & filename,
unsigned reduction_factor,
MipCountType mip_level_count,
WW3DFormat dest_format )

Definition at line 249 of file textureloader.cpp.