Added desktop and no-sound modes.

When -desktop is given on the command line then the settings menu is shown on
the desktop instead of an vr overlay.
When -nosound is given on the command line then there are no sound
effects.
This commit is contained in:
2016-12-04 23:37:00 +01:00
parent 4e15b9dea8
commit b766dc72cc
11 changed files with 137 additions and 102 deletions
+7 -7
View File
@@ -27,7 +27,7 @@ MyStackViewPage {
text: "SteamVR"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(steamVRPage)
}
}
@@ -38,7 +38,7 @@ MyStackViewPage {
text: "Chaperone"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(chaperonePage)
}
}
@@ -49,7 +49,7 @@ MyStackViewPage {
text: "Play Space"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(playspacePage)
}
}
@@ -60,7 +60,7 @@ MyStackViewPage {
text: "Floor Fix"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(fixFloorPage)
}
}
@@ -71,7 +71,7 @@ MyStackViewPage {
text: "Audio"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(audioPage)
}
}
@@ -82,7 +82,7 @@ MyStackViewPage {
text: "Statistics"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(statisticsPage)
}
}
@@ -98,7 +98,7 @@ MyStackViewPage {
text: "Settings"
Layout.fillWidth: true
onClicked: {
MyResources.focusChangedSound.play()
MyResources.playFocusChangedSound()
mainView.push(settingsPage)
}
}