Skip to content

Commit

Permalink
change strings to aliases in heightmap.cfg for project-imprimis#18
Browse files Browse the repository at this point in the history
  • Loading branch information
b-sharman committed Feb 12, 2021
1 parent a1705a5 commit 29822b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
22 changes: 11 additions & 11 deletions config/heightmap.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ hbrushverts = [

newhbrush = [
hbrushmax = (+ $hbrushmax 1)
do [
do [
hbrush_@hbrushmax = [
hbrushname = [@@@arg1]
clearhbrush
Expand All @@ -50,34 +50,34 @@ newhbrush = [
]
]

newhbrush "Circle 1-0" 0 0 [
newhbrush (concat $uistr_heightmap_0 "1-0") 0 0 [
"1"
]
newhbrush "Circle 2-1" 1 1 [
newhbrush (concat $uistr_heightmap_0 "2-1") 1 1 [
"0 1 0"
"1 2 1"
"0 1 0"
]
newhbrush "Circle 4-2-1" 2 2 [
newhbrush (concat $uistr_heightmap_0 "4-2-1") 2 2 [
"0 0 1 0 0"
"0 1 2 1 0"
"1 2 4 2 1"
"0 1 2 1 0"
"0 0 1 0 0"
]
newhbrush "Square 3x3" 1 1 [
newhbrush (concat $uistr_heightmap_1 "3x3") 1 1 [
"1 1 1"
"1 1 1"
"1 1 1"
]
newhbrush "Square 5x5" 2 2 [
newhbrush (concat $uistr_heightmap_1 "5x5") 2 2 [
"1 1 1 1 1"
"1 1 1 1 1"
"1 1 1 1 1"
"1 1 1 1 1"
"1 1 1 1 1"
]
newhbrush "Square 7x7" 3 3 [
newhbrush (concat $uistr_heightmap_1 "7x7") 3 3 [
"1 1 1 1 1 1 1"
"1 1 1 1 1 1 1"
"1 1 1 1 1 1 1"
Expand All @@ -87,19 +87,19 @@ newhbrush "Square 7x7" 3 3 [
"1 1 1 1 1 1 1"
]

newhbrush "Smooth 3x3" 1 1 [
newhbrush (concat $uistr_heightmap_2 "3x3") 1 1 [
"0 0 0"
"0 0 0"
"0 0 0"
]
newhbrush "Smooth 5x5" 2 2 [
newhbrush (concat $uistr_heightmap_2 "5x5") 2 2 [
"0 0 0 0 0"
"0 0 0 0 0"
"0 0 0 0 0"
"0 0 0 0 0"
"0 0 0 0 0"
]
newhbrush "Smooth 7x7" 3 3 [
newhbrush (concat $uistr_heightmap_2 "7x7") 3 3 [
"0 0 0 0 0 0 0"
"0 0 0 0 0 0 0"
"0 0 0 0 0 0 0"
Expand All @@ -109,7 +109,7 @@ newhbrush "Smooth 7x7" 3 3 [
"0 0 0 0 0 0 0"
]

newhbrush "Noise 25x25" 12 12 [
newhbrush (concat $uistr_heightmap_3 25x25) 12 12 [
"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0"
"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0"
"0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0"
Expand Down
10 changes: 9 additions & 1 deletion config/lang_en.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
uistr_game_0 = "team"
uistr_game_1 = "chat"

////////////////////////////////////////////////////////////////////////////////////////
// heightmap.cfg //
////////////////////////////////////////////////////////////////////////////////////////
uistr_heightmap_0 = "Circle"
uistr_heightmap_1 = "Square"
uistr_heightmap_2 = "Smooth"
uistr_heightmap_3 = "Noise"

////////////////////////////////////////////////////////////////////////////////////////
// options.cfg //
////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -200,4 +208,4 @@ uistr_copymapcfg_1 = "does not exist!"
//cmc_confirm (copy map config confirmation dialog)
uistr_cmc_confirm_0 = "Copy map config:"
uistr_cmc_confirm_1 = "Proceed"
uistr_cmc_confirm_2 = "Cancel"
uistr_cmc_confirm_2 = "Cancel"

0 comments on commit 29822b5

Please sign in to comment.