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 >
Text File  |  2001-05-20  |  2KB  |  54 lines

  1. //Supported texture capabilities
  2. //Texture properties : set when loading into hardware
  3. var i32x DLC_TexCap_MipMap                = 1;        //Mipmapping 
  4. var i32x DLC_TexCap_MipMapManual        = 2;        //Manual loading of mipmap levels
  5. var i32x DLC_TexCap_MipMapNumberLimit    = 4;        //Limit of mipmap levels
  6. //Texture stage properties : set when drawing a material that uses this texture
  7. var i32x DLC_TexCap_MipMapTri            = 8;    //Linear mipmapping
  8. var i32x DLC_TexCap_MipMapBias            = 16;    //Bias of mipmap levels
  9. var i32x DLC_TexCap_Alphathreshold        = 32;    
  10. var i32x DLC_TexCap_BilinearFilter        = 64;
  11. var i32x DLC_TexCap_ChromakeyColor        = 128;    //NZ purpose
  12. var i32x DLC_TexCap_InvertColor            = 256;    //Invert color of the texture
  13. var i32x DLC_TexCap_PerspCorrection        = 512;
  14. var i32x DLC_TexCap_Wrapping            = 1024;    //Tiling of texture
  15. var i32x DLC_TexCap_ShortWrapping        = 2048;    //Use the shortest way in the texture
  16.  
  17. //Supported blending modes
  18. var i32x DLC_Blend_Mul                   = 1;    // DST = SRC * DST
  19. var i32x DLC_Blend_Add                   = 2;    // DST = SRC + DST
  20. var i32x DLC_Blend_Copy                  = 4;    // DST = SRC
  21. var i32x DLC_Blend_AlphaBlend            = 8;    // DST = Asrc * SRC + (1-Asrc)*DST
  22. var i32x DLC_Blend_AlphaPremult          = 16;    // DST = DST + Asrc*SRC
  23. var i32x DLC_Blend_Mul2X                 = 32;    // DST = (SRC*DST)+(DST*SRC)
  24. var i32x DLC_Blend_AddMinusMul2X         = 64;    // DST = DST(1-SRC) + SRC(1-DST)
  25. var i32x DLC_Blend_AddSmooth             = 128;    // DST = DST + (1-DST) * SRC
  26.  
  27. //Supported gouraud shading modes
  28. var i32x DLC_Gouraud_Decal            = 1;
  29. var i32x DLC_Gouraud_Constant        = 2;
  30. var i32x DLC_Gouraud_Diffuse        = 4;
  31. var i32x DLC_Gouraud_Alpha            = 8;
  32. var i32x DLC_Gouraud_Color            = 16;
  33.  
  34. // Supported Video Mode
  35. var i32x DLC_VidMod_640x480x16            = 1;
  36. var i32x DLC_VidMod_640x480x32            = 2;
  37. var i32x DLC_VidMod_800x600x16            = 4;
  38. var i32x DLC_VidMod_800x600x32            = 8;
  39. var i32x DLC_VidMod_1024x768x16            = 16;
  40. var i32x DLC_VidMod_1024x768x32            = 32;
  41. var i32x DLC_VidMod_1280x1024x16        = 64;
  42. var i32x DLC_VidMod_1280x1024x32        = 128;
  43. var i32x DLC_VidMod_1600x1200x16        = 256;
  44. var i32x DLC_VidMod_1600x1200x32        = 512;
  45.  
  46. // Level Of Details
  47. var i32x CyclistLOD_VeryLow    = 0;
  48. var i32x CyclistLOD_Low    = 1;
  49. var i32x CyclistLOD_Medium = 2;
  50. var i32x CyclistLOD_High = 3;
  51.  
  52. var i32x TextureLOD_Low    = 0;
  53. var i32x TextureLOD_High = 1;
  54.