|
| GUIWindow_MercenaryGuild (HouseId houseId) |
|
virtual | ~GUIWindow_MercenaryGuild () |
|
virtual void | houseDialogueOptionSelected (DialogueId option) override |
| Mercenary guild in MM6. More...
|
|
virtual void | houseSpecificDialogue () override |
|
| GUIWindow_House (HouseId houseId) |
|
virtual | ~GUIWindow_House () |
|
virtual void | Update () override |
|
virtual void | Release () override |
|
HouseType | buildingType () const |
|
HouseId | houseId () const |
|
DialogueId | getCurrentDialogue () const |
|
void | setCurrentDialogue (DialogueId dialogue) |
|
void | houseDialogManager () |
|
void | houseNPCDialogue () |
|
void | initializeProprietorDialogue () |
|
void | initializeNPCDialogue (int npc) |
|
void | initializeNPCDialogueButtons (std::vector< DialogueId > optionList) |
|
void | learnSelectedSkill (CharacterSkillType skill) |
|
void | reinitDialogueWindow () |
|
bool | checkIfPlayerCanInteract () |
|
void | drawOptions (std::vector< std::string > &optionsText, Color selectColor, int topOptionShift=0, bool denseSpacing=false) const |
|
virtual void | houseDialogueOptionSelected (DialogueId option) |
|
virtual void | houseSpecificDialogue () |
|
virtual std::vector< DialogueId > | listDialogueOptions () |
|
virtual void | updateDialogueOnEscape () |
|
virtual void | houseScreenClick () |
|
virtual void | playHouseGoodbyeSpeech () |
|
| GUIWindow () |
|
| GUIWindow (WindowType windowType, Pointi position, Sizei dimensions, std::string_view hint={}) |
|
virtual | ~GUIWindow ()=default |
|
GUIButton * | CreateButton (Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, Io::InputAction action=Io::InputAction::Invalid, std::string_view label={}, const std::vector< GraphicsImage * > &textures={}) |
|
GUIButton * | CreateButton (std::string id, Pointi position, Sizei dimensions, int uButtonType, int uData, UIMessageType msg, unsigned int msg_param, Io::InputAction action=Io::InputAction::Invalid, std::string_view label={}, const std::vector< GraphicsImage * > &textures={}) |
|
bool | Contains (unsigned int x, unsigned int y) |
|
void | DrawFlashingInputCursor (int uX, int uY, GUIFont *a2) |
|
int | DrawTextInRect (GUIFont *font, Pointi position, Color color, std::string_view text, int rect_width, int reverse_text) |
|
void | DrawText (GUIFont *font, Pointi position, Color color, std::string_view text, int maxHeight=0, Color shadowColor=colorTable.Black) |
|
void | DrawTitleText (GUIFont *font, int horizontalMargin, int verticalMargin, Color color, std::string_view text, int lineSpacing) |
|
void | DrawShops_next_generation_time_string (Duration time) |
|
void | DrawMessageBox (bool inside_game_viewport) |
|
GUIButton * | GetControl (unsigned int uID) |
|
void | setKeyboardControlGroup (int buttonsCount, bool msgOnSelect, int selectStep, int initialPosition) |
|
virtual void | Update () |
|
virtual void | Release () |
|
void | DeleteButtons () |
|
void GUIWindow_MercenaryGuild::houseSpecificDialogue |
( |
| ) |
|
|
overridevirtual |
archiving this code just in case I believe it is 250 gold cost for mercenary guild from mm6 and 100 for all other skill-learning house types in mm6 but they aren't used in mm7, so I'm gonna assume 250 gold cost in price calculator
int v32 = (uint8_t)(((houseTable[window_SpeakInHouse->houseId()].uType != BuildingType_MercenaryGuild) - 1) & 0x96) + 100; int v3 = (int64_t)((double)v32 * houseTable[window_SpeakInHouse->houseId()].fPriceMultiplier); pPrice = v3 * (100 - PriceCalculator::playerMerchant(&pParty->activeCharacter())) / 100; if (pPrice < v3 / 3) pPrice = v3 / 3;
Reimplemented from GUIWindow_House.