You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
//-----------------------------------------------------------------------------
|
|
//
|
|
// This file shows how to make the string tables Olivier had before from the
|
|
// standard macros.
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "rgb_pch.h"
|
|
#pragma hdrstop
|
|
include(`bead.mh')
|
|
#include "bdstr_mh.h"
|
|
|
|
define(`d_MakeTable', `
|
|
FN_NAME rgsz`'$1`'$2 =
|
|
{
|
|
d_Null(d_`'$1`'Beads(`` "XX",
|
|
'', `XX'))
|
|
};')dnl
|
|
dnl
|
|
d_MakeTable(RenderSpans, [1])
|
|
d_MakeTable(Begin, [1])
|
|
d_MakeTable(Test, [STENCIL_NUM][ZFUNC_NUM][ZDEFERRED_NUM][ZWRITE_NUM][ZFORMAT_NUM])
|
|
d_MakeTable(TestFail, [SPECULARFOG_NUM][TEXTURE_NUM][SHADEMODE_NUM])
|
|
d_MakeTable(Tex1Addr, [TEXTURELOD_NUM][TEXTUREFILTER_NUM][TEXTUREPERSPECTIVE_NUM][TEXTUREADDRESS_NUM])
|
|
d_MakeTable(Tex2Addr, [TEXTUREFILTER_NUM][TEXTUREPERSPECTIVE_NUM][TEXTUREADDRESS_NUM])
|
|
d_MakeTable(Tex1AddrMip, [1])
|
|
d_MakeTable(TexRead, [COLORKEY_NUM][TEXTUREBORDER_NUM][TEXTUREFORMAT_NUM])
|
|
d_MakeTable(TexBlend, [TEXTUREBLEND_NUM])
|
|
d_MakeTable(ColorGen, [MONO_NUM][VERTEXFOG_NUM][SPECULAR_NUM][SHADEMODE_NUM])
|
|
d_MakeTable(AlphaTest, [STENCIL_NUM][ZFORMAT_NUM][ZWRITE_NUM][COLORKEY_NUM][ALPHATEST_NUM])
|
|
d_MakeTable(ColorBlend, [ROP_NUM][BLEND_NUM])
|
|
d_MakeTable(SrcBlend, [SRCBLEND_NUM])
|
|
d_MakeTable(DestBlend, [DESTBLEND_NUM])
|
|
d_MakeTable(BufRead, [TARGETPIXELFORMAT_NUM])
|
|
d_MakeTable(BufWrite, [DITHERING_NUM][TARGETPIXELFORMAT_NUM])
|
|
d_MakeTable(PixelEnd, [1])
|
|
d_MakeTable(SpanEnd, [1])
|