diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 20939fe7..90a14b86 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 1 #define VERSION_PATCH 0 -#define VERSION_BUILD 8923 +#define VERSION_BUILD 8925 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/VisualNovel.cpp b/Adventures in Lestoria/VisualNovel.cpp index 005613e3..39a599f5 100644 --- a/Adventures in Lestoria/VisualNovel.cpp +++ b/Adventures in Lestoria/VisualNovel.cpp @@ -102,6 +102,11 @@ void VisualNovel::Initialize(){ for(std::string&arg:arguments){ if(arg=="story_player_name"_S){ graphicsToLoad.insert("character_image_location"_S+"Player_F.png"); + graphicsToLoad.insert("character_image_location"_S+"Wizard_F.png"); + graphicsToLoad.insert("character_image_location"_S+"Ranger_F.png"); + graphicsToLoad.insert("character_image_location"_S+"Trapper_F.png"); + graphicsToLoad.insert("character_image_location"_S+"Thief_F.png"); + graphicsToLoad.insert("character_image_location"_S+"Witch_F.png"); graphicsToLoad.insert("character_image_location"_S+"Player_M.png"); }else{ graphicsToLoad.insert("character_image_location"_S+arg+".png"); @@ -301,7 +306,15 @@ void VisualNovel::Draw(){ } std::string VisualNovel::GetCharacterImage(std::u32string name){ if(name==U"You"){ //Assume we are using female player avatar for now! - return "character_image_location"_S+"Player_F.png"; + switch(game->GetPlayer()->GetClass()){ + case Class::WARRIOR:{ + return "character_image_location"_S+"Player_F.png"; + }break; + case Class::WIZARD:{ + return "character_image_location"_S+"Wizard_F.png"; + }break; + default:return "character_image_location"_S+"Player_F.png"; + } } return "character_image_location"_S+std::string(name.begin(),name.end())+".png"; } diff --git a/Adventures in Lestoria/assets/config/classes/Wizard.txt b/Adventures in Lestoria/assets/config/classes/Wizard.txt index b9e4a900..2f34beeb 100644 --- a/Adventures in Lestoria/assets/config/classes/Wizard.txt +++ b/Adventures in Lestoria/assets/config/classes/Wizard.txt @@ -10,7 +10,7 @@ Wizard # Amount of attack gained per level. AtkGrowthRate = 4 - FullRender = wizard_full_render.png + FullRender = characters/commercial_assets/Wizard_F_NoOutline.png Auto Attack { diff --git a/Adventures in Lestoria/assets/gamepack.pak b/Adventures in Lestoria/assets/gamepack.pak index 30830587..5c708f4d 100644 Binary files a/Adventures in Lestoria/assets/gamepack.pak and b/Adventures in Lestoria/assets/gamepack.pak differ diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 45745ef6..11da6de0 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ