- StockShaderCodeGenerator (sscg.exe) now has a silent mode
- added new ANX Logo size 120x32 - added new tools to msi installer - optimized the build system and prepared multi system build
This commit is contained in:
parent
b8290c61a4
commit
2e25fe4d6b
@ -73,8 +73,10 @@
|
||||
<Fragment>
|
||||
<ComponentGroup Id="Tools" Directory="TOOLSFOLDER">
|
||||
<Component Id='ANX.Tools' Guid='{4EC562B1-DCE2-48C8-A29A-3EC6C1F588E0}'>
|
||||
<File Id='ProjectConverter' Name='ProjectConverter.exe' DiskId='1' Source='../bin/ProjectConverter.exe' />
|
||||
<File Id='ANXStatusComparer' Name='asc.exe' DiskId='1' Source='../bin/asc.exe' />
|
||||
<File Id='ContentBuilder' Name='ContentBuilder.exe' DiskId='1' Source='../bin/ContentBuilder.exe' />
|
||||
<File Id='ProjectConverter' Name='ProjectConverter.exe' DiskId='1' Source='../bin/ProjectConverter.exe' />
|
||||
<File Id='XNBInspector' Name='XNBInspector.exe' DiskId='1' Source='../bin/XNBInspector.exe' />
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
||||
|
@ -7,7 +7,6 @@ using ANX.Framework.NonXNA;
|
||||
using ANX.Framework.NonXNA.RenderSystem;
|
||||
using SharpDX.DXGI;
|
||||
using ANX.Framework;
|
||||
using ANX.Framework.Windows.DX10;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,4 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
#endregion // Using Statements
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -13,234 +11,294 @@ namespace ANX.Framework.Windows.GL3
|
||||
#region SpriteBatchShader
|
||||
internal static byte[] SpriteBatchByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //SpriteBatchShader
|
||||
|
||||
#region AlphaTestEffectShader
|
||||
internal static byte[] AlphaTestEffectByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //AlphaTestEffectShader
|
||||
|
||||
#region BasicEffectShader
|
||||
internal static byte[] BasicEffectByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //BasicEffectShader
|
||||
|
||||
#region DualTextureEffectShader
|
||||
internal static byte[] DualTextureEffectByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //DualTextureEffectShader
|
||||
|
||||
#region EnvironmentMapEffectShader
|
||||
internal static byte[] EnvironmentMapEffectByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //EnvironmentMapEffectShader
|
||||
|
||||
#region SkinnedEffectShader
|
||||
internal static byte[] SkinnedEffectByteCode = new byte[]
|
||||
{
|
||||
187,
|
||||
004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115, 123, 115, 104, 097, 100, 101,
|
||||
114, 032, 034, 083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101,
|
||||
114, 034, 123, 117, 110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116, 114,
|
||||
105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116, 116, 114, 105, 098, 117, 116,
|
||||
101, 032, 118, 101, 099, 052, 032, 112, 111, 115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032,
|
||||
118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099,
|
||||
052, 032, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111,
|
||||
111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095,
|
||||
080, 111, 115, 105, 116, 105, 111, 110, 061, 077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115,
|
||||
102, 111, 114, 109, 042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117, 115, 101, 067, 111, 108, 111,
|
||||
114, 061, 099, 111, 108, 059, 125, 125, 125, 102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097,
|
||||
100, 101, 114, 115, 123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101, 070,
|
||||
114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 123, 117, 110, 105, 102, 111,
|
||||
114, 109, 032, 115, 097, 109, 112, 108, 101, 114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101,
|
||||
059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115,
|
||||
101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118, 101, 099, 050, 032,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100,
|
||||
032, 109, 097, 105, 110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108, 111,
|
||||
114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101, 120, 116, 117, 114, 101, 044,
|
||||
100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102,
|
||||
102, 117, 115, 101, 067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105, 113,
|
||||
117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 084, 101, 099, 104, 110, 105, 113, 117, 101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034,
|
||||
083, 112, 114, 105, 116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 102,
|
||||
114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116, 101, 070, 114, 097, 103, 109,
|
||||
101, 110, 116, 083, 104, 097, 100, 101, 114, 034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104,
|
||||
093, 184, 253, 199, 246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094, 003,
|
||||
189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172, 146, 241, 173, 160, 182, 034,
|
||||
092, 221, 158, 045, 049, 229, 144, 171, 015, 022, 089, 025, 248, 163, 175, 081
|
||||
187, 004, 118, 101, 114, 116, 101, 120, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034, 123, 117,
|
||||
110, 105, 102, 111, 114, 109, 032, 109, 097, 116, 052, 032, 077, 097, 116,
|
||||
114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109, 059, 097, 116,
|
||||
116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099, 052, 032, 112, 111,
|
||||
115, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101, 032, 118, 101, 099,
|
||||
052, 032, 099, 111, 108, 059, 097, 116, 116, 114, 105, 098, 117, 116, 101,
|
||||
032, 118, 101, 099, 050, 032, 116, 101, 120, 059, 118, 097, 114, 121, 105,
|
||||
110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103, 032, 118,
|
||||
101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120, 067,
|
||||
111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105, 110, 040,
|
||||
032, 041, 123, 103, 108, 095, 080, 111, 115, 105, 116, 105, 111, 110, 061,
|
||||
077, 097, 116, 114, 105, 120, 084, 114, 097, 110, 115, 102, 111, 114, 109,
|
||||
042, 112, 111, 115, 059, 100, 105, 102, 102, 117, 115, 101, 084, 101, 120,
|
||||
067, 111, 111, 114, 100, 061, 116, 101, 120, 059, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 061, 099, 111, 108, 059, 125, 125, 125,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 115, 104, 097, 100, 101, 114, 115,
|
||||
123, 115, 104, 097, 100, 101, 114, 032, 034, 083, 112, 114, 105, 116, 101,
|
||||
070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114, 034,
|
||||
123, 117, 110, 105, 102, 111, 114, 109, 032, 115, 097, 109, 112, 108, 101,
|
||||
114, 050, 068, 032, 084, 101, 120, 116, 117, 114, 101, 059, 118, 097, 114,
|
||||
121, 105, 110, 103, 032, 118, 101, 099, 052, 032, 100, 105, 102, 102, 117,
|
||||
115, 101, 067, 111, 108, 111, 114, 059, 118, 097, 114, 121, 105, 110, 103,
|
||||
032, 118, 101, 099, 050, 032, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 059, 118, 111, 105, 100, 032, 109, 097, 105,
|
||||
110, 040, 032, 041, 123, 103, 108, 095, 070, 114, 097, 103, 067, 111, 108,
|
||||
111, 114, 061, 116, 101, 120, 116, 117, 114, 101, 050, 068, 040, 084, 101,
|
||||
120, 116, 117, 114, 101, 044, 100, 105, 102, 102, 117, 115, 101, 084, 101,
|
||||
120, 067, 111, 111, 114, 100, 041, 042, 100, 105, 102, 102, 117, 115, 101,
|
||||
067, 111, 108, 111, 114, 059, 125, 125, 125, 116, 101, 099, 104, 110, 105,
|
||||
113, 117, 101, 115, 123, 116, 101, 099, 104, 110, 105, 113, 117, 101, 032,
|
||||
034, 083, 112, 114, 105, 116, 101, 084, 101, 099, 104, 110, 105, 113, 117,
|
||||
101, 034, 123, 118, 101, 114, 116, 101, 120, 032, 034, 083, 112, 114, 105,
|
||||
116, 101, 086, 101, 114, 116, 101, 120, 083, 104, 097, 100, 101, 114, 034,
|
||||
102, 114, 097, 103, 109, 101, 110, 116, 032, 034, 083, 112, 114, 105, 116,
|
||||
101, 070, 114, 097, 103, 109, 101, 110, 116, 083, 104, 097, 100, 101, 114,
|
||||
034, 125, 125, 085, 005, 093, 183, 066, 090, 070, 104, 093, 184, 253, 199,
|
||||
246, 081, 152, 083, 013, 048, 171, 074, 063, 021, 247, 182, 129, 011, 094,
|
||||
003, 189, 026, 178, 121, 230, 157, 193, 056, 001, 064, 136, 044, 054, 172,
|
||||
146, 241, 173, 160, 182, 034, 092, 221, 158, 045, 049, 229, 144, 171, 015,
|
||||
022, 089, 025, 248, 163, 175, 081
|
||||
};
|
||||
#endregion //SkinnedEffectShader
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -19,7 +19,7 @@ namespace ProjectConverter
|
||||
protected const string XnaPipelineExtensionTarget =
|
||||
"Microsoft.Xna.GameStudio.ContentPipelineExtensions.targets";
|
||||
|
||||
protected ProjectPath currentProject
|
||||
protected ProjectPath CurrentProject
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
@ -47,7 +47,7 @@ namespace ProjectConverter
|
||||
#region ConvertProject
|
||||
public void ConvertProject(ProjectPath project)
|
||||
{
|
||||
currentProject = project;
|
||||
CurrentProject = project;
|
||||
|
||||
string namespaceName = project.Root.Name.NamespaceName;
|
||||
XName importName = XName.Get("Import", namespaceName);
|
||||
@ -194,7 +194,7 @@ namespace ProjectConverter
|
||||
if (referencePath.EndsWith(".csproj"))
|
||||
{
|
||||
referencePath = referencePath.Replace(".csproj", "_" + Postfix + ".csproj");
|
||||
string basePath = Path.GetDirectoryName(currentProject.FullSourcePath);
|
||||
string basePath = Path.GetDirectoryName(CurrentProject.FullSourcePath);
|
||||
string fullReferencePath = Path.Combine(basePath, referencePath);
|
||||
if (File.Exists(fullReferencePath))
|
||||
{
|
||||
|
@ -156,7 +156,7 @@ namespace ProjectConverter.Platforms
|
||||
#region Convert
|
||||
protected override void PostConvert()
|
||||
{
|
||||
string namespaceName = currentProject.Root.Name.NamespaceName;
|
||||
string namespaceName = CurrentProject.Root.Name.NamespaceName;
|
||||
|
||||
AddMetroResources(namespaceName);
|
||||
|
||||
@ -177,7 +177,7 @@ namespace ProjectConverter.Platforms
|
||||
commonPropsNode.Add(new XAttribute("Condition",
|
||||
@"Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\" +
|
||||
"Microsoft.Common.props')"));
|
||||
currentProject.Root.Add(commonPropsNode);
|
||||
CurrentProject.Root.Add(commonPropsNode);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -191,7 +191,7 @@ namespace ProjectConverter.Platforms
|
||||
metroVersionElement.Add(new XAttribute("Condition",
|
||||
" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '11.0' "));
|
||||
metroVersionElement.Add(new XElement(vsVersionName, "11.0"));
|
||||
currentProject.Root.Add(metroVersionElement);
|
||||
CurrentProject.Root.Add(metroVersionElement);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -203,7 +203,7 @@ namespace ProjectConverter.Platforms
|
||||
|
||||
XName itemGroupName = XName.Get("ItemGroup", namespaceName);
|
||||
XElement newItemGroup = new XElement(itemGroupName);
|
||||
currentProject.Root.Add(newItemGroup);
|
||||
CurrentProject.Root.Add(newItemGroup);
|
||||
|
||||
XName noneName = XName.Get("None", namespaceName);
|
||||
XElement noneGroup = new XElement(noneName);
|
||||
@ -212,7 +212,7 @@ namespace ProjectConverter.Platforms
|
||||
|
||||
GenerateAppxManifest(newItemGroup);
|
||||
|
||||
MetroAssets assets = new MetroAssets(currentProject);
|
||||
MetroAssets assets = new MetroAssets(CurrentProject);
|
||||
assets.AddAssetsToProject(newItemGroup);
|
||||
}
|
||||
#endregion
|
||||
@ -220,7 +220,7 @@ namespace ProjectConverter.Platforms
|
||||
#region GenerateAppxManifest
|
||||
private void GenerateAppxManifest(XElement itemGroup)
|
||||
{
|
||||
AppxManifest manifest = new AppxManifest(currentProject);
|
||||
AppxManifest manifest = new AppxManifest(CurrentProject);
|
||||
manifest.AddNode(itemGroup);
|
||||
manifest.Save();
|
||||
}
|
||||
@ -234,7 +234,7 @@ namespace ProjectConverter.Platforms
|
||||
//string tempFilepath = Path.GetTempFileName() + ".pem";
|
||||
string tempKeyFilepath = "C:\\test.key";
|
||||
string tempFilepath = "C:\\test.pem";
|
||||
string pfxFilepath = Path.Combine(currentProject.FullSourceDirectoryPath,
|
||||
string pfxFilepath = Path.Combine(CurrentProject.FullSourceDirectoryPath,
|
||||
"Test_TemporaryKey.pfx");
|
||||
string dir = Directory.GetCurrentDirectory();
|
||||
string toolPath = Path.Combine(dir, OpenSSLToolPath);
|
||||
|
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -11,7 +12,7 @@ namespace StockShaderCodeGenerator
|
||||
{
|
||||
public static void Generate()
|
||||
{
|
||||
Console.WriteLine("generating output...");
|
||||
Program.TraceListener.WriteLine("generating output...");
|
||||
|
||||
using (StreamWriter target = new StreamWriter(Configuration.Target, false))
|
||||
{
|
||||
@ -68,7 +69,7 @@ namespace StockShaderCodeGenerator
|
||||
target.WriteLine("}");
|
||||
}
|
||||
|
||||
Console.WriteLine("finished generating output...");
|
||||
Program.TraceListener.WriteLine("finished generating output...");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ using ANX.RenderSystem.Windows.DX10;
|
||||
using ANX.RenderSystem.Windows.DX11;
|
||||
using ANX.RenderSystem.Windows.GL3;
|
||||
using DX11MetroShaderGenerator;
|
||||
using System.Diagnostics;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -19,37 +20,37 @@ namespace StockShaderCodeGenerator
|
||||
#region GenerateShaders
|
||||
public static bool GenerateShaders()
|
||||
{
|
||||
Console.WriteLine("generating shaders...");
|
||||
Program.TraceListener.WriteLine("generating shaders...");
|
||||
|
||||
for (int i = 0; i < Configuration.Shaders.Count; i++)
|
||||
{
|
||||
Shader s = Configuration.Shaders[i];
|
||||
|
||||
Console.WriteLine("-> loading shader for type '{0}' (file: '{1}')", s.Type, s.Source);
|
||||
Program.TraceListener.WriteLine(String.Format("-> loading shader for type '{0}' (file: '{1}')", s.Type, s.Source));
|
||||
String source = String.Empty;
|
||||
if (File.Exists(s.Source))
|
||||
{
|
||||
source = File.ReadAllText(s.Source);
|
||||
}
|
||||
|
||||
Console.Write("--> compiling shader... ");
|
||||
Program.TraceListener.Write("--> compiling shader... ");
|
||||
try
|
||||
{
|
||||
s.ByteCode = CompileShader(s.RenderSystem, source, Path.GetDirectoryName(s.Source));
|
||||
Console.WriteLine("{0} bytes compiled size", s.ByteCode.Length);
|
||||
Program.TraceListener.WriteLine(String.Format("{0} bytes compiled size", s.ByteCode.Length));
|
||||
s.ShaderCompiled = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
s.ShaderCompiled = false;
|
||||
Console.WriteLine("--> error occured while compiling shader: {0}", ex.Message);
|
||||
Program.TraceListener.WriteLine("--> error occured while compiling shader: {0}", ex.Message);
|
||||
return false;
|
||||
}
|
||||
|
||||
Configuration.Shaders[i] = s;
|
||||
}
|
||||
|
||||
Console.WriteLine("finished generating shaders...");
|
||||
Program.TraceListener.WriteLine("finished generating shaders...");
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Xml.Linq;
|
||||
using System.Diagnostics;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -28,14 +29,14 @@ namespace StockShaderCodeGenerator
|
||||
|
||||
if (File.Exists(file) == false)
|
||||
{
|
||||
Console.WriteLine("Could not find build file...");
|
||||
Program.TraceListener.WriteLine("Could not find build file...");
|
||||
return;
|
||||
}
|
||||
|
||||
XDocument doc = XDocument.Load(buildFileName);
|
||||
if (doc.Root.Name.LocalName != "Build")
|
||||
{
|
||||
Console.WriteLine("Failed to load configuration because the build file has no Build-Node as the root element!");
|
||||
Program.TraceListener.WriteLine("Failed to load configuration because the build file has no Build-Node as the root element!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
@ -45,19 +46,19 @@ namespace StockShaderCodeGenerator
|
||||
licenseFile = doc.Root.Attribute("License").Value;
|
||||
if (File.Exists(licenseFile))
|
||||
{
|
||||
Console.WriteLine("using license file '{0}' to include", licenseFile);
|
||||
Program.TraceListener.WriteLine("using license file '{0}' to include", licenseFile);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("license file '{0}' does not exist", licenseFile);
|
||||
Program.TraceListener.WriteLine("license file '{0}' does not exist", licenseFile);
|
||||
return;
|
||||
}
|
||||
|
||||
target = doc.Root.Attribute("Target").Value;
|
||||
Console.WriteLine("writing output to '{0}'", target);
|
||||
Program.TraceListener.WriteLine("writing output to '{0}'", target);
|
||||
|
||||
outputNamespace = doc.Root.Attribute("Namespace").Value;
|
||||
Console.WriteLine("using namespace '{0}'", outputNamespace);
|
||||
Program.TraceListener.WriteLine("using namespace '{0}'", outputNamespace);
|
||||
}
|
||||
|
||||
if (doc.Root.HasElements)
|
||||
@ -78,7 +79,7 @@ namespace StockShaderCodeGenerator
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("no shader tags found in configuration file...");
|
||||
Program.TraceListener.WriteLine("no shader tags found in configuration file...");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
44
Tools/StockShaderCodeGenerator/ConsoleTraceListener.cs
Normal file
44
Tools/StockShaderCodeGenerator/ConsoleTraceListener.cs
Normal file
@ -0,0 +1,44 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
#endregion
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
// For details see: http://anxframework.codeplex.com/license
|
||||
|
||||
namespace StockShaderCodeGenerator
|
||||
{
|
||||
class ConsoleTraceListener
|
||||
{
|
||||
public static bool Silence = false;
|
||||
|
||||
public void Write(string message)
|
||||
{
|
||||
if (!Silence)
|
||||
{
|
||||
Console.Write(message);
|
||||
}
|
||||
}
|
||||
|
||||
public void WriteLine(string message)
|
||||
{
|
||||
if (!Silence)
|
||||
{
|
||||
Console.WriteLine(message);
|
||||
}
|
||||
}
|
||||
|
||||
public void WriteLine(string formatMessage, params object[] parameters)
|
||||
{
|
||||
if (!Silence)
|
||||
{
|
||||
Console.WriteLine(formatMessage, parameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
#region Private Members
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Diagnostics;
|
||||
|
||||
#endregion // Private Members
|
||||
|
||||
@ -12,24 +13,33 @@ namespace StockShaderCodeGenerator
|
||||
{
|
||||
class Program
|
||||
{
|
||||
internal static ConsoleTraceListener TraceListener = new ConsoleTraceListener();
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("ANX.Framework StockShaderCodeGenerator (sscg) Version " + Assembly.GetExecutingAssembly().GetName().Version);
|
||||
foreach (string arg in args)
|
||||
{
|
||||
if (String.Equals(arg, "/silent", StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
ConsoleTraceListener.Silence = true;
|
||||
}
|
||||
}
|
||||
|
||||
Program.TraceListener.WriteLine("ANX.Framework StockShaderCodeGenerator (sscg) Version " + Assembly.GetExecutingAssembly().GetName().Version);
|
||||
|
||||
string buildFile;
|
||||
|
||||
if (args.Length < 1)
|
||||
{
|
||||
Console.WriteLine("No command line arguments provided. Trying to load build.xml from current directory.");
|
||||
|
||||
buildFile = "build.xml";
|
||||
Program.TraceListener.WriteLine("No command line arguments provided. Trying to load build.xml from current directory.");
|
||||
buildFile = "build.xml";
|
||||
}
|
||||
else
|
||||
{
|
||||
buildFile = args[0];
|
||||
}
|
||||
|
||||
Console.WriteLine("Creating configuration using '{0}' configuration file.", buildFile);
|
||||
Program.TraceListener.WriteLine("Creating configuration using '{0}' configuration file.", buildFile);
|
||||
|
||||
Configuration.LoadConfiguration(buildFile);
|
||||
|
||||
@ -41,14 +51,9 @@ namespace StockShaderCodeGenerator
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("error while compiling shaders. Code generation skipped...");
|
||||
Program.TraceListener.WriteLine("error while compiling shaders. Code generation skipped...");
|
||||
}
|
||||
}
|
||||
|
||||
//#if DEBUG
|
||||
// Console.WriteLine("Press enter to exit.");
|
||||
// Console.ReadLine();
|
||||
//#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.8.4.*")]
|
||||
[assembly: AssemblyFileVersion("0.8.4.0")]
|
||||
[assembly: AssemblyVersion("0.8.7.*")]
|
||||
[assembly: AssemblyFileVersion("0.8.7.0")]
|
||||
|
@ -65,6 +65,7 @@
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Shader.cs" />
|
||||
<Compile Include="ConsoleTraceListener.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\ANX.Framework\ANX.Framework.csproj">
|
||||
|
@ -9,61 +9,15 @@
|
||||
<property name="project.anx.build_env" value="VS2010" />
|
||||
<property name="project.anx.win8" value="false" />
|
||||
|
||||
<property name="project.anx.psvita" value="false" />
|
||||
<property name="project.anx.metro" value="false" />
|
||||
|
||||
<property name="project.anx.extended" value="false" unless="${property::exists('project.anx.extended')}" />
|
||||
<property name="project.anx.directives" value="" unless="${property::exists('project.anx.directives')}" />
|
||||
|
||||
<property name="project.anx.path.inputsystem.standard" value="../InputSystems/ANX.InputSystem.Standard" />
|
||||
<property name="project.anx.name.inputsystem.standard" value="ANX.InputSystem.Standard" />
|
||||
<property name="project.anx.path.inputsystem.recording" value="../InputSystems/ANX.InputSystem.Recording" />
|
||||
<property name="project.anx.name.inputsystem.recording" value="ANX.InputSystem.Recording" />
|
||||
|
||||
<property name="project.anx.path.inputdevices.xinput" value="../InputSystems/ANX.InputDevices.Windows.XInput" />
|
||||
<property name="project.anx.name.inputdevices.xinput" value="ANX.InputDevices.Windows.XInput" />
|
||||
<property name="project.anx.path.inputdevices.kinect" value="../InputSystems/ANX.InputDevices.Windows.Kinect" />
|
||||
<property name="project.anx.name.inputdevices.kinect" value="ANX.InputDevices.Windows.Kinect" />
|
||||
<property name="project.anx.path.inputdevices.opentk" value="../InputSystems/ANX.InputDevices.OpenTK" />
|
||||
<property name="project.anx.name.inputdevices.opentk" value="ANX.InputDevices.OpenTK" />
|
||||
|
||||
<property name="project.anx.path.soundsystem.xaudio" value="../SoundSystems/ANX.SoundSystem.Windows.XAudio" />
|
||||
<property name="project.anx.name.soundsystem.xaudio" value="ANX.SoundSystem.Windows.XAudio" />
|
||||
<property name="project.anx.path.soundsystem.openal" value="../SoundSystems/ANX.SoundSystem.OpenAL" />
|
||||
<property name="project.anx.name.soundsystem.openal" value="ANX.SoundSystem.OpenAL" />
|
||||
|
||||
<property name="project.anx.path.rendersystem.dx10" value="../RenderSystems/ANX.Framework.Windows.DX10" />
|
||||
<property name="project.anx.name.rendersystem.dx10" value="ANX.RenderSystem.Windows.DX10" />
|
||||
<property name="project.anx.path.rendersystem.dx11" value="../RenderSystems/ANX.RenderSystem.Windows.DX11" />
|
||||
<property name="project.anx.name.rendersystem.dx11" value="ANX.RenderSystem.Windows.DX11" />
|
||||
<property name="project.anx.path.rendersystem.metro" value="../RenderSystems/ANX.RenderSystem.Windows.Metro" />
|
||||
<property name="project.anx.name.rendersystem.metro" value="ANX.RenderSystem.Windows.Metro" />
|
||||
<property name="project.anx.path.rendersystem.gl3" value="../RenderSystems/ANX.Framework.Windows.GL3" />
|
||||
<property name="project.anx.name.rendersystem.gl3" value="ANX.RenderSystem.Windows.GL3" />
|
||||
|
||||
<property name="project.anx.path.mediasystem.openal" value="../MediaSystems/ANX.MediaSystem.Windows.OpenAL" />
|
||||
<property name="project.anx.name.mediasystem.openal" value="ANX.MediaSystem.Windows.OpenAL" />
|
||||
|
||||
<property name="project.anx.path.platformsystem.linux" value="../PlatformSystems/ANX.PlatformSystem.Linux" />
|
||||
<property name="project.anx.name.platformsystem.linux" value="ANX.PlatformSystem.Linux" />
|
||||
|
||||
<property name="project.anx.path.platformsystem.metro" value="../PlatformSystems/ANX.PlatformSystem.metro" />
|
||||
<property name="project.anx.name.platformsystem.metro" value="ANX.PlatformSystem.metro" />
|
||||
|
||||
<property name="project.anx.path.platformsystem.windows" value="../PlatformSystems/ANX.PlatformSystem.windows" />
|
||||
<property name="project.anx.name.platformsystem.windows" value="ANX.PlatformSystem.windows" />
|
||||
|
||||
<property name="project.anxcontent.path" value="../ANX.Framework.ContentPipeline" />
|
||||
<property name="project.anxcontent.name" value="ANX.Framework.ContentPipeline" />
|
||||
|
||||
<property name="project.anx.tools.path.ANXStatusComparer" value="../Tools/ANXStatusComparer" />
|
||||
<property name="project.anx.tools.name.ANXStatusComparer" value="ANXStatusComparer" />
|
||||
<property name="project.anx.tools.path.StockShaderCodeGenerator" value="../Tools/StockShaderCodeGenerator" />
|
||||
<property name="project.anx.tools.name.StockShaderCodeGenerator" value="StockShaderCodeGenerator" />
|
||||
<property name="project.anx.tools.path.ProjectConverter" value="../Tools/ProjectConverter" />
|
||||
<property name="project.anx.tools.name.ProjectConverter" value="ProjectConverter" />
|
||||
<property name="project.anx.tools.path.ContentBuilder" value="../Tools/ContentBuilder" />
|
||||
<property name="project.anx.tools.name.ContentBuilder" value="ContentBuilder" />
|
||||
<property name="project.anx.tools.path.XNBInspector" value="../Tools/XNBInspector" />
|
||||
<property name="project.anx.tools.name.XNBInspector" value="XNBInspector" />
|
||||
|
||||
<target name="clean" description="Cleans all targets.">
|
||||
<delete>
|
||||
<fileset>
|
||||
@ -111,23 +65,22 @@
|
||||
|
||||
<echo message="Compiler directives: ${project.anx.directives}" />
|
||||
|
||||
<call target="build_tools" />
|
||||
|
||||
<call target="tools" />
|
||||
|
||||
<call target="generate_stock_shaders" />
|
||||
|
||||
<call target="build_anx" />
|
||||
<call target="build_anx_inputsystems" />
|
||||
<call target="build_anx_soundsystems" />
|
||||
<call target="build_anx_rendersystems" />
|
||||
<call target="build_anx_mediasystems" />
|
||||
<call target="build_anx_platformsystems" />
|
||||
<call target="build_anx_content_pipeline" />
|
||||
<call target="anx" />
|
||||
<call target="content_pipeline" />
|
||||
|
||||
<call target="inputsystem" />
|
||||
<call target="soundsystem" />
|
||||
<call target="rendersystem" />
|
||||
<call target="mediasystem" />
|
||||
<call target="platformsystem" />
|
||||
</target>
|
||||
|
||||
<target name="build_anx" description="Build ANX.Framework core">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework core assembly" />
|
||||
<echo message="===================================================" />
|
||||
<target name="anx" description="Build ANX.Framework core">
|
||||
<echo message="building: ANX.Framework" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
@ -138,82 +91,184 @@
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${project.anx.path}/${project.anx.name}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_anx_rendersystems" description="Build ANX.Framework RenderSystems">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework RenderSystem DirectX10" />
|
||||
<echo message="===================================================" />
|
||||
<target name="rendersystem" description="Build ANX.Framework InputSystems">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../RenderSystems/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/*PSVita*.csproj" unless="${project.anx.psvita}" />
|
||||
<exclude name="**/*Metro*.csproj" unless="${project.anx.metro}" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.rendersystem.dx10}/${project.anx.name.rendersystem.dx10}.csproj" />
|
||||
</exec>
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework RenderSystem DirectX11" />
|
||||
<echo message="===================================================" />
|
||||
<target name="inputsystem" description="Build ANX.Framework InputSystems">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../InputSystems/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/*PSVita*.csproj" unless="${project.anx.psvita}" />
|
||||
<exclude name="**/*Metro*.csproj" unless="${project.anx.metro}" />
|
||||
<exclude name="**/*Kinect*.csproj" unless="${project.anx.extended}" />
|
||||
<exclude name="**/ANX.InputDevices.Test*.csproj" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.rendersystem.dx11}/${project.anx.name.rendersystem.dx11}.csproj" />
|
||||
</exec>
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<if test="${project.anx.win8}">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework RenderSystem Metro" />
|
||||
<echo message="===================================================" />
|
||||
<target name="soundsystem" description="Build ANX.Framework SoundSystems">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../SoundSystems/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/*PSVita*.csproj" unless="${project.anx.psvita}" />
|
||||
<exclude name="**/*Metro*.csproj" unless="${project.anx.metro}" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.rendersystem.metro}/${project.anx.name.rendersystem.metro}.csproj" />
|
||||
</exec>
|
||||
</if>
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework RenderSystem OpenGL3" />
|
||||
<echo message="===================================================" />
|
||||
<target name="mediasystem" description="Build ANX.Framework MediaSystems">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../MediaSystems/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/*PSVita*.csproj" unless="${project.anx.psvita}" />
|
||||
<exclude name="**/*Metro*.csproj" unless="${project.anx.metro}" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.rendersystem.gl3}/${project.anx.name.rendersystem.gl3}.csproj" />
|
||||
</exec>
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<target name="platformsystem" description="Build ANX.Framework PlatformSystems">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../PlatformSystems/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/*PSVita*.csproj" unless="${project.anx.psvita}" />
|
||||
<exclude name="**/*Metro*.csproj" unless="${project.anx.metro}" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<target name="tools" description="Build ANX.Framework tools" unless="${target::has-executed('tools')}">
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
<items basedir="../Tools/">
|
||||
<include name="**/*.csproj" />
|
||||
<exclude name="**/HLSLParser*.csproj" />
|
||||
<exclude name="**/DX11MetroShaderGenerator.csproj" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="building: ${path::get-file-name-without-extension(projectFile)}" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${projectFile}" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="build_anx_content_pipeline" description="Build ANX.Framework ContentPipeline extensions">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework ContentPipeline extensions" />
|
||||
<echo message="===================================================" />
|
||||
<target name="content_pipeline" description="Build ANX.Framework ContentPipeline extensions">
|
||||
<echo message="building: Content.Pipeline.Extensions" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
@ -224,296 +279,28 @@
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="/nologo" />
|
||||
<arg value="${project.anxcontent.path}/${project.anxcontent.name}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_anx_inputsystems" description="Build ANX.Framework InputSystems">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework InputSystem Standard" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.inputsystem.standard}/${project.anx.name.inputsystem.standard}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework InputSystem Recording" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.inputsystem.recording}/${project.anx.name.inputsystem.recording}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework InputDevices XInput" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.inputdevices.xinput}/${project.anx.name.inputdevices.xinput}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework InputDevices OpenTK" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.inputdevices.opentk}/${project.anx.name.inputdevices.opentk}.csproj" />
|
||||
</exec>
|
||||
|
||||
<if test="${project.anx.extended}">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework InputDevices Kinect" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.inputdevices.kinect}/${project.anx.name.inputdevices.kinect}.csproj" />
|
||||
</exec>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
<target name="build_anx_soundsystems" description="Build ANX.Framework SoundSystems">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework SoundSystem XAudio" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.soundsystem.xaudio}/${project.anx.name.soundsystem.xaudio}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework SoundSystem OpenAL" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.soundsystem.openal}/${project.anx.name.soundsystem.openal}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_anx_mediasystems" description="Build ANX.Framework MediaSystems">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework MediaSystem OpenAL" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.mediasystem.openal}/${project.anx.name.mediasystem.openal}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_anx_platformsystems" description="Build ANX.Framework PlatformSystems">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework PlatformSystem Linux" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.platformsystem.linux}/${project.anx.name.platformsystem.linux}.csproj" />
|
||||
</exec>
|
||||
|
||||
<if test="${project.anx.win8}">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework PlatformSystem Metro" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.platformsystem.metro}/${project.anx.name.platformsystem.metro}.csproj" />
|
||||
</exec>
|
||||
</if>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANX.Framework PlatformSystem Windows" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=${build.configuration}"/>
|
||||
<arg value='/p:Platform="${build.platform}"'/>
|
||||
<arg value="/p:OutputPath=../${build.dir}/${build.configuration}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value='/p:DefineConstants="${project.anx.directives}"' />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.path.platformsystem.windows}/${project.anx.name.platformsystem.windows}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_tools" description="Build ANX.Framework tools">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ANXStatusComparer tool (asc.exe)" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=Release"/>
|
||||
<arg value='/p:Platform="Any CPU"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.tools.path.ANXStatusComparer}/${project.anx.tools.name.ANXStatusComparer}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ProjectConverter tool (ProjectConverter.exe)" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=Release"/>
|
||||
<arg value='/p:Platform="Any CPU"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.tools.path.ProjectConverter}/${project.anx.tools.name.ProjectConverter}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: StockShaderCodeGenerator tool (sscg.exe)" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=Release"/>
|
||||
<arg value='/p:Platform="Any CPU"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.tools.path.StockShaderCodeGenerator}/${project.anx.tools.name.StockShaderCodeGenerator}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: ContentBuilder tool" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=Release"/>
|
||||
<arg value='/p:Platform="Any CPU"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.tools.path.ContentBuilder}/${project.anx.tools.name.ContentBuilder}.csproj" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now building: XNB Inspector" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="msbuild.exe" >
|
||||
<arg value="/t:Build"/>
|
||||
<arg value="/p:Configuration=Release"/>
|
||||
<arg value='/p:Platform="Any CPU"'/>
|
||||
<arg value="/p:OutputPath=${build.dir}" />
|
||||
<arg value="/p:SolutionDir=${build.solution_dir}" />
|
||||
<arg value="/p:AllowUnsafeBlocks=true" />
|
||||
<arg value="/clp:ErrorsOnly" />
|
||||
<arg value="${project.anx.tools.path.XNBInspector}/${project.anx.tools.name.XNBInspector}.csproj" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="build_stock_shaders" description="Build the stock shaders for the render systems.">
|
||||
<call target="build_tools" />
|
||||
<call target="generate_stock_shaders" />
|
||||
</target>
|
||||
|
||||
<target name="generate_stock_shaders" description="Generate code for stock shaders">
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now generating code for DirectX 10 stock shaders" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="../bin/sscg.exe" >
|
||||
<arg value="../shader/DX10/build.xml" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now generating code for DirectX 11 stock shaders" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="../bin/sscg.exe" >
|
||||
<arg value="../shader/DX11/build.xml" />
|
||||
</exec>
|
||||
|
||||
<echo message="===================================================" />
|
||||
<echo message="Now generating code for OpenGL 3 stock shaders" />
|
||||
<echo message="===================================================" />
|
||||
|
||||
<exec program="../bin/sscg.exe" >
|
||||
<arg value="../shader/GL3/build.xml" />
|
||||
</exec>
|
||||
<target name="generate_stock_shaders" description="Generate code for stock shaders" depends="tools">
|
||||
<foreach item="File" property="buildFile">
|
||||
<in>
|
||||
<items basedir="../shader/">
|
||||
<include name="**/build.xml" />
|
||||
<exclude name="**/*Metro*/build.xml" unless="${project.anx.metro}" />
|
||||
</items>
|
||||
</in>
|
||||
<do>
|
||||
<echo message="generating: ${path::get-file-name(path::get-directory-name(buildFile))}" />
|
||||
|
||||
<exec program="../bin/sscg.exe" >
|
||||
<arg value="${buildFile}" />
|
||||
<arg value="/silent" />
|
||||
</exec>
|
||||
</do>
|
||||
</foreach>
|
||||
</target>
|
||||
|
||||
<target name="create_packages" description="generates all type of packages">
|
||||
|
BIN
media/ANX.Framework.Logo_120x32.png
Normal file
BIN
media/ANX.Framework.Logo_120x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Loading…
x
Reference in New Issue
Block a user