Mercurial > mm7
diff UIHouses.h @ 747:585490c29945
House dialogue ids appended
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 21:50:41 +0200 |
parents | 6daaa2f18d0d |
children | f39fbeb65b28 |
line wrap: on
line diff
--- a/UIHouses.h Fri Mar 22 23:46:32 2013 +0600 +++ b/UIHouses.h Fri Mar 22 21:50:41 2013 +0200 @@ -2,23 +2,41 @@ #include "stru159.h" -enum DIALOG_MENU - { - DIALOG_SHOP_MAIN = 1, - DIALOG_SHOP_BUY_STANDART = 2, - DIALOG_SHOP_SELL = 3, - DIALOG_SHOP_IDENTIFY = 4, - DIALOG_SHOP_REPAIR = 5, - DIALOG_SHOP_REST = 15, - DIALOG_SHOP_BYE_FOOD = 16, - DIALOG_SHOP_DISPLAY_EQUIPMENT = 94, - DIALOG_SHOP_BUY_SPECIAL = 95, - DIALOG_SHOP_SKILLS = 96, - DIALOG_SHOP_ARCOMAGE_MAIN = 101, - DIALOG_SHOP_ARCOMAGE_102 = 102, - DIALOG_SHOP_ARCOMAGE_103 = 103, - DIALOG_SHOP_ARCOMAGE_RESULT = 104, - }; +enum HOUSE_DIALOGUE_MENU: unsigned __int32 +{ + HOUSE_DIALOGUE_NULL = 0, + HOUSE_DIALOGUE_MAIN = 1, + HOUSE_DIALOGUE_SHOP_BUY_STANDARD = 2, + HOUSE_DIALOGUE_SHOP_SELL = 3, + HOUSE_DIALOGUE_SHOP_IDENTIFY = 4, + HOUSE_DIALOGUE_SHOP_REPAIR = 5, + HOUSE_DIALOGUE_6 = 6, + HOUSE_DIALOGUE_7 = 7, + HOUSE_DIALOGUE_8 = 8, + HOUSE_DIALOGUE_9 = 9, + HOUSE_DIALOGUE_TEMPLE_HEAL = 10, + HOUSE_DIALOGUE_TEMPLE_DONATE = 11, + HOUSE_DIALOGUE_12 = 12, + HOUSE_DIALOGUE_13 = 13, + HOUSE_DIALOGUE_14 = 14, + HOUSE_DIALOGUE_TAVERN_REST = 15, + HOUSE_DIALOGUE_TAVERN_BUY_FOOD = 16, + HOUSE_DIALOGUE_17 = 17, + HOUSE_DIALOGUE_GULD_BUY_BOOKS = 18, + //... + HOUSE_DIALOGUE_GUILD_LEARN_SKILL = 72, + //... + HOUSE_DIALOGUE_SHOP_DISPLAY_EQUIPMENT = 94, + HOUSE_DIALOGUE_SHOP_BUY_SPECIAL = 95, + HOUSE_DIALOGUE_LEARN_SKILLS = 96, + //... + HOUSE_DIALOGUE_TAVERN_ARCOMAGE_MAIN = 101, + HOUSE_DIALOGUE_TAVERN_ARCOMAGE_102 = 102, + HOUSE_DIALOGUE_TAVERN_ARCOMAGE_103 = 103, + HOUSE_DIALOGUE_TAVERN_ARCOMAGE_RESULT = 104, + + HOUSE_DIALOGUE_OTHER = -1 +}; /* 349 */ enum HOUSE_ID @@ -83,4 +101,6 @@ extern int uHouse_ExitPic; // weak extern int dword_591080; // weak - extern const stru159 pAnimatedRooms[196]; +extern const stru159 pAnimatedRooms[196]; +extern int in_current_building_type; // 00F8B198 +extern HOUSE_DIALOGUE_MENU dialog_menu_id; // 00F8B19C \ No newline at end of file