This commit is contained in:
DepressedTWM 2026-07-30 10:54:31 +04:00
commit 8f8fc4653a
17 changed files with 30 additions and 32 deletions

View file

@ -1,10 +1,12 @@
Programmers: # Peoples
## Programmers
* Issac332 * Issac332
* "Визя" * "Визя"
* DepressedTWM * DepressedTWM
* referr * referr
Artists: ## Artists
* Issac332 * Issac332
* Creature_of_steel1 * Creature_of_steel1
* DesMo * DesMo
@ -13,24 +15,28 @@ Artists:
* K1RMAN * K1RMAN
* Serega_play_x * Serega_play_x
Testers and helpers: ## Testers and helpers:
* Rubik * Rubik
* Prime 223432 * Prime 223432
Telegram moderators: ## Donators
* Kodu
## Telegram moderators
* Creature_of_steel1 * Creature_of_steel1
* Обси(ENG channel) * Обси(ENG channel)
* Freskovich(leaved) * Freskovich
* "Визя" * "Визя"
Matrix moderators: ## Matrix moderators
* referr * referr
Servers administrators ## Servers administrators
* DepressedTWM * DepressedTWM
Special thanks to: ## Special thanks to
* my mom and dad:3 * my mom and dad:3
* Friends:3
Donators: ## Donators:
* Kodu * Kodu

View file

@ -1,5 +1,4 @@
# mkxp-sunshine # mkxp-sunshine
This is a specialized fork of [mkxp-oneshot](https://github.com/elizagamedev/mkxp-oneshot) designed for OneShot: Sunshine mod. This is a specialized fork of [mkxp-oneshot](https://github.com/elizagamedev/mkxp-oneshot) designed for OneShot: Sunshine mod.
Target of sunshine mod - improve original game. Target of sunshine mod - improve original game.
@ -11,7 +10,7 @@ Target of sunshine mod - improve original game.
1. Install required packages 1. Install required packages
* Cmake * Cmake
* C/C++ compiler(GCC 14+/Clang(untested)/MinGW) * C/C++ compiler, GCC 14+ or Clang(untested) or MinGW or MSVC(untested)
* xxd * xxd
* Ruby 3.4+ * Ruby 3.4+
* Boost * Boost

View file

@ -22,4 +22,6 @@ TPtL translation issue fixed
fixed Obscured film bug fixed Obscured film bug
added icons and way to disable options in settings added icons and way to disable options in settings
fixed segfault while to fast window size changing fixed segfault while to fast window size changing
updated cg_blue picture updated cg_blue picture
Deleted useless hooks

View file

@ -89,13 +89,11 @@ set(scripts
Dynamic_Resolution.rb Dynamic_Resolution.rb
ModAPI.rb) ModAPI.rb)
find_program(RUBY_EXE ruby find_program(RUBY_EXE ruby DOC "Location of the Ruby executable")
DOC "Location of the Ruby executable")
set(game_dir "${CMAKE_BINARY_DIR}/bin") set(game_dir "${CMAKE_BINARY_DIR}/bin")
set(data_dir "${game_dir}/Data") set(data_dir "${game_dir}/Data")
set(xscripts "${data_dir}/xScripts.rxdata") set(xscripts "${data_dir}/xScripts.rxdata")
add_custom_target(data_dir ALL add_custom_target(data_dir ALL COMMAND ${CMAKE_COMMAND} -E make_directory "${data_dir}")
COMMAND ${CMAKE_COMMAND} -E make_directory "${data_dir}")
add_custom_command( add_custom_command(
OUTPUT "${xscripts}" OUTPUT "${xscripts}"
COMMAND "${RUBY_EXE}" "${CMAKE_SOURCE_DIR}/rpgscript.rb" "${CMAKE_CURRENT_LIST_DIR}" "${game_dir}" COMMAND "${RUBY_EXE}" "${CMAKE_SOURCE_DIR}/rpgscript.rb" "${CMAKE_CURRENT_LIST_DIR}" "${game_dir}"

View file

@ -1,6 +1,5 @@
# Displays doc message boxes # Displays doc message boxes
class Credits_Message class Credits_Message
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * Object Initialization # * Object Initialization
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
@ -59,7 +58,6 @@ class Credits_Message
# * Refresh: Load new message text and pre-process it # * Refresh: Load new message text and pre-process it
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
def refresh def refresh
if $game_switches[104] if $game_switches[104]
@sprite_bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(0, 0, 0, 255)) @sprite_bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(0, 0, 0, 255))
else else

View file

@ -6,6 +6,7 @@ module Settings
:bgm_volume => 100, :bgm_volume => 100,
:sfx_volume => 100, :sfx_volume => 100,
:use_fight_crime_track => false, :use_fight_crime_track => false,
:use_old_self_contained_universe_reprise => false,
# Video # Video
:fullscreen => false, :fullscreen => false,
@ -172,6 +173,11 @@ class Window_Settings
:name => "ITS TIME FOR FIGHT CRIME", :name => "ITS TIME FOR FIGHT CRIME",
:parameter => :use_fight_crime_track :parameter => :use_fight_crime_track
}, },
{
:type => :bool,
:name => "Use Old Self Contained Universe(Reprise) version",
:parameter => :use_old_self_contained_universe_reprise
},
], ],
"Video" => [ "Video" => [
{ :type => :sep, :name => "Screen"}, { :type => :sep, :name => "Screen"},

View file

@ -9,12 +9,11 @@ class Desktop_Message
def initialize def initialize
@viewport = Viewport.new(0, 0, Graphics.width, Graphics.height) @viewport = Viewport.new(0, 0, Graphics.width, Graphics.height)
@sprite_messagebox = Sprite.new(@viewport) @sprite_messagebox = Sprite.new(@viewport)
@sprite_messagebox.bitmap = RPG::Cache.picture('cg_desktop_messagebox') #Bitmap.new(640, 480) @sprite_messagebox.bitmap = RPG::Cache.picture('cg_desktop_messagebox')
@sprite_messagebox.zoom_x = @sprite_messagebox.zoom_y = 2 @sprite_messagebox.zoom_x = @sprite_messagebox.zoom_y = 2
@sprite_messagebox.x = (Graphics.width) / 2 - 320 @sprite_messagebox.x = (Graphics.width) / 2 - 320
@sprite_messagebox.y = (Graphics.height) / 2 - 240 @sprite_messagebox.y = (Graphics.height) / 2 - 240
@sprite_messagebox.shader = Shader::CRT @sprite_messagebox.shader = Shader::CRT
@sprite_text = Sprite.new(@viewport) @sprite_text = Sprite.new(@viewport)
@contents = Bitmap.new(Graphics.width, Graphics.height) @contents = Bitmap.new(Graphics.width, Graphics.height)
Language.register_text_sprite(self.class.name + "_contents", @contents) Language.register_text_sprite(self.class.name + "_contents", @contents)
@ -32,7 +31,6 @@ class Desktop_Message
# Animation flags # Animation flags
@fade_in = false @fade_in = false
@fade_out = false @fade_out = false
RPG::Mod.exec_hooks("hooks/Desktop_Message/init", binding)
end end
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * Dispose # * Dispose

View file

@ -53,7 +53,6 @@ class Doc_Message
# Animation flags # Animation flags
@fade_in = false @fade_in = false
@fade_out = false @fade_out = false
RPG::Mod.exec_hooks("hooks/Doc_Message/init", binding)
end end
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * Dispose # * Dispose

View file

@ -40,8 +40,6 @@ class Ed_Message
@contents = Bitmap.new(w, h) @contents = Bitmap.new(w, h)
@sprite_text.bitmap = @contents @sprite_text.bitmap = @contents
end end
RPG::Mod.exec_hooks("hooks/Ed_Message/init", binding)
end end
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * Dispose # * Dispose

View file

@ -92,7 +92,6 @@ class FastTravel
@fade_out = false @fade_out = false
@transfer_player = nil @transfer_player = nil
RPG::Mod.exec_hooks("hooks/FastTravel/init", binding)
end end
#WME #WME

View file

@ -13,7 +13,6 @@ class Game_CommonEvent
def initialize(common_event_id) def initialize(common_event_id)
@common_event_id = common_event_id @common_event_id = common_event_id
@interpreter = nil @interpreter = nil
RPG::Mod.exec_hooks("hooks/Game_CommonEvent/init", binding)
refresh refresh
end end
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------

View file

@ -21,7 +21,6 @@ class Game_FastTravel
@unlocked = {} @unlocked = {}
@zone = nil @zone = nil
@enabled = false @enabled = false
RPG::Mod.exec_hooks("hooks/Game_FastTravel/init", binding)
end end
def unlock(map, id, x, y, dir) def unlock(map, id, x, y, dir)

View file

@ -12,7 +12,6 @@ class Game_Follower < Game_Character
@leader = leader @leader = leader
self.actor = actor self.actor = actor
moveto(leader.x, leader.y) moveto(leader.x, leader.y)
RPG::Mod.exec_hooks("hooks/Game_Follower/init", binding)
end end
# Overrides # Overrides

View file

@ -147,4 +147,4 @@ class Game_Light
@plr_light_table[15] = val&.[](15) || 1 @plr_light_table[15] = val&.[](15) || 1
awake awake
end end
end end

View file

@ -14,7 +14,6 @@ class Game_Oneshot
@plight_timer = nil @plight_timer = nil
@wallpaper = nil @wallpaper = nil
@bruteforce_start = nil @bruteforce_start = nil
RPG::Mod.exec_hooks("hooks/Game_Oneshot/init", binding)
end end
def self.get_user_name def self.get_user_name

View file

@ -25,7 +25,6 @@ class Game_Party
@items = {} @items = {}
@weapons = {} @weapons = {}
@armors = {} @armors = {}
RPG::Mod.exec_hooks("hooks/Game_Party/init", binding)
end end
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# * Initial Party Setup # * Initial Party Setup

View file

@ -218,4 +218,4 @@ module GamepadMapColors
258 => WORLD_MACHINE, 258 => WORLD_MACHINE,
259 => WORLD_MACHINE, 259 => WORLD_MACHINE,
} }
end end