Skip to content

Commit

Permalink
added more options
Browse files Browse the repository at this point in the history
  • Loading branch information
WideBoner authored Aug 8, 2019
1 parent d84ac7c commit 4958c06
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 8 deletions.
18 changes: 17 additions & 1 deletion wwr_ui/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,23 @@
),
(
"KORL_control",
"King of Red Lions will not stop you from veering off course, allows possible sequence breaks."
"King of Red Lions will not stop you from veering off course."
),
(
"song_no_replay",
"Remove song replays, where Link plays a fancy animation to conduct the song after the player plays it."
),
(
"swing_turn",
"Allow turning while swinging on ropes and using the grappling hook."
),
(
"remove_title_and_ending_videos",
"Remove the huge video files that play during the intro and ending."
),
(
"ballad",
"Makes the cutscene shorter for Ballad of Gales transportation."
),
])

Expand Down
44 changes: 42 additions & 2 deletions wwr_ui/randomizer_window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@
</property>
</widget>
</item>
<item row="13" column="0">
<item row="17" column="0">
<widget class="QCheckBox" name="invert_camera_x_axis">
<property name="text">
<string>Invert camera</string>
<string>Invert Camera</string>
</property>
<property name="checked">
<bool>true</bool>
Expand All @@ -198,6 +198,46 @@
</property>
</widget>
</item>
<item row="16" column="0">
<widget class="QCheckBox" name="song_no_replay">
<property name="text">
<string>No Song Replays</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="13" column="0">
<widget class="QCheckBox" name="swing_turn">
<property name="text">
<string>Turn While Swinging/Grappling</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="18" column="0">
<widget class="QCheckBox" name="remove_title_and_ending_videos">
<property name="text">
<string>Remove Intro Video</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="19" column="0">
<widget class="QCheckBox" name="ballad">
<property name="text">
<string>Faster Ballad of Gales</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="instant_text_boxes">
<property name="text">
Expand Down
26 changes: 23 additions & 3 deletions wwr_ui/ui_randomizer_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Form implementation generated from reading ui file 'randomizer_window.ui',
# licensing of 'randomizer_window.ui' applies.
#
# Created: Mon Aug 5 22:49:51 2019
# Created: Thu Aug 8 14:32:49 2019
# by: pyside2-uic running on PySide2 5.11.2
#
# WARNING! All changes made in this file will be lost!
Expand Down Expand Up @@ -87,7 +87,7 @@ def setupUi(self, MainWindow):
self.invert_camera_x_axis = QtWidgets.QCheckBox(self.tab)
self.invert_camera_x_axis.setChecked(True)
self.invert_camera_x_axis.setObjectName("invert_camera_x_axis")
self.gridLayout.addWidget(self.invert_camera_x_axis, 13, 0, 1, 1)
self.gridLayout.addWidget(self.invert_camera_x_axis, 17, 0, 1, 1)
self.reveal_full_sea_chart = QtWidgets.QCheckBox(self.tab)
self.reveal_full_sea_chart.setChecked(True)
self.reveal_full_sea_chart.setObjectName("reveal_full_sea_chart")
Expand All @@ -96,6 +96,22 @@ def setupUi(self, MainWindow):
self.KORL_control.setChecked(True)
self.KORL_control.setObjectName("KORL_control")
self.gridLayout.addWidget(self.KORL_control, 15, 0, 1, 1)
self.song_no_replay = QtWidgets.QCheckBox(self.tab)
self.song_no_replay.setChecked(True)
self.song_no_replay.setObjectName("song_no_replay")
self.gridLayout.addWidget(self.song_no_replay, 16, 0, 1, 1)
self.swing_turn = QtWidgets.QCheckBox(self.tab)
self.swing_turn.setChecked(True)
self.swing_turn.setObjectName("swing_turn")
self.gridLayout.addWidget(self.swing_turn, 13, 0, 1, 1)
self.remove_title_and_ending_videos = QtWidgets.QCheckBox(self.tab)
self.remove_title_and_ending_videos.setChecked(True)
self.remove_title_and_ending_videos.setObjectName("remove_title_and_ending_videos")
self.gridLayout.addWidget(self.remove_title_and_ending_videos, 18, 0, 1, 1)
self.ballad = QtWidgets.QCheckBox(self.tab)
self.ballad.setChecked(True)
self.ballad.setObjectName("ballad")
self.gridLayout.addWidget(self.ballad, 19, 0, 1, 1)
self.instant_text_boxes = QtWidgets.QCheckBox(self.tab)
self.instant_text_boxes.setChecked(True)
self.instant_text_boxes.setObjectName("instant_text_boxes")
Expand Down Expand Up @@ -212,9 +228,13 @@ def retranslateUi(self, MainWindow):
self.increase_block_moving_animation.setText(QtWidgets.QApplication.translate("MainWindow", "Faster Block Moving", None, -1))
self.increase_misc_animations.setText(QtWidgets.QApplication.translate("MainWindow", "Faster Crawling, Climbing, NPC zoom", None, -1))
self.tingle_chests_without_tuner.setText(QtWidgets.QApplication.translate("MainWindow", "Tingle Chests Without Tuner", None, -1))
self.invert_camera_x_axis.setText(QtWidgets.QApplication.translate("MainWindow", "Invert camera", None, -1))
self.invert_camera_x_axis.setText(QtWidgets.QApplication.translate("MainWindow", "Invert Camera", None, -1))
self.reveal_full_sea_chart.setText(QtWidgets.QApplication.translate("MainWindow", "Reveal Sea Chart", None, -1))
self.KORL_control.setText(QtWidgets.QApplication.translate("MainWindow", "Free-Roam Boat", None, -1))
self.song_no_replay.setText(QtWidgets.QApplication.translate("MainWindow", "No Song Replays", None, -1))
self.swing_turn.setText(QtWidgets.QApplication.translate("MainWindow", "Turn While Swinging/Grappling", None, -1))
self.remove_title_and_ending_videos.setText(QtWidgets.QApplication.translate("MainWindow", "Remove Intro Video", None, -1))
self.ballad.setText(QtWidgets.QApplication.translate("MainWindow", "Faster Ballad of Gales", None, -1))
self.instant_text_boxes.setText(QtWidgets.QApplication.translate("MainWindow", "Instant Text Boxes", None, -1))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtWidgets.QApplication.translate("MainWindow", "ISO Settings", None, -1))
self.label_for_custom_player_model.setText(QtWidgets.QApplication.translate("MainWindow", "Player Model", None, -1))
Expand Down
4 changes: 2 additions & 2 deletions wwr_ui/update_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from randomizer import VERSION

LATEST_RELEASE_DOWNLOAD_PAGE_URL = "https://github.com/brainfubar/wwrando/releases/latest"
LATEST_RELEASE_API_URL = "https://api.github.com/repos/brainfubar/wwrando/releases/latest"
LATEST_RELEASE_DOWNLOAD_PAGE_URL = "https://github.com/WideBoner/betterww/releases/latest"
LATEST_RELEASE_API_URL = "https://api.github.com/repos/WideBoner/betterww/releases/latest"

def check_for_updates():
try:
Expand Down

0 comments on commit 4958c06

Please sign in to comment.