Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from nblockbuster/dev
Browse files Browse the repository at this point in the history
TWQ support & enhancements
  • Loading branch information
nblockbuster authored Mar 13, 2022
2 parents 5e11f0b + c1acd2e commit 7d7dc66
Show file tree
Hide file tree
Showing 5 changed files with 328 additions and 150 deletions.
2 changes: 1 addition & 1 deletion D2StaticExtractor.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
9 changes: 7 additions & 2 deletions helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ void filePutContents(const std::string& name, const std::string& content);

std::string to_str(double a_value);

struct LODSplit
{
uint32_t off;
uint32_t count;
};

class Submesh
{
private:
Expand All @@ -59,6 +65,5 @@ class Submesh
std::string name;
bool isU32;
int type;
int indexCount;
int indexOffset;
std::vector<LODSplit> lodsplit;
};
Loading

0 comments on commit 7d7dc66

Please sign in to comment.