home *** CD-ROM | disk | FTP | other *** search
/ Igromania 2005 May / Igromania_2005-05.iso / DemosThemes2 / Demo1944BattleOfTheBulge / demo1944english.exe / Inf / td3ddefs.def < prev    next >
Text File  |  2003-10-10  |  12KB  |  351 lines

  1.  
  2. #define    LIGHT_POINT          1
  3. #define    LIGHT_SPOT           2
  4. #define    LIGHT_DIRECTIONAL    3
  5.  
  6. #define CLEAR_TARGET            1
  7. #define CLEAR_ZBUFFER           2
  8. #define CLEAR_STENCIL           4
  9.  
  10.  
  11. #define    SHADE_FLAT               1
  12. #define    SHADE_GOURAUD            2
  13. #define    SHADE_PHONG              3
  14.  
  15. #define    FILL_POINT               1
  16. #define    FILL_WIREFRAME           2
  17. #define    FILL_SOLID               3
  18.  
  19. #define    BLEND_ZERO               1
  20. #define    BLEND_ONE                2
  21. #define    BLEND_SRCCOLOR           3
  22. #define    BLEND_INVSRCCOLOR        4
  23. #define    BLEND_SRCALPHA           5
  24. #define    BLEND_INVSRCALPHA        6
  25. #define    BLEND_DESTALPHA          7
  26. #define    BLEND_INVDESTALPHA       8
  27. #define    BLEND_DESTCOLOR          9
  28. #define    BLEND_INVDESTCOLOR       10
  29. #define    BLEND_SRCALPHASAT        11
  30. #define    BLEND_BOTHSRCALPHA       12
  31. #define    BLEND_BOTHINVSRCALPHA    13
  32. #define    BLEND_BLENDFACTOR        14
  33. #define    BLEND_INVBLENDFACTOR     15
  34.  
  35. #define    BLENDOP_ADD              1
  36. #define    BLENDOP_SUBTRACT         2
  37. #define    BLENDOP_REVSUBTRACT      3
  38. #define    BLENDOP_MIN              4
  39. #define    BLENDOP_MAX              5
  40.  
  41. #define    TADDRESS_WRAP            1
  42. #define    TADDRESS_MIRROR          2
  43. #define    TADDRESS_CLAMP           3
  44. #define    TADDRESS_BORDER          4
  45. #define    TADDRESS_MIRRORONCE      5
  46.  
  47. #define    CULL_NONE                1
  48. #define    CULL_CW                  2
  49. #define    CULL_CCW                 3
  50.  
  51. #define    CMP_NEVER                1
  52. #define    CMP_LESS                 2
  53. #define    CMP_EQUAL                3
  54. #define    CMP_LESSEQUAL            4
  55. #define    CMP_GREATER              5
  56. #define    CMP_NOTEQUAL             6
  57. #define    CMP_GREATEREQUAL         7
  58. #define    CMP_ALWAYS               8
  59.  
  60. #define    STENCILOP_KEEP           1
  61. #define    STENCILOP_ZERO           2
  62. #define    STENCILOP_REPLACE        3
  63. #define    STENCILOP_INCRSAT        4
  64. #define    STENCILOP_DECRSAT        5
  65. #define    STENCILOP_INVERT         6
  66. #define    STENCILOP_INCR           7
  67. #define    STENCILOP_DECR           8
  68.  
  69. #define    FOG_NONE                 0
  70. #define    FOG_EXP                  1
  71. #define    FOG_EXP2                 2
  72. #define    FOG_LINEAR               3
  73.  
  74. #define    ZB_FALSE                 0
  75. #define    ZB_TRUE                  1
  76. #define    ZB_USEW                  2
  77.  
  78. #define    PT_POINTLIST             1
  79. #define    PT_LINELIST              2
  80. #define    PT_LINESTRIP             3
  81. #define    PT_TRIANGLELIST          4
  82. #define    PT_TRIANGLESTRIP         5
  83. #define    PT_TRIANGLEFAN           6
  84.  
  85. #define    TS_TEXTURE0      16
  86. #define    TS_TEXTURE1      17
  87. #define    TS_TEXTURE2      18
  88. #define    TS_TEXTURE3      19
  89. #define    TS_TEXTURE4      20
  90. #define    TS_TEXTURE5      21
  91. #define    TS_TEXTURE6      22
  92. #define    TS_TEXTURE7      23
  93.  
  94.  
  95. #define    RS_ZENABLE                    7
  96. #define    RS_FILLMODE                   8
  97. #define    RS_SHADEMODE                  9
  98. #define    RS_ZWRITEENABLE               14
  99. #define    RS_ALPHATESTENABLE            15
  100. #define    RS_LASTPIXEL                  16
  101. #define    RS_SRCBLEND                   19
  102. #define    RS_DESTBLEND                  20
  103. #define    RS_CULLMODE                   22
  104. #define    RS_ZFUNC                      23
  105. #define    RS_ALPHAREF                   24
  106. #define    RS_ALPHAFUNC                  25
  107. #define    RS_DITHERENABLE               26
  108. #define    RS_ALPHABLENDENABLE           27
  109. #define    RS_FOGENABLE                  28
  110. #define    RS_SPECULARENABLE             29
  111. #define    RS_FOGCOLOR                   34
  112. #define    RS_FOGTABLEMODE               35
  113. #define    RS_FOGSTART                   36
  114. #define    RS_FOGEND                     37
  115. #define    RS_FOGDENSITY                 38
  116. #define    RS_RANGEFOGENABLE             48
  117. #define    RS_STENCILENABLE              52
  118. #define    RS_STENCILFAIL                53
  119. #define    RS_STENCILZFAIL               54
  120. #define    RS_STENCILPASS                55
  121. #define    RS_STENCILFUNC                56
  122. #define    RS_STENCILREF                 57
  123. #define    RS_STENCILMASK                58
  124. #define    RS_STENCILWRITEMASK           59
  125. #define    RS_TEXTUREFACTOR              60
  126. #define    RS_WRAP0                      128
  127. #define    RS_WRAP1                      129
  128. #define    RS_WRAP2                      130
  129. #define    RS_WRAP3                      131
  130. #define    RS_WRAP4                      132
  131. #define    RS_WRAP5                      133
  132. #define    RS_WRAP6                      134
  133. #define    RS_WRAP7                      135
  134. #define    RS_CLIPPING                   136
  135. #define    RS_LIGHTING                   137
  136. #define    RS_AMBIENT                    139
  137. #define    RS_FOGVERTEXMODE              140
  138. #define    RS_COLORVERTEX                141
  139. #define    RS_LOCALVIEWER                142
  140. #define    RS_NORMALIZENORMALS           143
  141. #define    RS_DIFFUSEMATERIALSOURCE      145
  142. #define    RS_SPECULARMATERIALSOURCE     146
  143. #define    RS_AMBIENTMATERIALSOURCE      147
  144. #define    RS_EMISSIVEMATERIALSOURCE     148
  145. #define    RS_VERTEXBLEND                151
  146. #define    RS_CLIPPLANEENABLE            152
  147. #define    RS_POINTSIZE                  154
  148. #define    RS_POINTSIZE_MIN              155
  149. #define    RS_POINTSPRITEENABLE          156
  150. #define    RS_POINTSCALEENABLE           157
  151. #define    RS_POINTSCALE_A               158
  152. #define    RS_POINTSCALE_B               159
  153. #define    RS_POINTSCALE_C               160
  154. #define    RS_MULTISAMPLEANTIALIAS       161
  155. #define    RS_MULTISAMPLEMASK            162
  156. #define    RS_PATCHEDGESTYLE             163
  157. #define    RS_DEBUGMONITORTOKEN          165
  158. #define    RS_POINTSIZE_MAX              166
  159. #define    RS_INDEXEDVERTEXBLENDENABLE   167
  160. #define    RS_COLORWRITEENABLE           168
  161. #define    RS_TWEENFACTOR                170
  162. #define    RS_BLENDOP                    171
  163. #define    RS_POSITIONDEGREE             172
  164. #define    RS_NORMALDEGREE               173
  165. #define    RS_SCISSORTESTENABLE          174
  166. #define    RS_SLOPESCALEDEPTHBIAS        175
  167. #define    RS_ANTIALIASEDLINEENABLE      176
  168. #define    RS_MINTESSELLATIONLEVEL       178
  169. #define    RS_MAXTESSELLATIONLEVEL       179
  170. #define    RS_ADAPTIVETESS_X             180
  171. #define    RS_ADAPTIVETESS_Y             181
  172. #define    RS_ADAPTIVETESS_Z             182
  173. #define    RS_ADAPTIVETESS_W             183
  174. #define    RS_ENABLEADAPTIVETESSELLATION  184
  175. #define    RS_TWOSIDEDSTENCILMODE        185
  176. #define    RS_CCW_STENCILFAIL            186
  177. #define    RS_CCW_STENCILZFAIL           187
  178. #define    RS_CCW_STENCILPASS            188
  179. #define    RS_CCW_STENCILFUNC            189
  180. #define    RS_COLORWRITEENABLE1          190
  181. #define    RS_COLORWRITEENABLE2          191
  182. #define    RS_COLORWRITEENABLE3          192
  183. #define    RS_BLENDFACTOR                193
  184. #define    RS_SRGBWRITEENABLE            194
  185. #define    RS_DEPTHBIAS                  195
  186. #define    RS_WRAP8                      198
  187. #define    RS_WRAP9                      199
  188. #define    RS_WRAP10                     200
  189. #define    RS_WRAP11                     201
  190. #define    RS_WRAP12                     202
  191. #define    RS_WRAP13                     203
  192. #define    RS_WRAP14                     204
  193. #define    RS_WRAP15                     205
  194. #define    RS_SEPARATEALPHABLENDENABLE   206
  195. #define    RS_SRCBLENDALPHA              207
  196. #define    RS_DESTBLENDALPHA             208
  197. #define    RS_BLENDOPALPHA               209
  198.  
  199. #define MAX_SIMULTANEOUS_RENDERTARGETS 4
  200.  
  201. #define    MCS_MATERIAL          0
  202. #define    MCS_COLOR1            1
  203. #define    MCS_COLOR2            2
  204.  
  205. #define RENDERSTATE_WRAPBIAS                 128
  206.  
  207. #define WRAP_U   1
  208. #define WRAP_V   2
  209. #define WRAP_W   4
  210.  
  211. #define WRAPCOORD_0   1
  212. #define WRAPCOORD_1   2
  213. #define WRAPCOORD_2   4
  214. #define WRAPCOORD_3   8
  215.  
  216. #define COLORWRITEENABLE_RED     1
  217. #define COLORWRITEENABLE_GREEN   2
  218. #define COLORWRITEENABLE_BLUE    4
  219. #define COLORWRITEENABLE_ALPHA   8
  220.  
  221. #define    TSS_COLOROP          1
  222. #define    TSS_COLORARG1        2
  223. #define    TSS_COLORARG2        3
  224. #define    TSS_ALPHAOP          4
  225. #define    TSS_ALPHAARG1        5
  226. #define    TSS_ALPHAARG2        6
  227. #define    TSS_BUMPENVMAT00     7
  228. #define    TSS_BUMPENVMAT01     8
  229. #define    TSS_BUMPENVMAT10     9
  230. #define    TSS_BUMPENVMAT11    10
  231. #define    TSS_TEXCOORDINDEX   11
  232. #define    TSS_BUMPENVLSCALE   22
  233. #define    TSS_BUMPENVLOFFSET  23
  234. #define    TSS_TEXTURETRANSFORMFLAGS  24
  235. #define    TSS_COLORARG0       26
  236. #define    TSS_ALPHAARG0       27
  237. #define    TSS_RESULTARG       28
  238. #define    TSS_CONSTANT        32
  239.  
  240.  
  241. #define    SAMP_ADDRESSU        1
  242. #define    SAMP_ADDRESSV        2
  243. #define    SAMP_ADDRESSW        3
  244. #define    SAMP_BORDERCOLOR     4
  245. #define    SAMP_MAGFILTER       5
  246. #define    SAMP_MINFILTER       6
  247. #define    SAMP_MIPFILTER       7
  248. #define    SAMP_MIPMAPLODBIAS   8
  249. #define    SAMP_MAXMIPLEVEL     9
  250. #define    SAMP_MAXANISOTROPY   10
  251. #define    SAMP_SRGBTEXTURE     11
  252. #define    SAMP_ELEMENTINDEX    12
  253. #define    SAMP_DMAPOFFSET      13
  254.  
  255. #define DMAPSAMPLER 256
  256.  
  257. #define VERTEXTEXTURESAMPLER0 257
  258. #define VERTEXTEXTURESAMPLER1 258
  259. #define VERTEXTEXTURESAMPLER2 259
  260. #define VERTEXTEXTURESAMPLER3 260
  261.  
  262. #define TSS_TCI_PASSTHRU                             0
  263. #define TSS_TCI_CAMERASPACENORMAL                    65536
  264. #define TSS_TCI_CAMERASPACEPOSITION                  131072
  265. #define TSS_TCI_CAMERASPACEREFLECTIONVECTOR          196608
  266. #define TSS_TCI_SPHEREMAP                            262144
  267.  
  268. #define    TOP_DISABLE              1
  269. #define    TOP_SELECTARG1           2
  270. #define    TOP_SELECTARG2           3
  271.  
  272. #define    TOP_MODULATE             4
  273. #define    TOP_MODULATE2X           5
  274. #define    TOP_MODULATE4X           6
  275.  
  276. #define    TOP_ADD                  7
  277. #define    TOP_ADDSIGNED            8
  278. #define    TOP_ADDSIGNED2X          9
  279. #define    TOP_SUBTRACT             10
  280. #define    TOP_ADDSMOOTH            11
  281.  
  282. #define    TOP_BLENDDIFFUSEALPHA    12
  283. #define    TOP_BLENDTEXTUREALPHA    13
  284. #define    TOP_BLENDFACTORALPHA     14
  285.  
  286. #define    TOP_BLENDTEXTUREALPHAPM  15
  287. #define    TOP_BLENDCURRENTALPHA    16
  288.  
  289. #define    TOP_PREMODULATE            17
  290. #define    TOP_MODULATEALPHA_ADDCOLOR 18
  291. #define    TOP_MODULATECOLOR_ADDALPHA 19
  292. #define    TOP_MODULATEINVALPHA_ADDCOLOR 20
  293. #define    TOP_MODULATEINVCOLOR_ADDALPHA 21
  294.  
  295. #define    TOP_BUMPENVMAP           22
  296. #define    TOP_BUMPENVMAPLUMINANCE  23
  297.  
  298. #define    TOP_DOTPRODUCT3          24
  299.  
  300. #define    TOP_MULTIPLYADD          25
  301. #define    TOP_LERP                 26
  302.  
  303.  
  304. #define TA_SELECTMASK        15
  305. #define TA_DIFFUSE           0
  306. #define TA_CURRENT           1
  307. #define TA_TEXTURE           2
  308. #define TA_TFACTOR           3
  309. #define TA_SPECULAR          4
  310. #define TA_TEMP              5
  311. #define TA_CONSTANT          6
  312. #define TA_COMPLEMENT        16
  313. #define TA_ALPHAREPLICATE    32
  314. #define TA_REPTILE           64
  315.  
  316. #define TA_INVDIFFUSE           16
  317. #define TA_INVCURRENT           17
  318. #define TA_INVTEXTURE           18
  319. #define TA_INVTFACTOR           19
  320. #define TA_INVSPECULAR          20
  321. #define TA_INVTEMP              21
  322. #define TA_INVCONSTANT          22
  323.  
  324. #define TA_DIFFUSEALPHA 32
  325. #define TA_CURRENTALPHA 33
  326. #define TA_TEXTUREALPHA 34
  327. #define TA_TFACTORALPHA 35
  328. #define TA_SPECULARALPHA 36
  329. #define TA_TEMPALPHA 37
  330. #define TA_CONSTANTALPHA 38
  331.  
  332. #define    TEXF_NONE            0
  333. #define    TEXF_POINT           1
  334. #define    TEXF_LINEAR          2
  335. #define    TEXF_ANISOTROPIC     3
  336. #define    TEXF_PYRAMIDALQUAD   6
  337. #define    TEXF_GAUSSIANQUAD    7
  338.  
  339.  
  340.  
  341. #define    TTFF_DISABLE         0
  342. #define    TTFF_COUNT1          1
  343. #define    TTFF_COUNT2          2
  344. #define    TTFF_COUNT3          3
  345. #define    TTFF_COUNT4          4
  346. #define    TTFF_PROJECTED       256
  347. #define    TTFF_COUNT2PROJECTED 258
  348. #define    TTFF_COUNT3PROJECTED 259
  349. #define    TTFF_COUNT4PROJECTED 260
  350.  
  351.