Skip to content

Commit b8de1a1

Browse files
committed
v4.6
1 parent 6cb69c0 commit b8de1a1

File tree

12 files changed

+54
-43
lines changed

12 files changed

+54
-43
lines changed

LeUI/LeUI.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Readme = https://github.com/r-e-d/LeUI/blob/master/README.md
77
Forum = https://www.gibberlings3.net/forums/topic/30827-ui-lefreuts-enhanced-ui-bgee-sod-bg2ee-and-eet
88
Download = https://github.com/r-e-d/LeUI
99
Type = Overwrite
10-
Before = EEUITweaks, TomeAndBlood, DeitiesOfFaerun, faiths_and_powers, might_and_guile, shadowadept, stratagems
10+
Before = EEUITweaks, TomeAndBlood, DeitiesOfFaerun, faiths_and_powers, might_and_guile, shadowadept, stratagems, HiddenGameplayOptions

LeUI/LeUI.tp2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BACKUP ~LeUI/backup~
22
AUTHOR ~lefreut~
3-
VERSION ~4.5~
3+
VERSION ~4.6~
44
LANGUAGE
55
~English~ ~en_US~ ~LeUI/lang/en_US/setup.tra~
66

LeUI/copy/BIGLOGO.BAM

-40 Bytes
Binary file not shown.

LeUI/copy/GUIERR7.MOS

52 Bytes
Binary file not shown.

LeUI/copy/MOS4014.PVRZ

12.9 KB
Binary file not shown.

LeUI/copy/MOS4290.PVRZ

3.86 KB
Binary file not shown.

LeUI/copy/MOS4291.PVRZ

1.42 KB
Binary file not shown.

LeUI/copy/MOS4316.PVRZ

61.3 KB
Binary file not shown.

LeUI/copy/M_STYLES.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ styles['normal']['font'] = 'NORMAL'
66
styles['normal']['point'] = 12
77
styles['normal_parchment']['font'] = 'POSTANTI'
88
styles['normal_parchment']['point'] = 12
9-
styles['parchment']['font'] = 'POSTANTI'
10-
styles['parchment']['point'] = 12
9+
styles['parchment']['font'] = 'TOOLFONT'
10+
styles['parchment']['point'] = 13
1111

1212
styles['button']['font'] = 'STONESML'
1313
styles['button']['point'] = 10

LeUI/copy/UI.menu

Lines changed: 49 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,9 @@ function compareCustomSound(s1, s2)
13461346
elseif (s2.sound == "DEFAULT" and s1.sound ~= "DEFAULT") then
13471347
return false
13481348
elseif (string.sub(s1.sound, 1, 4) == "BDTP" and string.sub(s2.sound, 1, 4) ~= "BDTP") then
1349-
return false;
1349+
return false
13501350
elseif (string.sub(s2.sound, 1, 4) == "BDTP" and string.sub(s1.sound, 1, 4) ~= "BDTP") then
1351-
return true;
1351+
return true
13521352
end
13531353
return s1.sound < s2.sound
13541354
end
@@ -4038,7 +4038,7 @@ menu
40384038
}
40394039
label
40404040
{
4041-
area 70 80 264 120
4041+
area 82 74 242 124
40424042
text lua "getStringFromAmbiguousSource(Popup3Button.info)"
40434043
text style "normal"
40444044
text color D
@@ -4091,22 +4091,22 @@ menu
40914091
modal
40924092
label
40934093
{
4094-
area 0 0 900 234
4094+
area 0 0 406 415
40954095
mosaic GUIERR7
40964096
}
40974097
label
40984098
{
4099-
area 55 21 789 126
4099+
area 82 74 242 88
41004100
text lua "getStringFromAmbiguousSource(Popup4Button.info)"
4101-
text style "label"
4101+
text style "normal"
4102+
text color D
41024103
text align center center
41034104
}
41044105
button
41054106
{
4106-
area 656 170 201 44
4107-
bam GUIOSTLM
4107+
area 52 182 300 38
41084108
text lua "t(Popup4Button.farRightText)"
4109-
text style "button"
4109+
text style "button"
41104110
action
41114111
"
41124112
Infinity_PopMenu()
@@ -4117,10 +4117,9 @@ menu
41174117
}
41184118
button
41194119
{
4120-
area 448 170 201 44
4121-
bam GUIOSTLM
4122-
text style "button"
4120+
area 52 222 300 38
41234121
text lua "t(Popup4Button.rightText)"
4122+
text style "button"
41244123
action
41254124
"
41264125
Infinity_PopMenu()
@@ -4131,10 +4130,9 @@ menu
41314130
}
41324131
button
41334132
{
4134-
area 242 170 201 44
4135-
bam GUIOSTLM
4136-
text style "button"
4133+
area 52 262 300 38
41374134
text lua "t(Popup4Button.leftText)"
4135+
text style "button"
41384136
action
41394137
"
41404138
Infinity_PopMenu()
@@ -4145,10 +4143,9 @@ menu
41454143
}
41464144
button
41474145
{
4148-
area 38 170 201 44
4149-
bam GUIOSTLM
4150-
text style "button"
4146+
area 52 304 300 38
41514147
text lua "t(Popup4Button.farLeftText)"
4148+
text style "button"
41524149
action
41534150
"
41544151
Infinity_PopMenu()
@@ -9958,11 +9955,20 @@ menu
99589955
text "QUIT_GAME_BUTTON"
99599956
action
99609957
"
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
99669972
"
99679973
}
99689974
button
@@ -12564,7 +12570,7 @@ function showGroundItemDescription(slotId)
1256412570
end
1256512571
function setQuickLootOffset()
1256612572
local x,y,w,h = Infinity_GetArea('messagesRect')
12567-
local offset = h + 78
12573+
local offset = h + 66
1256812574
Infinity_SetOffset('WORLD_QUICKLOOT', 0, -offset)
1256912575
end
1257012576
`
@@ -12573,7 +12579,6 @@ menu
1257312579
enabled "showJournal == 0"
1257412580
name 'WORLD_QUICKLOOT'
1257512581
align center bottom
12576-
offset 0 -192
1257712582
ignoreEsc
1257812583
onOpen
1257912584
"
@@ -13929,7 +13934,7 @@ menu
1392913934
{
1393013935
enabled "showJournal == 0"
1393113936
name 'WORLD_MESSAGES'
13932-
offset 0 -66
13937+
offset 0 -58
1393313938
align center bottom
1393413939
ignoreEsc
1393513940
onOpen
@@ -13944,7 +13949,7 @@ menu
1394413949
}
1394513950
label
1394613951
{
13947-
area 0 142 840 4
13952+
area 0 142 840 6
1394813953
mosaic box5B
1394913954
}
1395013955
button
@@ -14042,10 +14047,10 @@ end
1404214047
function dragDialogMessagesY(newY)
1404314048
local x,y,w,hOld = Infinity_GetArea("worldDialogBackground")
1404414049
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
1404914054
end
1405014055

1405114056
adjustItemGroup({"dialogHandleY","worldDialogPortraitArea"},0,newY,0,0)
@@ -14167,8 +14172,13 @@ menu
1416714172
label
1416814173
{
1416914174
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
1417214182
}
1417314183
button
1417414184
{
@@ -14189,13 +14199,13 @@ menu
1418914199
label
1419014200
{
1419114201
name "worldDialogPortraitArea"
14192-
area 20 20 110 170
14202+
area 12 8 110 170
1419314203
bitmap lua "getDialogPortrait()"
1419414204
}
1419514205
handle
1419614206
{
1419714207
name "dialogHandleY"
14198-
area 0 0 864 20
14208+
area 0 0 840 20
1419914209
actionDrag
1420014210
"
1420114211
dragDialogMessagesY(motionY)
@@ -14205,7 +14215,7 @@ menu
1420514215
{
1420614216
name "worldPlayerDialogFake"
1420714217
enabled "step == 1"
14208-
area 138 20 702 210
14218+
area 130 8 698 328
1420914219
text lua "getDialogText(2)"
1421014220
text style "normal"
1421114221
}
@@ -14253,7 +14263,7 @@ menu
1425314263
}
1425414264
}
1425514265
name "worldPlayerDialogChoicesList"
14256-
area 138 20 702 310
14266+
area 130 8 698 328
1425714267
rowheight dynamic
1425814268
hideHighlight
1425914269
table "makeDialogTable()"
@@ -14302,7 +14312,7 @@ menu
1430214312
name 'WORLD_DIALOG_CONFIRM'
1430314313
align center bottom
1430414314
ignoreEsc
14305-
offset 0 -10
14315+
offset 0 -6
1430614316
button
1430714317
{
1430814318
area 0 0 300 44
@@ -15787,6 +15797,7 @@ menu
1578715797
cannotFurtherSpecialize = false
1578815798
currentChargenProficiency = nil
1578915799
currentChargenThiefSkill = nil
15800+
levelUpInfoToggle = 0
1579015801
ticksPassed = 0
1579115802
ticksStarting = 0
1579215803
Infinity_PlaySound('GAM_03')

0 commit comments

Comments
 (0)