Several new status icons

- Remove staticonhelp.png in favour of placing this information directly in the relevant help dialog definition
- New status icons for enlightenment, magic attract, forcecage, hyperactivity, flight, detect life, firewalk, stealth (replacing the BoA-sourced ones)
- Status icons for fear, drunkenness, charm (none of which are currently implemented as PC status effects)
This commit is contained in:
2015-08-31 13:22:15 -04:00
parent 960e4cdf23
commit 47217b12b0
6 changed files with 64 additions and 8 deletions

View File

@@ -586,9 +586,6 @@ std::shared_ptr<sf::Texture> cPict::getSheet(eSheetType type, size_t n) {
case 1402:
sout << "townhelp";
break;
case 1500:
sout << "staticonhelp";
break;
default:
// TODO: The scenario should be allowed to define a sheet1100.png without it being ignored in favour of invenhelp.png
sout << "sheet" << n;
@@ -881,6 +878,11 @@ void cPict::drawStatusIcon(short num, rectangle to_rect){
to_rect.right = to_rect.left + 12;
to_rect.bottom = to_rect.top + 12;
from_rect.offset(12 * (num % 3), 12 * (num / 3));
if(getFormat(TXT_FRAME)) {
rectangle pat_rect = to_rect;
pat_rect.inset(-1,-1);
tileImage(*inWindow, pat_rect, bg[6]);
}
rect_draw_some_item(*from_gw, from_rect, *inWindow, to_rect, sf::BlendAlpha);
}

View File

@@ -191,7 +191,6 @@ default) or `large`.
* 1400 - The outdoor toolbar help frame.
* 1401 - The combat toolbar help frame.
* 1402 - The town toolbar help frame.
* 1500 - The stat icons help frame.
The `<field>` tag
-----------------