Incorporate new class graphics (Sans Thief). Unlock new class buttons in character selection window. Release Build 9911.

This commit is contained in:
2024-07-07 00:34:13 -05:00
parent d0d96c83ce
commit c7fca6a694
11 changed files with 12 additions and 19 deletions
+1 -9
View File
@@ -306,15 +306,7 @@ void VisualNovel::Draw(){
}
std::string VisualNovel::GetCharacterImage(std::u32string name){
if(name==U"You"){ //Assume we are using female player avatar for now!
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 std::format("{}{}_F.png","character_image_location"_S,game->GetPlayer()->GetClassName());
}
return "character_image_location"_S+std::string(name.begin(),name.end())+".png";
}