qmlfrontend/Page1.qml
author Wuzzy <Wuzzy2@mail.ru>
Fri, 09 Mar 2018 19:05:59 +0100
changeset 13150 5083fb0a2992
parent 12859 28cb18c5e712
child 12863 0c6fb706f747
child 14148 745c73e0e644
permissions -rw-r--r--
A Classic Fairytale: Harden all missions against missing campaign variables in team file and assume default values This assumes the worst case in which the team file is missing all campaign variables except Progress. This has been successfully tested with all 10 missions and still generates a logical storyline. By default, the game assumes: - The cyborg's offer in mission 2 was refused - The traitor in mission 5 was killed As a consequence, missions 8 and 10 use the princessScene cut scene.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12859
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     2
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
Page1Form {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
  button1.onClicked: {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
    console.log("Button Pressed. Entered text: " + textField1.text);
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
  }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
}