comparison UI/UIHouses.cpp @ 1608:fb809d1891bd

JailDialog
author Ritor1
date Thu, 12 Sep 2013 11:55:04 +0600
parents 25f5c041f39b
children debc6edce54c
comparison
equal deleted inserted replaced
1607:d4282f59f312 1608:fb809d1891bd
4150 } 4150 }
4151 4151
4152 //----- (004B4F4F) -------------------------------------------------------- 4152 //----- (004B4F4F) --------------------------------------------------------
4153 void JailDialog() 4153 void JailDialog()
4154 { 4154 {
4155 const char *v0; // esi@1 4155 GUIWindow jail_dialogue_window; // [sp+8h] [bp-54h]@1
4156 const char *v1; // ST10_4@1 4156
4157 unsigned __int16 v2; // ST0C_2@1 4157 memcpy(&jail_dialogue_window, window_SpeakInHouse, sizeof(jail_dialogue_window));
4158 int v3; // eax@1 4158 jail_dialogue_window.uFrameX = 483;
4159 GUIWindow v5; // [sp+8h] [bp-54h]@1 4159 jail_dialogue_window.uFrameWidth = 148;
4160 4160 jail_dialogue_window.uFrameZ = 334;
4161 memcpy(&v5, window_SpeakInHouse, sizeof(v5)); 4161 jail_dialogue_window.DrawTitleText(pFontArrus, 0, (310 - pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[672], &jail_dialogue_window, 0, 0)) / 2 + 18,
4162 v0 = pGlobalTXT_LocalizationStrings[672]; 4162 TargetColor(0xFFu, 0xFFu, 0x9Bu), pGlobalTXT_LocalizationStrings[672], 3);
4163 v1 = pGlobalTXT_LocalizationStrings[672];
4164 v5.uFrameX = 483;
4165 v5.uFrameWidth = 148;
4166 v5.uFrameZ = 334;
4167 v2 = TargetColor(0xFFu, 0xFFu, 0x9Bu);
4168 v3 = pFontArrus->CalcTextHeight(v0, &v5, 0, 0);
4169 v5.DrawTitleText(pFontArrus, 0, (310 - v3) / 2 + 18, v2, v1, 3u);
4170 } 4163 }