Mercurial > mm7
comparison mm7_1.cpp @ 747:585490c29945
House dialogue ids appended
author | Nomad |
---|---|
date | Fri, 22 Mar 2013 21:50:41 +0200 |
parents | 9d13d2ec35a6 |
children | f39fbeb65b28 |
comparison
equal
deleted
inserted
replaced
746:852ec78d9548 | 747:585490c29945 |
---|---|
49 #include "stru298.h" | 49 #include "stru298.h" |
50 #include "StorylineTextTable.h" | 50 #include "StorylineTextTable.h" |
51 #include "Events2D.h" | 51 #include "Events2D.h" |
52 #include "texts.h" | 52 #include "texts.h" |
53 #include "stru351.h" | 53 #include "stru351.h" |
54 #include "UIHouses.h" | |
54 | 55 |
55 #include "mm7_data.h" | 56 #include "mm7_data.h" |
56 | 57 |
57 | 58 |
58 | 59 |
966 viewparams->bRedrawGameUI = true; | 967 viewparams->bRedrawGameUI = true; |
967 if ( uActiveCharacter != uPlayerID ) | 968 if ( uActiveCharacter != uPlayerID ) |
968 //goto LABEL_28; | 969 //goto LABEL_28; |
969 uActiveCharacter = uPlayerID; | 970 uActiveCharacter = uPlayerID; |
970 return; | 971 return; |
971 if ( dialog_menu_id == 2 || dialog_menu_id == 6 ) | 972 if (dialog_menu_id == HOUSE_DIALOGUE_SHOP_BUY_STANDARD || dialog_menu_id == HOUSE_DIALOGUE_6) |
972 { | 973 { |
974 __debugbreak(); // fix indexing | |
973 pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; | 975 pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[0] = 103; |
974 v5 = 14; | 976 v5 = 14; |
975 //goto LABEL_22; | 977 //goto LABEL_22; |
976 pGUIWindow_CurrentMenu = GameUI_InitializeCharacterWindow(v5); | 978 pGUIWindow_CurrentMenu = GameUI_InitializeCharacterWindow(v5); |
977 return; | 979 return; |