diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 313532a0..20939fe7 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 8921 +#define VERSION_BUILD 8923 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/VisualNovel.cpp b/Adventures in Lestoria/VisualNovel.cpp index 0b188da6..005613e3 100644 --- a/Adventures in Lestoria/VisualNovel.cpp +++ b/Adventures in Lestoria/VisualNovel.cpp @@ -239,14 +239,18 @@ void VisualNovel::Draw(){ std::u32string character(leftCharacters[i].begin(),leftCharacters[i].end()); Pixel fadeColor=WHITE; if(character!=actualSpeakerName)fadeColor={128,128,128,255}; - game->DrawRotatedDecal(vi2d{0,game->GetScreenSize().y}-vi2d{-i*64-36,152},GFX[GetCharacterImage(character)].Decal(),0,GFX[GetCharacterImage(character)].Sprite()->Size()/2,vf2d{72.f,168.f}/GFX[GetCharacterImage(character)].Sprite()->Size(),fadeColor); + float yScaling=168.f/GFX[GetCharacterImage(character)].Sprite()->height; + + game->DrawRotatedDecal(vi2d{0,game->GetScreenSize().y}-vi2d{-i*64-36,152},GFX[GetCharacterImage(character)].Decal(),0,GFX[GetCharacterImage(character)].Sprite()->Size()/2,vf2d{yScaling,yScaling},fadeColor); } for(int i=rightCharacters.size()-1;i>=0;i--){ //Start 72 from the bottom. std::u32string character(rightCharacters[i].begin(),rightCharacters[i].end()); Pixel fadeColor=WHITE; if(character!=actualSpeakerName)fadeColor={128,128,128,255}; - game->DrawRotatedDecal(game->GetScreenSize()-vi2d{i*64+36,152},GFX[GetCharacterImage(character)].Decal(),0,GFX[GetCharacterImage(character)].Sprite()->Size()/2,vf2d{-72.f,168.f}/GFX[GetCharacterImage(character)].Sprite()->Size(),fadeColor); + float yScaling=168.f/GFX[GetCharacterImage(character)].Sprite()->height; + + game->DrawRotatedDecal(game->GetScreenSize()-vi2d{i*64+36,152},GFX[GetCharacterImage(character)].Decal(),0,GFX[GetCharacterImage(character)].Sprite()->Size()/2,vf2d{-yScaling,yScaling},fadeColor); } if(locationDisplayTime>0){ std::u32string locationStr=std::u32string(locationDisplayText.begin(),locationDisplayText.end()); diff --git a/Adventures in Lestoria/assets/config/gfx/gfx.txt b/Adventures in Lestoria/assets/config/gfx/gfx.txt index 935947b0..9179f1b4 100644 --- a/Adventures in Lestoria/assets/config/gfx/gfx.txt +++ b/Adventures in Lestoria/assets/config/gfx/gfx.txt @@ -105,6 +105,6 @@ Images # Full Class Icons GFX_Warrior_Full = characters/commercial_assets/Player_F_NoOutline.png - GFX_Wizard_Full = wizard_full_render.png + GFX_Wizard_Full = characters/commercial_assets/Wizard_F_NoOutline.png GFX_Unknown_Full = unknown_full_render.png } \ No newline at end of file diff --git a/Adventures in Lestoria/assets/gamepack.pak b/Adventures in Lestoria/assets/gamepack.pak index a2204bc7..30830587 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 09c8729f..45745ef6 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ