Skip to content

Commit

Permalink
update version to 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
r-ex committed Jan 20, 2024
1 parent d0df9d8 commit 932d5c1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Binary file modified Legion/Legion.rc
Binary file not shown.
15 changes: 8 additions & 7 deletions Legion/src/Assets/material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <typeindex>

#include <assets/shader.h>
#include <assets/texture.h>

const char* s_MaterialTypes[] = {
"RGDU",
Expand Down Expand Up @@ -356,31 +357,31 @@ RMdlMaterial RpakLib::ExtractMaterial(const RpakLoadAsset& Asset, const string&

switch (i)
{
case 0:
case eTextureType::ALBEDO:
Result.AlbedoHash = TextureHash;
Result.AlbedoMapName = TextureName;
break;
case 1:
case eTextureType::NORMAL:
Result.NormalHash = TextureHash;
Result.NormalMapName = TextureName;
break;
case 2:
case eTextureType::GLOSS:
Result.GlossHash = TextureHash;
Result.GlossMapName = TextureName;
break;
case 3:
case eTextureType::SPECULAR:
Result.SpecularHash = TextureHash;
Result.SpecularMapName = TextureName;
break;
case 4:
case eTextureType::EMISSIVE:
Result.EmissiveHash = TextureHash;
Result.EmissiveMapName = TextureName;
break;
case 5:
case eTextureType::AO:
Result.AmbientOcclusionHash = TextureHash;
Result.AmbientOcclusionMapName = TextureName;
break;
case 6:
case eTextureType::CAVITY:
Result.CavityHash = TextureHash;
Result.CavityMapName = TextureName;
break;
Expand Down
2 changes: 1 addition & 1 deletion Legion/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#define VER_MAJOR 1
#define VER_MINOR 9
#define VER_REVISION 1
#define VER_REVISION 2
#define VER_BUILD 0

#define VER_FILE VER_MAJOR, VER_MINOR, VER_REVISION, VER_BUILD
Expand Down

0 comments on commit 932d5c1

Please sign in to comment.