@@ -1346,9 +1346,9 @@ function compareCustomSound(s1, s2)
1346
1346
elseif (s2.sound == "DEFAULT" and s1.sound ~= "DEFAULT") then
1347
1347
return false
1348
1348
elseif (string.sub(s1.sound, 1, 4) == "BDTP" and string.sub(s2.sound, 1, 4) ~= "BDTP") then
1349
- return false;
1349
+ return false
1350
1350
elseif (string.sub(s2.sound, 1, 4) == "BDTP" and string.sub(s1.sound, 1, 4) ~= "BDTP") then
1351
- return true;
1351
+ return true
1352
1352
end
1353
1353
return s1.sound < s2.sound
1354
1354
end
@@ -4038,7 +4038,7 @@ menu
4038
4038
}
4039
4039
label
4040
4040
{
4041
- area 70 80 264 120
4041
+ area 82 74 242 124
4042
4042
text lua "getStringFromAmbiguousSource(Popup3Button.info)"
4043
4043
text style "normal"
4044
4044
text color D
@@ -4091,22 +4091,22 @@ menu
4091
4091
modal
4092
4092
label
4093
4093
{
4094
- area 0 0 900 234
4094
+ area 0 0 406 415
4095
4095
mosaic GUIERR7
4096
4096
}
4097
4097
label
4098
4098
{
4099
- area 55 21 789 126
4099
+ area 82 74 242 88
4100
4100
text lua "getStringFromAmbiguousSource(Popup4Button.info)"
4101
- text style "label"
4101
+ text style "normal"
4102
+ text color D
4102
4103
text align center center
4103
4104
}
4104
4105
button
4105
4106
{
4106
- area 656 170 201 44
4107
- bam GUIOSTLM
4107
+ area 52 182 300 38
4108
4108
text lua "t(Popup4Button.farRightText)"
4109
- text style "button"
4109
+ text style "button"
4110
4110
action
4111
4111
"
4112
4112
Infinity_PopMenu()
@@ -4117,10 +4117,9 @@ menu
4117
4117
}
4118
4118
button
4119
4119
{
4120
- area 448 170 201 44
4121
- bam GUIOSTLM
4122
- text style "button"
4120
+ area 52 222 300 38
4123
4121
text lua "t(Popup4Button.rightText)"
4122
+ text style "button"
4124
4123
action
4125
4124
"
4126
4125
Infinity_PopMenu()
@@ -4131,10 +4130,9 @@ menu
4131
4130
}
4132
4131
button
4133
4132
{
4134
- area 242 170 201 44
4135
- bam GUIOSTLM
4136
- text style "button"
4133
+ area 52 262 300 38
4137
4134
text lua "t(Popup4Button.leftText)"
4135
+ text style "button"
4138
4136
action
4139
4137
"
4140
4138
Infinity_PopMenu()
@@ -4145,10 +4143,9 @@ menu
4145
4143
}
4146
4144
button
4147
4145
{
4148
- area 38 170 201 44
4149
- bam GUIOSTLM
4150
- text style "button"
4146
+ area 52 304 300 38
4151
4147
text lua "t(Popup4Button.farLeftText)"
4148
+ text style "button"
4152
4149
action
4153
4150
"
4154
4151
Infinity_PopMenu()
@@ -9958,11 +9955,20 @@ menu
9958
9955
text "QUIT_GAME_BUTTON"
9959
9956
action
9960
9957
"
9961
- popup3Button(16456,
9962
- 'CANCEL_BUTTON', nil,
9963
- 'MAIN_MENU_BUTTON', function() optionsScreen:QuitGame() end,
9964
- 'SAVE_BUTTON', function() optionsScreen:SaveGame(0) end
9965
- )
9958
+ if e:IsTouchUI() then
9959
+ popup3Button(16456,
9960
+ 'CANCEL_BUTTON', nil,
9961
+ 'MAIN_MENU_BUTTON', function() optionsScreen:QuitGame() end,
9962
+ 'SAVE_BUTTON', function() optionsScreen:SaveGame(0) end
9963
+ )
9964
+ else
9965
+ popup4Button(16456,
9966
+ 'CANCEL_BUTTON', nil,
9967
+ 'QUIT_BUTTON', function() Infinity_ShutdownGame() end,
9968
+ 'MAIN_MENU_BUTTON', function() optionsScreen:QuitGame() end,
9969
+ 'SAVE_BUTTON', function() optionsScreen:SaveGame(0) end
9970
+ )
9971
+ end
9966
9972
"
9967
9973
}
9968
9974
button
@@ -12564,7 +12570,7 @@ function showGroundItemDescription(slotId)
12564
12570
end
12565
12571
function setQuickLootOffset()
12566
12572
local x,y,w,h = Infinity_GetArea('messagesRect')
12567
- local offset = h + 78
12573
+ local offset = h + 66
12568
12574
Infinity_SetOffset('WORLD_QUICKLOOT', 0, -offset)
12569
12575
end
12570
12576
`
@@ -12573,7 +12579,6 @@ menu
12573
12579
enabled "showJournal == 0"
12574
12580
name 'WORLD_QUICKLOOT'
12575
12581
align center bottom
12576
- offset 0 -192
12577
12582
ignoreEsc
12578
12583
onOpen
12579
12584
"
@@ -13929,7 +13934,7 @@ menu
13929
13934
{
13930
13935
enabled "showJournal == 0"
13931
13936
name 'WORLD_MESSAGES'
13932
- offset 0 -66
13937
+ offset 0 -58
13933
13938
align center bottom
13934
13939
ignoreEsc
13935
13940
onOpen
@@ -13944,7 +13949,7 @@ menu
13944
13949
}
13945
13950
label
13946
13951
{
13947
- area 0 142 840 4
13952
+ area 0 142 840 6
13948
13953
mosaic box5B
13949
13954
}
13950
13955
button
@@ -14042,10 +14047,10 @@ end
14042
14047
function dragDialogMessagesY(newY)
14043
14048
local x,y,w,hOld = Infinity_GetArea("worldDialogBackground")
14044
14049
h = hOld - newY
14045
- if h < 210 then
14046
- newY = hOld - 210
14047
- elseif h > 700 then
14048
- newY = hOld - 700
14050
+ if h < 184 then
14051
+ newY = hOld - 184
14052
+ elseif h > 454 then
14053
+ newY = hOld - 454
14049
14054
end
14050
14055
14051
14056
adjustItemGroup({"dialogHandleY","worldDialogPortraitArea"},0,newY,0,0)
@@ -14167,8 +14172,13 @@ menu
14167
14172
label
14168
14173
{
14169
14174
name "worldDialogBackground"
14170
- area 0 0 864 350
14171
- rectangle 4
14175
+ area 0 0 840 340
14176
+ mosaic box5
14177
+ }
14178
+ label
14179
+ {
14180
+ area 0 340 840 6
14181
+ mosaic box5B
14172
14182
}
14173
14183
button
14174
14184
{
@@ -14189,13 +14199,13 @@ menu
14189
14199
label
14190
14200
{
14191
14201
name "worldDialogPortraitArea"
14192
- area 20 20 110 170
14202
+ area 12 8 110 170
14193
14203
bitmap lua "getDialogPortrait()"
14194
14204
}
14195
14205
handle
14196
14206
{
14197
14207
name "dialogHandleY"
14198
- area 0 0 864 20
14208
+ area 0 0 840 20
14199
14209
actionDrag
14200
14210
"
14201
14211
dragDialogMessagesY(motionY)
@@ -14205,7 +14215,7 @@ menu
14205
14215
{
14206
14216
name "worldPlayerDialogFake"
14207
14217
enabled "step == 1"
14208
- area 138 20 702 210
14218
+ area 130 8 698 328
14209
14219
text lua "getDialogText(2)"
14210
14220
text style "normal"
14211
14221
}
@@ -14253,7 +14263,7 @@ menu
14253
14263
}
14254
14264
}
14255
14265
name "worldPlayerDialogChoicesList"
14256
- area 138 20 702 310
14266
+ area 130 8 698 328
14257
14267
rowheight dynamic
14258
14268
hideHighlight
14259
14269
table "makeDialogTable()"
@@ -14302,7 +14312,7 @@ menu
14302
14312
name 'WORLD_DIALOG_CONFIRM'
14303
14313
align center bottom
14304
14314
ignoreEsc
14305
- offset 0 -10
14315
+ offset 0 -6
14306
14316
button
14307
14317
{
14308
14318
area 0 0 300 44
@@ -15787,6 +15797,7 @@ menu
15787
15797
cannotFurtherSpecialize = false
15788
15798
currentChargenProficiency = nil
15789
15799
currentChargenThiefSkill = nil
15800
+ levelUpInfoToggle = 0
15790
15801
ticksPassed = 0
15791
15802
ticksStarting = 0
15792
15803
Infinity_PlaySound('GAM_03')
0 commit comments