From e21215291d00da91316d33448c92dc5b7188b2e6 Mon Sep 17 00:00:00 2001 From: nhydock Date: Tue, 28 Jun 2011 21:07:07 -0400 Subject: [PATCH] Removing some dead options --- src/GameEngine.py | 9 --------- src/Settings.py | 20 -------------------- 2 files changed, 29 deletions(-) diff --git a/src/GameEngine.py b/src/GameEngine.py index 7ed1b1a55..e8e9810e3 100644 --- a/src/GameEngine.py +++ b/src/GameEngine.py @@ -185,7 +185,6 @@ def sortOptionsByKey(dict): Config.define("game", "hopo_indicator", bool, False, text = _("Show HO/PO Indicator"), options = {False: _("No"), True: _("Yes")}, tipText = _("If enabled, 'HOPO' will appear in game. When there are HOPO notes active, it will turn white.")) Config.define("game", "quickplay_tiers", int, 1, text = _("Use Tiers in Quickplay"), options = {0: _("Off"), 1: _("Normal"), 2: _("Sorting")}, tipText = _("Sets whether to mark tiers in quickplay mode. 'Normal' will use the career tiers and 'Sorting' will insert tiers based on the current sort order.")) Config.define("performance", "star_score_updates", int, 1, text = _("Star Updates"), options = {0: _("On Hit"), 1: _("Score Change")}, tipText = _("If set to 'On Hit', your star score will only be checked when you hit a note. If set to 'Score Change', your star score will constantly update. (This is affected by the 'Performance' quickset)")) -Config.define("performance", "star_continuous_fillup", bool, True, text = _("Partial Star Continuous Fillup"), options = {False: _("No"), True: _("Yes")}, tipText = _("Sets whether your partial stars will fill up gradually ('Yes') or in chunks. (This is affected by the 'Performance' quickset)")) #stump Config.define("game", "resume_countdown", int, 1, text = _("Countdown on Resume"), options = {0: _("No"), 1: _("Yes")}, tipText = _("If enabled, there will be a three second countdown when you unpause.")) Config.define("game", "script_lyric_pos", int, 0, text = _("Script Lyric Position"), options = {0: _("Bottom"), 1: _("Top")}, tipText = _("Display script lyrics at either the bottom or top of the screen.")) #MFH - script.txt lyric display position @@ -208,21 +207,15 @@ def sortOptionsByKey(dict): Config.define("game", "rb_midi_lyrics", int, 1, text = _("Show Lyrics in All Modes"), options = {0: _("No"), 1: _("Single Player"), 2: _("Always")}, tipText = _("Sets whether or not MIDI lyrics will be displayed in modes without a vocalist. 'Single Player' will only show lyrics when in Solo modes.")) Config.define("game", "rb_midi_sections", int, 0, text = _("Show MIDI Sections"), options = {0: _("No"), 1: _("Single Player"), 2: _("Always")}, tipText = _("Sets whether or not to scroll the names of sections as marked in the MIDI files.")) Config.define("game", "key_checker_mode", int, 1, text = _("Key Conflicts"), options = sortOptionsByKey({0: _("Don't check"), 1: _("Notify"), 2: _("Enforce")}), tipText = _("Sets how the game handles key conflicts. 'Don't check' doesn't check, but conflicts will affect play. 'Notify' will inform you, but allow you to continue, and 'Enforce' will not allow you to exit the menu until all key conflicts have been resolved.")) -Config.define("performance", "in_game_stats", int, 0, text = _("Show In-Game Stats"), options = {0: _("Off"), 1: _("By Theme"), 2: _("On")}, tipText = _("Sets whether or not to show detailed stats as you play. 'By Theme' leaves it to the theme creator.")) -Config.define("game", "in_game_stars", int, 1, text = _("Show Stars In-Game"), options = {0: _("Off"), 1: _("By Theme"), 2: _("On")}, tipText = _("Sets whether or not to show your star score as you play. 'By Theme' leaves it to the theme creator.")) -Config.define("game", "partial_stars", int, 1, text = _("Show Partial Stars"), options = {0: _("Off"), 1: _("On")}, tipText = _("Sets whether or not to show partial stars, if available")) Config.define("game", "hopo_debug_disp", int, 0, text = _("HO/PO Debug"), options = {0: _("Off"), 1: _("On")}, tipText = _("If enabled, various log messages will be recorded regarding the HO/PO system. Please leave this disabled if submitting logs for bug reports unless you are certain it is necessary.")) Config.define("game", "gsolo_accuracy_disp", int, 1, text = _("Show Solo Stats"), options = {0: _("Off"), 1: _("Percent"), 2: _("Detail")}, tipText = _("Sets whether to show your solo results when you finish a solo. 'Percent' will only show the percentage, while 'Detail' includes additional information.")) -Config.define("game", "decimal_places", int, 1, text = _("Stat Decimal Places"), options = dict([(n, n) for n in range(0, 3)]), tipText = _("Determines how many decimal places will be noted in displaying stats.")) Config.define("game", "star_scoring", int, 3, text = _("Star Scoring Style"), options = sortOptionsByKey({0: _("Accuracy"), 1: _("GH"), 2: _("RB"), 3: _("RB+GH"), 4: _("RB2")}), tipText = _("Sets which system to use to calculate your star score."))#MFH Config.define("game", "career_star_min", int, 3, text = _("Career Mode Advance"), options = {0: _("0 (Song Finish)"), 1: _("1 Star"), 2: _("2 Stars"), 3: _("3 Stars"), 4: _("4 Stars"), 5: _("5 Stars"), 6: _("6 (Gold Stars)"), 7: _("7 (Full Combo)")}, tipText = _("Determine how many stars are needed on a song before it is unlocked in career mode.")) Config.define("game", "gsolo_acc_pos", int, 3, text = _("Solo Stat Positioning"), options = sortOptionsByKey({0: _("Right"), 1: _("Center"), 2: _("Left"), 3: _("Rock Band")}), tipText = _("Sets where your solo result stats will be displayed."))#MFH,(racer: added RB) Config.define("game", "bass_groove_enable", int, 1, text = _("Bass Groove"), options = {0: _("Off"), 1: _("By Theme"), 2: _("By MIDI"), 3: _("On")}, tipText = _("Enable or disable bass groove (additional score multiplier for bass)")) #MFH Config.define("game", "T_sound", int, 2, text = _("Drum Miss Penalty"), options = {0: _("Always"), 1: _("Song Start"), 2: _("First Note")}, tipText = _("Determines when drum hits count as misses: When the song begins, after the first note, or always.")) #Faaa Drum sound -Config.define("game", "game_time", int, 1, text = _("Time Display Format"), options = {0: _("Off"), 1: _("Countdown"), 2: _("Elapsed")}, tipText = _("Sets whether the song time is displayed as time elapsed, time remaining, or not at all")) #MFH Config.define("game", "gfx_version_tag", int, 1, text = _("Show Theme Version Tag"), options = {0: _("No"), 1: _("Yes")}, tipText = _("Places the theme's version tag over menus and dialogs.")) #MFH Config.define("game", "p2_menu_nav", int, 1, text = _("Menu Navigation"), options = {0: _("P1 Only"), 1: _("All Players")}, tipText = _("Sets whether all players can navigate the menu, or only the controller set as Player 1 and the master keys.")) #MFH -Config.define("game", "in_game_font_shadowing", bool, False, text = _("In-Game Font Shadow"), options = {False: _("Off"), True: _("On")}, tipText = _("Sets whether or not a shadowed font will be used, if available.")) Config.define("audio", "mute_last_second", int, 0, text = _("Mute Last Second"), options = {0: _("No"), 1: _("Yes")}, tipText = _("Cuts the volume with one second remaining to prevent any pops when the song ends.")) #MFH Config.define("game", "result_cheer_loop", int, 2, text = _("Results Cheer Loop"), options = {0: _("Off"), 1: _("Theme"), 2: _("On")}, tipText = _("Sets whether the cheering sound heard on the result screen will loop. 'Theme' leaves it to the theme creator.")) #MFH Config.define("game", "cheer_loop_delay", int, 550, text = _("Cheer Loop Delay"), options = dict([(n, n) for n in range(0, 10, 1)] + [(n, n) for n in range(10, 50, 10)] + [(n, n) for n in range(50, 2001, 50)]), tipText = _("Sets the time, in milliseconds, to wait before playing the result cheer again (if looping is enabled).")) @@ -290,8 +283,6 @@ def sortOptionsByKey(dict): #blazingamer Config.define("game", "congrats", bool, True, text = _("Score SFX"), options = {True: _("On"), False: _("Off")}, tipText = _("Sets whether or not to have Jurgen taunt (or, I suppose, congratulate) you at the end of a song."))#blazingamer -Config.define("game", "starfx", bool, True, text = _("GH SP Lights"), options = {True: _("On"), False: _("Off")}, tipText = _("Sets whether to fade images over the starpower bulbs in GH themes when fully lit."))#blazingamer -Config.define("game", "small_rb_mult", int, 1, text = _("RB Small 1x Multiplier"), options = {0: _("Off"), 1: _("By Theme"), 2: _("On")}, tipText = _("When enabled, RB-type themes will have a smaller mult image when the multiplier is at 1x. 'By Theme' leaves it to the theme creator."))#blazingamer Config.define("game", "nstype", int, 2, text = _("Board Speed Mode"), options = sortOptionsByKey({0: _("BPM"), 1: _("Difficulty"), 2: _("BPM & Diff"), 3: _("Percentage")}), tipText = _("Sets what determines the speed of the scrolling notes.")) Config.define("game", "lphrases", bool, True, text = _("Loading Phrases"), options = {True: _("On"), False: _("Off")}, tipText = _("Sets whether or not to use loading phrases while loading a song")) Config.define("performance", "killfx", int, 0, text = _("Effects Display Mode"), options = {0: _("Static"), 1: _("Animated"), 2: _("Off")}, tipText = _("Sets whether or not the whammy effect is animated. (This is affected by the 'Performance' quickset)")) diff --git a/src/Settings.py b/src/Settings.py index 91747ea96..1ed23a7e0 100644 --- a/src/Settings.py +++ b/src/Settings.py @@ -711,7 +711,6 @@ def __init__(self, engine): ConfigChoice(self.engine, self.engine.config, "game", "bass_groove_enable", autoApply = True, isQuickset = 2),#myfingershurt ConfigChoice(self.engine, self.engine.config, "game", "mark_solo_sections", autoApply = True), ConfigChoice(self.engine, self.engine.config, "game", "lphrases", autoApply = True),#blazingamer - ConfigChoice(self.engine, self.engine.config, "game", "decimal_places", autoApply = True), #MFH ConfigChoice(self.engine, self.engine.config, "game", "ignore_open_strums", autoApply = True), #myfingershurt ConfigChoice(self.engine, self.engine.config, "game", "big_rock_endings", autoApply = True, isQuickset = 2),#myfingershurt ConfigChoice(self.engine, self.engine.config, "game", "starpower_mode", autoApply = True),#myfingershurt @@ -800,7 +799,6 @@ def __init__(self, engine): ConfigChoice(self.engine, self.engine.config, "coffee", "noterotate", autoApply = True), #blazingamer ConfigChoice(self.engine, self.engine.config, "game", "gfx_version_tag", autoApply = True), #MFH ConfigChoice(self.engine, self.engine.config, "video", "multisamples", isQuickset = 1), - ConfigChoice(self.engine, self.engine.config, "game", "in_game_font_shadowing", autoApply = True), #myfingershurt ConfigChoice(self.engine, self.engine.config, "performance", "static_strings", autoApply = True, isQuickset = 1), #myfingershurt ConfigChoice(self.engine, self.engine.config, "performance", "killfx", autoApply = True, isQuickset = 1), #blazingamer (_("More Effects"), self.shaderSettings, _("Change the settings of the shader system.")), #volshebnyi @@ -827,27 +825,20 @@ def __init__(self, engine): self.themeDisplaySettings = [ ConfigChoice(self.engine, self.engine.config, "game", "rb_sp_neck_glow", autoApply = True), - ConfigChoice(self.engine, self.engine.config, "game", "small_rb_mult", autoApply = True), #blazingamer - ConfigChoice(self.engine, self.engine.config, "game", "starfx", autoApply = True), ConfigChoice(self.engine, self.engine.config, "performance", "animated_notes", autoApply = True, isQuickset = 1), ] self.themeDisplayMenu = Menu.Menu(self.engine, self.themeDisplaySettings, pos = (self.opt_text_x, self.opt_text_y), textColor = self.opt_text_color, selectedColor = self.opt_selected_color) self.inGameDisplaySettings = [ (_("Theme Display Settings"), self.themeDisplayMenu, _("Change settings that only affect certain theme types.")), - ConfigChoice(self.engine, self.engine.config, "game", "in_game_stars", autoApply = True, isQuickset = 2),#myfingershurt - ConfigChoice(self.engine, self.engine.config, "game", "partial_stars", autoApply = True, isQuickset = 1),#myfingershurt - ConfigChoice(self.engine, self.engine.config, "performance", "star_continuous_fillup", autoApply = True, isQuickset = 1), #stump ConfigChoice(self.engine, self.engine.config, "coffee", "game_phrases", autoApply = True, isQuickset = 1), ConfigChoice(self.engine, self.engine.config, "game", "hopo_indicator", autoApply = True), ConfigChoice(self.engine, self.engine.config, "game", "accuracy_mode", autoApply = True), - ConfigChoice(self.engine, self.engine.config, "performance", "in_game_stats", autoApply = True, isQuickset = 1),#myfingershurt ConfigChoice(self.engine, self.engine.config, "game", "gsolo_accuracy_disp", autoApply = True, isQuickset = 1), #MFH ConfigChoice(self.engine, self.engine.config, "game", "solo_frame", autoApply = True), #myfingershurt ConfigChoice(self.engine, self.engine.config, "video", "disable_fretsfx", autoApply = True), ConfigChoice(self.engine, self.engine.config, "video", "disable_flamesfx", autoApply = True), ConfigChoice(self.engine, self.engine.config, "video", "hitglow_color", autoApply = True), - ConfigChoice(self.engine, self.engine.config, "game", "game_time", autoApply = True), ConfigChoice(self.engine, self.engine.config, "video", "counting", autoApply = True, isQuickset = 2), ] self.inGameDisplayMenu = Menu.Menu(self.engine, self.inGameDisplaySettings, pos = (self.opt_text_x, self.opt_text_y), textColor = self.opt_text_color, selectedColor = self.opt_selected_color) @@ -1189,9 +1180,7 @@ def __init__(self, engine): self.keySettingsMenu = Menu.Menu(self.engine, self.keySettings, onClose = self.controlCheck, pos = (self.opt_text_x, self.opt_text_y), textColor = self.opt_text_color, selectedColor = self.opt_selected_color) InGameDisplaySettings = [ - ConfigChoice(engine, engine.config, "game", "in_game_stars", autoApply = True, isQuickset = 2),#myfingershurt ConfigChoice(engine, engine.config, "game", "accuracy_mode", autoApply = True), - ConfigChoice(engine, engine.config, "performance", "in_game_stats", autoApply = True, isQuickset = 1),#myfingershurt ConfigChoice(engine, engine.config, "game", "game_time", autoApply = True), ConfigChoice(engine, engine.config, "video", "counting", autoApply = True, isQuickset = 2), ] @@ -1384,7 +1373,6 @@ def quickset(config): config.set("game", "sp_notes_while_active", 1) config.set("game", "bass_groove_enable", 1) config.set("game", "big_rock_endings", 1) - config.set("game", "in_game_stars", 1) config.set("game", "mark_solo_sections", 2) Log.debug("Quickset Gameplay - Theme-Based") @@ -1399,7 +1387,6 @@ def quickset(config): config.set("game", "sp_notes_while_active", 3) config.set("game", "bass_groove_enable", 3) config.set("game", "big_rock_endings", 2) - config.set("game", "in_game_stars", 2) config.set("game", "counting", True) config.set("game", "mark_solo_sections", 1) Log.debug("Quickset Gameplay - RB style") @@ -1408,7 +1395,6 @@ def quickset(config): config.set("game", "sp_notes_while_active", 0) config.set("game", "bass_groove_enable", 0) config.set("game", "big_rock_endings", 0) - config.set("game", "in_game_stars", 0) config.set("game", "counting", False) config.set("game", "mark_solo_sections", 0) Log.debug("Quickset Gameplay - GH style") @@ -1417,7 +1403,6 @@ def quickset(config): config.set("game", "sp_notes_while_active", 0) config.set("game", "bass_groove_enable", 0) config.set("game", "big_rock_endings", 0) - config.set("game", "in_game_stars", 0) config.set("game", "counting", True) config.set("game", "mark_solo_sections", 1) Log.debug("Quickset Gameplay - WT style") @@ -1440,12 +1425,10 @@ def quickset(config): config.set("video", "multisamples", 0) config.set("video", "shader_use", False) config.set("coffee", "game_phrases", 0) - config.set("game", "partial_stars", 0) config.set("game", "stage_animate", 0) config.set("game", "lyric_mode", 0) config.set("game", "use_graphical_submenu", 0) config.set("audio", "enable_crowd_tracks", 0) - config.set("performance", "in_game_stats", 0) config.set("performance", "static_strings", True) config.set("performance", "disable_libcount", True) config.set("performance", "killfx", 2) @@ -1470,7 +1453,6 @@ def quickset(config): config.set("game", "lyric_mode", 2) config.set("game", "use_graphical_submenu", 0) config.set("audio", "enable_crowd_tracks", 1) - config.set("performance", "in_game_stats", 0) config.set("performance", "static_strings", True) config.set("performance", "disable_libcount", True) config.set("performance", "killfx", 0) @@ -1494,7 +1476,6 @@ def quickset(config): config.set("game", "lyric_mode", 2) config.set("game", "use_graphical_submenu", 1) config.set("audio", "enable_crowd_tracks", 1) - config.set("performance", "in_game_stats", 2) config.set("performance", "static_strings", True) config.set("performance", "disable_libcount", True) config.set("performance", "killfx", 0) @@ -1519,7 +1500,6 @@ def quickset(config): config.set("game", "lyric_mode", 2) config.set("game", "use_graphical_submenu", 1) config.set("audio", "enable_crowd_tracks", 1) - config.set("performance", "in_game_stats", 2) config.set("performance", "static_strings", False) config.set("performance", "disable_libcount", False) config.set("performance", "killfx", 0)