From 8cd16a9a9ca605137276379361b0328af736c2cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Oct 2015 18:18:13 +0300 Subject: Add support for add images into buttons in skinned npc dialogs. --- src/resources/npcbuttoninfo.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/resources/npcbuttoninfo.h') diff --git a/src/resources/npcbuttoninfo.h b/src/resources/npcbuttoninfo.h index 19de87891..d54b7d94c 100644 --- a/src/resources/npcbuttoninfo.h +++ b/src/resources/npcbuttoninfo.h @@ -30,15 +30,21 @@ struct NpcButtonInfo final NpcButtonInfo() : name(), value(), + image(), x(0), - y(0) + y(0), + imageWidth(16), + imageHeight(16) { } std::string name; std::string value; + std::string image; int x; int y; + int imageWidth; + int imageHeight; }; #endif // RESOURCES_NPCBUTTONINFO_H -- cgit v1.2.3-60-g2f50