|
|
|
|
@ -31,16 +31,10 @@ void InitMonsterHealthBar()
|
|
|
|
|
if (!*sgOptions.Gameplay.enemyHealthBar) |
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
healthBox = LoadOptionalClx("data\\healthbox.clx"); |
|
|
|
|
health = LoadOptionalClx("data\\health.clx"); |
|
|
|
|
resistance = LoadOptionalClx("data\\resistance.clx"); |
|
|
|
|
playerExpTags = LoadOptionalClx("data\\monstertags.clx"); |
|
|
|
|
|
|
|
|
|
if (!healthBox || !health || !resistance || !playerExpTags) { |
|
|
|
|
app_fatal(_("Failed to load UI resources.\n" |
|
|
|
|
"\n" |
|
|
|
|
"Make sure devilutionx.mpq is in the game folder and that it is up to date.")); |
|
|
|
|
} |
|
|
|
|
healthBox = LoadClx("data\\healthbox.clx"); |
|
|
|
|
health = LoadClx("data\\health.clx"); |
|
|
|
|
resistance = LoadClx("data\\resistance.clx"); |
|
|
|
|
playerExpTags = LoadClx("data\\monstertags.clx"); |
|
|
|
|
|
|
|
|
|
std::array<uint8_t, 256> healthBlueTrn; |
|
|
|
|
healthBlueTrn[234] = 185; |
|
|
|
|
|