home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 51
/
PCGamer51_17Demos.iso
/
games
/
CM
/
CyclingManagerDemoCangas.exe
/
CyclingManagerDemo
/
scripts
/
defines
/
define_dlc.cnh
< prev
next >
Wrap
Text File
|
2001-05-20
|
2KB
|
54 lines
//Supported texture capabilities
//Texture properties : set when loading into hardware
var i32x DLC_TexCap_MipMap = 1; //Mipmapping
var i32x DLC_TexCap_MipMapManual = 2; //Manual loading of mipmap levels
var i32x DLC_TexCap_MipMapNumberLimit = 4; //Limit of mipmap levels
//Texture stage properties : set when drawing a material that uses this texture
var i32x DLC_TexCap_MipMapTri = 8; //Linear mipmapping
var i32x DLC_TexCap_MipMapBias = 16; //Bias of mipmap levels
var i32x DLC_TexCap_Alphathreshold = 32;
var i32x DLC_TexCap_BilinearFilter = 64;
var i32x DLC_TexCap_ChromakeyColor = 128; //NZ purpose
var i32x DLC_TexCap_InvertColor = 256; //Invert color of the texture
var i32x DLC_TexCap_PerspCorrection = 512;
var i32x DLC_TexCap_Wrapping = 1024; //Tiling of texture
var i32x DLC_TexCap_ShortWrapping = 2048; //Use the shortest way in the texture
//Supported blending modes
var i32x DLC_Blend_Mul = 1; // DST = SRC * DST
var i32x DLC_Blend_Add = 2; // DST = SRC + DST
var i32x DLC_Blend_Copy = 4; // DST = SRC
var i32x DLC_Blend_AlphaBlend = 8; // DST = Asrc * SRC + (1-Asrc)*DST
var i32x DLC_Blend_AlphaPremult = 16; // DST = DST + Asrc*SRC
var i32x DLC_Blend_Mul2X = 32; // DST = (SRC*DST)+(DST*SRC)
var i32x DLC_Blend_AddMinusMul2X = 64; // DST = DST(1-SRC) + SRC(1-DST)
var i32x DLC_Blend_AddSmooth = 128; // DST = DST + (1-DST) * SRC
//Supported gouraud shading modes
var i32x DLC_Gouraud_Decal = 1;
var i32x DLC_Gouraud_Constant = 2;
var i32x DLC_Gouraud_Diffuse = 4;
var i32x DLC_Gouraud_Alpha = 8;
var i32x DLC_Gouraud_Color = 16;
// Supported Video Mode
var i32x DLC_VidMod_640x480x16 = 1;
var i32x DLC_VidMod_640x480x32 = 2;
var i32x DLC_VidMod_800x600x16 = 4;
var i32x DLC_VidMod_800x600x32 = 8;
var i32x DLC_VidMod_1024x768x16 = 16;
var i32x DLC_VidMod_1024x768x32 = 32;
var i32x DLC_VidMod_1280x1024x16 = 64;
var i32x DLC_VidMod_1280x1024x32 = 128;
var i32x DLC_VidMod_1600x1200x16 = 256;
var i32x DLC_VidMod_1600x1200x32 = 512;
// Level Of Details
var i32x CyclistLOD_VeryLow = 0;
var i32x CyclistLOD_Low = 1;
var i32x CyclistLOD_Medium = 2;
var i32x CyclistLOD_High = 3;
var i32x TextureLOD_Low = 0;
var i32x TextureLOD_High = 1;