summaryrefslogtreecommitdiffhomepage
path: root/data/content
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-08 00:09:56 +0100
committerAki <please@ignore.pl>2024-03-08 00:21:55 +0100
commitc45d494472bf0b812c0cf9d57e00ef75e7c155d0 (patch)
tree9b2dedc2f4a659a9ac40d631118d5edd05934d8a /data/content
parentb995b5de7ee3cccfdf93bc4ed4a56143a6463947 (diff)
downloadstarshatter-c45d494472bf0b812c0cf9d57e00ef75e7c155d0.zip
starshatter-c45d494472bf0b812c0cf9d57e00ef75e7c155d0.tar.gz
starshatter-c45d494472bf0b812c0cf9d57e00ef75e7c155d0.tar.bz2
You can now adjust master volumes in settings
Changes may not take effect until restarting the game. It seems some singletons are initialized when needed, then they are reused for each mission, but have sound volume assigned at awkward times.
Diffstat (limited to 'data/content')
-rw-r--r--data/content/Content/content.txt3
-rw-r--r--data/content/Screens/AudDlg.frm73
2 files changed, 62 insertions, 14 deletions
diff --git a/data/content/Content/content.txt b/data/content/Content/content.txt
index 2a16b75..d37a367 100644
--- a/data/content/Content/content.txt
+++ b/data/content/Content/content.txt
@@ -597,6 +597,9 @@ form.options.tab.controls = Controls
form.options.tab.gameplay = Gameplay
form.options.tab.mods = Mod Config
+form.audio.volume.master = Master Volume:
+form.audio.volume.music = Music Volume:
+form.audio.volume.world = World Volume:
form.audio.volume.effects = Effects Volume:
form.audio.volume.gui = GUI Volume:
form.audio.volume.warning = Warning Volume:
diff --git a/data/content/Screens/AudDlg.frm b/data/content/Screens/AudDlg.frm
index cb99410..8f82287 100644
--- a/data/content/Screens/AudDlg.frm
+++ b/data/content/Screens/AudDlg.frm
@@ -148,8 +148,8 @@ form: {
x_mins: ( 20, 100, 100, 20, 100, 100, 20)
x_weights: (0.2, 0.3, 0.3, 0.2, 0.3, 0.3, 0.2)
- y_mins: ( 20, 25, 25, 25, 25, 25, 25, 25, 20)
- y_weights: (0.3, 0, 0, 0, 0, 0, 0, 0, 0.7)
+ y_mins: ( 20, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 20)
+ y_weights: (0.3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.7)
}
}
@@ -164,11 +164,35 @@ form: {
},
ctrl: {
+ id: 107
+ pid: 300
+ type: label
+ text: "form.audio.volume.master"
+ cells: (1,1,1,1)
+ },
+
+ ctrl: {
+ id: 108
+ pid: 300
+ type: label
+ text: "form.audio.volume.music"
+ cells: (1,2,1,1)
+ },
+
+ ctrl: {
+ id: 109
+ pid: 300
+ type: label
+ text: "form.audio.volume.world"
+ cells: (1,3,1,1)
+ },
+
+ ctrl: {
id: 101
pid: 300
type: label
text: "form.audio.volume.effects"
- cells: (1,1,1,1)
+ cells: (1,4,1,1)
},
ctrl: {
@@ -176,7 +200,7 @@ form: {
pid: 300
type: label
text: "form.audio.volume.gui"
- cells: (1,2,1,1)
+ cells: (1,5,1,1)
},
ctrl: {
@@ -184,7 +208,7 @@ form: {
pid: 300
type: label
text: "form.audio.volume.warning"
- cells: (1,3,1,1)
+ cells: (1,6,1,1)
},
ctrl: {
@@ -192,7 +216,7 @@ form: {
pid: 300
type: label
text: "form.audio.volume.vox"
- cells: (1,4,1,1)
+ cells: (1,7,1,1)
},
ctrl: {
@@ -200,7 +224,7 @@ form: {
pid: 300
type: label
text: "form.audio.music.menu"
- cells: (1,6,1,1)
+ cells: (1,8,1,1)
},
ctrl: {
@@ -208,7 +232,7 @@ form: {
pid: 300
type: label
text: "form.audio.music.game"
- cells: (1,7,1,1)
+ cells: (1,9,1,1)
},
defctrl: {
@@ -225,47 +249,68 @@ form: {
},
ctrl: {
- id: 201
+ id: 207
pid: 300
type: slider
cells: (2,1,1,1)
},
ctrl: {
- id: 202
+ id: 208
pid: 300
type: slider
cells: (2,2,1,1)
},
ctrl: {
- id: 203
+ id: 209
pid: 300
type: slider
cells: (2,3,1,1)
},
ctrl: {
- id: 204
+ id: 201
pid: 300
type: slider
cells: (2,4,1,1)
},
ctrl: {
- id: 205
+ id: 202
+ pid: 300
+ type: slider
+ cells: (2,5,1,1)
+ },
+
+ ctrl: {
+ id: 203
pid: 300
type: slider
cells: (2,6,1,1)
},
ctrl: {
- id: 206
+ id: 204
pid: 300
type: slider
cells: (2,7,1,1)
},
+ ctrl: {
+ id: 205
+ pid: 300
+ type: slider
+ cells: (2,8,1,1)
+ },
+
+ ctrl: {
+ id: 206
+ pid: 300
+ type: slider
+ cells: (2,9,1,1)
+ },
+
// buttons: