Skip to content

Commit

Permalink
change strings to aliases in ui.cfg F4 menu for project-imprimis#18
Browse files Browse the repository at this point in the history
  • Loading branch information
b-sharman committed Feb 28, 2021
1 parent 5a02b50 commit 90e7fba
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 16 deletions.
18 changes: 18 additions & 0 deletions config/lang_en.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ uistr_fkey_21 = "Utilized"
uistr_fkey_22 = "Replaced"
uistr_fkey_23 = "Allfaces"
uistr_fkey_24 = "Texture Browser"
//F3: mapmodel
//F4: material volume
uistr_fkey_25 = "Air (Clear)"
uistr_fkey_26 = "Clip"
uistr_fkey_27 = "No-Clip"
uistr_fkey_28 = "Gameclip"
uistr_fkey_29 = "Death"
uistr_fkey_30 = "Alpha"
uistr_fkey_31 = "Glass 1"
uistr_fkey_32 = "Glass 2"
uistr_fkey_33 = "Glass 3"
uistr_fkey_34 = "Glass 4"
uistr_fkey_35 = "Water 1"
uistr_fkey_36 = "Water 2"
uistr_fkey_37 = "Water 3"
uistr_fkey_38 = "Water 4"
uistr_fkey_39 = "Show Material Volumes"
uistr_fkey_40 = "Material Volume"

///////////////////////////////////////////////////////////////////////////////
// game.cfg //
Expand Down
32 changes: 16 additions & 16 deletions config/ui/fkey.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -281,36 +281,36 @@ UImenu "material" [
uifill 0 0.025
uihlist 0.005 [
uivlist 0.005 [
UIbutton "" [uitext "Air (Clear)" 0.6] 0.15 0.04 [editmat air] -1 [uihover [UI_mattype = "air"]]
UIbutton "" [uitext "Clip" 0.6] 0.15 0.04 [editmat clip] -1 [uihover [UI_mattype = "clip"]]
UIbutton "" [uitext "No-Clip" 0.6] 0.15 0.04 [editmat noclip] -1 [uihover [UI_mattype = "noclip"]]
UIbutton "" [uitext "Gameclip" 0.6] 0.15 0.04 [editmat gameclip] -1 [uihover [UI_mattype = "gameclip"]]
UIbutton "" [uitext "Death" 0.6] 0.15 0.04 [editmat death] -1 [uihover [UI_mattype = "death"]]
UIbutton "" [uitext "Alpha" 0.6] 0.15 0.04 [editmat alpha] -1 [uihover [UI_mattype = "alpha"]]
UIbutton "" [uitext $uistr_fkey_25 0.6] 0.15 0.04 [editmat air] -1 [uihover [UI_mattype = "air"]]
UIbutton "" [uitext $uistr_fkey_26 0.6] 0.15 0.04 [editmat clip] -1 [uihover [UI_mattype = "clip"]]
UIbutton "" [uitext $uistr_fkey_27 0.6] 0.15 0.04 [editmat noclip] -1 [uihover [UI_mattype = "noclip"]]
UIbutton "" [uitext $uistr_fkey_28 0.6] 0.15 0.04 [editmat gameclip] -1 [uihover [UI_mattype = "gameclip"]]
UIbutton "" [uitext $uistr_fkey_29 0.6] 0.15 0.04 [editmat death] -1 [uihover [UI_mattype = "death"]]
UIbutton "" [uitext $uistr_fkey_30 0.6] 0.15 0.04 [editmat alpha] -1 [uihover [UI_mattype = "alpha"]]
]
uivlist 0.005 [
UIbutton "" [uitext "Glass 1" 0.6] 0.15 0.04 [editmat glass] -1 [uihover [UI_mattype = "glass"]]
UIbutton "" [uitext "Glass 2" 0.6] 0.15 0.04 [editmat glass2] -1 [uihover [UI_mattype = "glass2"]]
UIbutton "" [uitext "Glass 3" 0.6] 0.15 0.04 [editmat glass3] -1 [uihover [UI_mattype = "glass3"]]
UIbutton "" [uitext "Glass 4" 0.6] 0.15 0.04 [editmat glass4] -1 [uihover [UI_mattype = "glass4"]]
UIbutton "" [uitext $uistr_fkey_31 0.6] 0.15 0.04 [editmat glass] -1 [uihover [UI_mattype = "glass"]]
UIbutton "" [uitext $uistr_fkey_32 0.6] 0.15 0.04 [editmat glass2] -1 [uihover [UI_mattype = "glass2"]]
UIbutton "" [uitext $uistr_fkey_33 0.6] 0.15 0.04 [editmat glass3] -1 [uihover [UI_mattype = "glass3"]]
UIbutton "" [uitext $uistr_fkey_34 0.6] 0.15 0.04 [editmat glass4] -1 [uihover [UI_mattype = "glass4"]]
]
uivlist 0.005 [
UIbutton "" [uitext "Water 1" 0.6] 0.15 0.04 [editmat water] -1 [uihover [UI_mattype = "water"]]
UIbutton "" [uitext "Water 2" 0.6] 0.15 0.04 [editmat water2] -1 [uihover [UI_mattype = "water2"]]
UIbutton "" [uitext "Water 3" 0.6] 0.15 0.04 [editmat water3] -1 [uihover [UI_mattype = "water3"]]
UIbutton "" [uitext "Water 4" 0.6] 0.15 0.04 [editmat water4] -1 [uihover [UI_mattype = "water4"]]
UIbutton "" [uitext $uistr_fkey_35 0.6] 0.15 0.04 [editmat water] -1 [uihover [UI_mattype = "water"]]
UIbutton "" [uitext $uistr_fkey_36 0.6] 0.15 0.04 [editmat water2] -1 [uihover [UI_mattype = "water2"]]
UIbutton "" [uitext $uistr_fkey_37 0.6] 0.15 0.04 [editmat water3] -1 [uihover [UI_mattype = "water3"]]
UIbutton "" [uitext $uistr_fkey_38 0.6] 0.15 0.04 [editmat water4] -1 [uihover [UI_mattype = "water4"]]
]
uialign* -1 -1
]
uifill 0 0.01
UIbutton "hold2" [
UIcheckbox $showmat 0.016
uitext "Show Material Volumes" 0.6
uitext $uistr_fkey_39 0.6
UI_keyref 2 0.027 0.027 "M"
] 0.33 0.04 [showmat (! $showmat)]
]
]
] [UI_mattype = " "] [] [] "Material Volume"
] [UI_mattype = " "] [] [] $uistr_fkey_40

///////////////////////////////////////////////////////////////////////////////
// F5 Save Map //
Expand Down

0 comments on commit 90e7fba

Please sign in to comment.