summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/stdshader_dx6.vpc
blob: 0740e07ed1eebd8c5b0db7551920ca31a661090b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
//-----------------------------------------------------------------------------
//	STDSHADER_DX6.VPC
//
//	Project Script
//-----------------------------------------------------------------------------

$Macro SRCDIR		"..\.."
$Macro OUTBINDIR	"$SRCDIR\..\game\bin"

// shader_dll_verify.cpp defines a function called _ftol3. This means that we can't
// link with the bug-fixed ftol3.obj. It also means we can't convert float-to-unsigned.
$Macro DISABLE_FTOL3_OVERRIDE "1"

$Include "$SRCDIR\vpc_scripts\source_dll_base.vpc"

$Configuration	"Debug"
{
	$General
	{
		$OutputDirectory		"Debug_dx6"			
		$IntermediateDirectory	"Debug_dx6"			
	}
}

$Configuration	"Release"
{
	$General
	{
		$OutputDirectory		"Release_dx6"		
		$IntermediateDirectory	"Release_dx6"		
	}
}

// Common Configuration
$Configuration
{
	$Compiler
	{
		$PreprocessorDefinitions		"$BASE;STDSHADER_DX6_DLL_EXPORT;FAST_MATERIALVAR_ACCESS"
		$AdditionalIncludeDirectories	"$BASE;..\..\dx9sdk\include"
	}

	$Linker
	{
		$AdditionalDependencies			"$BASE odbc32.lib odbccp32.lib"
	}
}

$Project "Stdshader_dx6"
{
	$Folder	"Source Files"
	{
		$File	"BufferClearObeyStencil_dx6.cpp"
		$File	"cable_dx6.cpp"
		$File	"cloud.cpp"
		$File	"decal.cpp"
		$File	"DecalBaseTimesLightmapAlphaBlendSelfIllum_dx6.cpp"
		$File	"decalmodulate.cpp"
		$File	"eyeball.cpp"
		$File	"eyes_dx6.cpp"
		$File	"introscreenspaceeffect_dx60.cpp"
		$File	"lightmappedgeneric_dx6.cpp"
		$File	"lightmappedtwotexture.cpp"
		$File	"modulate_dx6.cpp"
		$File	"portal_dx60.cpp"
		$File	"portalstaticoverlay_dx60.cpp"
		$File	"refract_dx60.cpp"
		$File	"rift_dx6.cpp"
		$File	"SetZ.cpp"
		$File	"shadow_dx6.cpp"
		$File	"shadowbuild_dx6.cpp"
		$File	"sky_dx6.cpp"
		$File	"sprite_dx6.cpp"
		$File	"teeth_dx6.cpp"
		$File	"unlitgeneric_dx6.cpp"
		$File	"unlittwotexture_dx6.cpp"
		$File	"vertexlitgeneric_dx6.cpp"
		$File	"viewalpha.cpp"
		$File	"volumetricfog.cpp"
		$File	"water_dx60.cpp"
		$File	"worldtwotextureblend_dx6.cpp"
		$File	"worldvertextransition_dx6.cpp"
		$File	"worldvertextransition_dx6_helper.cpp"
		$File	"writez_dx6.cpp"

		$Folder	"remove me when VAC2 is out"
		{
			$File	"$SRCDIR\tier1\checksum_crc.cpp"
			$File	"$SRCDIR\tier1\checksum_md5.cpp"
			$File	"..\shader_dll_verify.cpp"
			$File	"..\shader_dll_verify.h"
		}
	}

	$Folder	"Header Files"
	{
		$File	"worldvertextransition_dx6_helper.h"
	}

	$Folder	"Link Libraries"
	{
		$Lib mathlib
		$Lib shaderlib
	}
}