Incorporate new class graphics (Sans Thief). Unlock new class buttons in character selection window. Release Build 9911.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user