mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
😭
This commit is contained in:
parent
5f4cc8efc0
commit
229c65021e
4 changed files with 19 additions and 16 deletions
|
|
@ -10,9 +10,8 @@ Target of sunshine mod - improve original game.
|
|||
## Build
|
||||
|
||||
1. Install required packages
|
||||
* GCC 14+
|
||||
* Cmake
|
||||
* C/C++ compiler
|
||||
* C/C++ compiler(GCC 14+/Clang(untested)/MinGW)
|
||||
* xxd
|
||||
* Ruby 3.4+
|
||||
* Boost
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ module Settings
|
|||
:in_game_timer => false,
|
||||
:language => 0,
|
||||
:fasttravel_ui => 0,
|
||||
:mainmenu_background => 0,
|
||||
|
||||
# Gameplay
|
||||
:movement => 0,
|
||||
|
|
@ -128,7 +129,6 @@ class Window_Settings
|
|||
# if parameter is linked to data in class Settings, then default value in this structure is ignored
|
||||
DATA = {
|
||||
"Help" => [
|
||||
#{ :type => :sep }
|
||||
{
|
||||
:type => :base,
|
||||
:name => "- It's Dangerous!",
|
||||
|
|
@ -228,6 +228,13 @@ class Window_Settings
|
|||
:icon => [0, 1],
|
||||
:values => ["Original", "WME (WIP)"]
|
||||
},
|
||||
{
|
||||
:type => :enum,
|
||||
:name => "Main menu background",
|
||||
:icon => [3, 0],
|
||||
:parameter => :mainmenu_background,
|
||||
:values => ["Original", "Badend"]
|
||||
},
|
||||
],
|
||||
"Gameplay" => [
|
||||
{ :type => :sep, :name => "Vanilla" },
|
||||
|
|
|
|||
|
|
@ -42,17 +42,15 @@ class Scene_Title
|
|||
# Make title graphic
|
||||
@sprite = Sprite.new(@viewport)
|
||||
|
||||
# chinese has its own special title screen so check for it
|
||||
translation_name = "#{$persistent.langcode}/#{$data_system.title_name}"
|
||||
if File.exist?("Graphics/Titles/#{translation_name}.png")
|
||||
@sprite.bitmap = RPG::Cache.title(translation_name)
|
||||
if File.exist?("badend.lock")
|
||||
@sprite.bitmap = RPG::Cache.title("badend")
|
||||
else
|
||||
if File.exist?("badend.lock")
|
||||
@sprite.bitmap = RPG::Cache.title("badend")
|
||||
else
|
||||
@sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||
end
|
||||
end
|
||||
case Settings[:mainmenu_background]
|
||||
when 0 then @sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||
when 1 then @sprite.bitmap = RPG::Cache.title("badend")
|
||||
else @sprite.bitmap = RPG::Cache.title($data_system.title_name)
|
||||
end
|
||||
end
|
||||
@sprite.x = Graphics.width / 2
|
||||
@sprite.y = Graphics.height / 2
|
||||
px = (Graphics.width / 1920.0)
|
||||
|
|
|
|||
|
|
@ -170,8 +170,7 @@ module Script
|
|||
end
|
||||
|
||||
def self.cdown_update(equinox)
|
||||
diff = 0
|
||||
end
|
||||
diff = 0
|
||||
seconds = diff % 60
|
||||
minutes = ((diff - seconds)/ 60) % 60
|
||||
hours = ((((diff - seconds)/ 60) - minutes) / 60) % 24
|
||||
|
|
@ -240,10 +239,10 @@ module Script
|
|||
end
|
||||
|
||||
def self.countdown_update_rue
|
||||
def self.reflection_update(npc_id, offset_x = 0, offset_y = 0, reverse_x = false, reverse_y = false)
|
||||
return cdown_update(0)
|
||||
end
|
||||
|
||||
def self.reflection_update(npc_id, offset_x = 0, offset_y = 0, reverse_x = false, reverse_y = false)
|
||||
event = $game_map.events[npc_id]
|
||||
event.real_x = reverse_x ? offset_x * 128 - $game_player.real_x : $game_player.real_x + offset_x * 128
|
||||
event.real_y = reverse_y ? offset_y * 128 - $game_player.real_y : $game_player.real_y + offset_y * 128
|
||||
|
|
|
|||
Loading…
Reference in a new issue