Skip to content

Commit

Permalink
Update D3DTX_Master.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
iMrShadow committed May 26, 2024
1 parent 112ee14 commit d9a0140
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions DDS_D3DTX_Converter_GUI/DDS_D3DTX_Converter/Main/D3DTX_Master.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ public class D3DTX_Master

// D3DTX versions
// Legacy D3DTX versions
public D3DTX_LV1 d3dtxL1;
public D3DTX_LV2 d3dtxL2;
public D3DTX_LV3 d3dtxL3;
public D3DTX_LV1? d3dtxL1;
public D3DTX_LV2? d3dtxL2;
public D3DTX_LV3? d3dtxL3;

// Newer D3DTX versions. They are used from Poker Night 2 and later games.
public D3DTX_V3? d3dtx3;
public D3DTX_V4? d3dtx4;
public D3DTX_V5? d3dtx5;
public D3DTX_V7? d3dtx6; // bad practice, but i don't want to remove the variable from everywhere
public D3DTX_V6? d3dtx6;
public D3DTX_V7? d3dtx7;
public D3DTX_V8? d3dtx8;
public D3DTX_V9? d3dtx9;
Expand Down Expand Up @@ -104,7 +104,7 @@ public void Read_D3DTX_File(string filePath, D3DTXConversionType setD3DTXVersion
d3dtxConversionType = setD3DTXVersion;
// D3DTX version 6 and 8 are not fully tested, because no texture samples were found in Telltale game files
// Presumably they were used during development or existed in earlier versions of the games, but were replaced with newer versions
if (d3dtxVersion == 6 || d3dtxVersion == 8)
if (d3dtxVersion == 8)
{
Console.WriteLine(
"Warning! '{0}' version is not fully complete/tested! There may be some issues with converting.",
Expand Down

0 comments on commit d9a0140

Please sign in to comment.