From 932d5c1ab98b84ac654a7ef87b28387cfc8477db Mon Sep 17 00:00:00 2001 From: r-ex <67599507+r-ex@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:17:35 +0000 Subject: [PATCH] update version to 1.9.2 --- Legion/Legion.rc | Bin 5348 -> 5348 bytes Legion/src/Assets/material.cpp | 15 ++++++++------- Legion/version.h | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Legion/Legion.rc b/Legion/Legion.rc index 9263b67c4c8b338ea7fa7c243a5f4f338b6690ae..975bbd97c783b01e7de6330781bb2949d408c373 100644 GIT binary patch delta 34 ncmaE&`9yQWBo0QS$&)z@8I3j{ #include +#include const char* s_MaterialTypes[] = { "RGDU", @@ -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; diff --git a/Legion/version.h b/Legion/version.h index 3f5063b..9aed5fd 100644 --- a/Legion/version.h +++ b/Legion/version.h @@ -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