mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
changelogs
This commit is contained in:
parent
893167533f
commit
e0b7c12bd0
2 changed files with 9 additions and 12 deletions
|
|
@ -12,10 +12,13 @@ Replaced Japanese font with pixel one
|
||||||
Added SDL_HINT_INVALID_PARAM_CHECKS controller in Settings>Advanced
|
Added SDL_HINT_INVALID_PARAM_CHECKS controller in Settings>Advanced
|
||||||
Added "Stream Privacy"
|
Added "Stream Privacy"
|
||||||
Added a change to sub categories in the settings
|
Added a change to sub categories in the settings
|
||||||
Added way to set move panorama with custom speed value
|
codebg panorama moving always
|
||||||
Dynamic light configured in Tower
|
Dynamic light configured in Tower
|
||||||
Added SANITIZERS build option
|
Added SANITIZERS build option
|
||||||
"Watcher" time check function fixed
|
"Watcher" time check function fixed
|
||||||
Ruby CTime.hour added
|
Ruby CTime.hour added
|
||||||
LoadQASave Deleted
|
LoadQASave Deleted
|
||||||
TPtL translation issue fixed
|
TPtL translation issue fixed
|
||||||
|
fixed Obscured film bug
|
||||||
|
added icons and way to disable options in settings
|
||||||
|
fixed segfault while to fast window size changing
|
||||||
|
|
@ -124,16 +124,16 @@ class Window_Settings
|
||||||
|
|
||||||
def disable_setting(screen, position)
|
def disable_setting(screen, position)
|
||||||
if screen.is_a?(String)
|
if screen.is_a?(String)
|
||||||
get_parameter(screen, position).disable
|
get_parameter(screen, position).disabled = true
|
||||||
else
|
else
|
||||||
get_parameter_by_sceen_id(screen, position).disable
|
get_parameter_by_sceen_id(screen, position).disabled = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def enable_setting(screen, position)
|
def enable_setting(screen, position)
|
||||||
if screen.is_a?(String)
|
if screen.is_a?(String)
|
||||||
get_parameter(screen, position).enable
|
get_parameter(screen, position).disabled = false
|
||||||
else
|
else
|
||||||
get_parameter_by_sceen_id(screen, position).enable
|
get_parameter_by_sceen_id(screen, position).disabled = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -325,6 +325,7 @@ class Window_Settings
|
||||||
# ----------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------
|
||||||
class BaseParameter
|
class BaseParameter
|
||||||
TYPE = :base
|
TYPE = :base
|
||||||
|
attr_accessor :disabled
|
||||||
|
|
||||||
def initialize(settings_content, screen_id, position, name, icon, parameter, init_value)
|
def initialize(settings_content, screen_id, position, name, icon, parameter, init_value)
|
||||||
@settings_content = settings_content
|
@settings_content = settings_content
|
||||||
|
|
@ -354,13 +355,6 @@ class Window_Settings
|
||||||
redraw
|
redraw
|
||||||
end
|
end
|
||||||
|
|
||||||
def enable
|
|
||||||
@disabled = false
|
|
||||||
end
|
|
||||||
def disable
|
|
||||||
@disabled = true
|
|
||||||
end
|
|
||||||
|
|
||||||
def opacity
|
def opacity
|
||||||
@opacity
|
@opacity
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue