mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 17:44:33 +00:00
Added hasWaterTable flag to ColFile
This commit is contained in:
@@ -37,6 +37,7 @@ namespace PckStudio.Classes.FileTypes
|
||||
}
|
||||
}
|
||||
|
||||
public bool hasWaterTable;
|
||||
public List<ColorEntry> entries = new List<ColorEntry>();
|
||||
public List<ExtendedColorEntry> waterEntries = new List<ExtendedColorEntry>();
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace PckStudio.Classes.IO.COL
|
||||
{
|
||||
COLFile colourFile = new COLFile();
|
||||
int has_water_colors = ReadInt(stream);
|
||||
colourFile.hasWaterTable = has_water_colors > 0;
|
||||
int color_entries = ReadInt(stream);
|
||||
for (int i = 0; i < color_entries; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user