mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Merge branch 'dev' into ai
This commit is contained in:
@@ -317,7 +317,7 @@ end
|
||||
# NOTE: load_data checks anything added in MKXP's RTP setting, and matching
|
||||
# mount points added through System.mount.
|
||||
def pbRgssOpen(file, mode = nil)
|
||||
# File.open("debug.txt","ab") { |fw| fw.write([file,mode,Time.now.to_f].inspect+"\r\n") }
|
||||
# File.open("debug.txt", "ab") { |fw| fw.write([file, mode, Time.now.to_f].inspect + "\r\n") }
|
||||
if !safeExists?("./Game.rgssad")
|
||||
if block_given?
|
||||
File.open(file, mode) { |f| yield f }
|
||||
|
||||
@@ -329,30 +329,6 @@ class Color
|
||||
def self.orange; return Color.new(255, 155, 0); end
|
||||
def self.purple; return Color.new(155, 0, 255); end
|
||||
def self.brown; return Color.new(112, 72, 32); end
|
||||
|
||||
# TODO: These are from def getSkinColor. It isn't appropriate to make Color
|
||||
# objects of these, though, as they're just converted straight back into
|
||||
# hex strings.
|
||||
# def self.text_blue; return Color.new( 0, 112, 248); end
|
||||
# def self.text_blue_light; return Color.new(120, 184, 232); end
|
||||
# def self.text_red; return Color.new(232, 32, 16); end
|
||||
# def self.text_red_light; return Color.new(248, 168, 184); end
|
||||
# def self.text_green; return Color.new( 96, 176, 72); end
|
||||
# def self.text_green_light; return Color.new(174, 208, 144); end
|
||||
# def self.text_cyan; return Color.new( 72, 216, 216); end
|
||||
# def self.text_cyan_light; return Color.new(168, 224, 224); end
|
||||
# def self.text_magenta; return Color.new(208, 56, 184); end
|
||||
# def self.text_magenta_light; return Color.new(232, 160, 224); end
|
||||
# def self.text_yellow; return Color.new(232, 208, 32); end
|
||||
# def self.text_yellow_light; return Color.new(248, 232, 136); end
|
||||
# def self.text_gray; return Color.new(160, 160, 168); end
|
||||
# def self.text_gray_light; return Color.new(208, 208, 216); end
|
||||
# def self.text_white; return Color.new(240, 240, 248); end
|
||||
# def self.text_white_light; return Color.new(200, 200, 208); end # Intentionally darker than text_white
|
||||
# def self.text_purple; return Color.new(114, 64, 232); end
|
||||
# def self.text_purple_light; return Color.new(184, 168, 224); end
|
||||
# def self.text_orange; return Color.new(248, 152, 24); end
|
||||
# def self.text_orange_light; return Color.new(248, 200, 152); end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
@@ -284,8 +284,8 @@ module Translator
|
||||
f.write(0xEF.chr)
|
||||
f.write(0xBB.chr)
|
||||
f.write(0xBF.chr)
|
||||
f.write("# To localize this text for a particular language, please\r\n")
|
||||
f.write("# translate every second line of this file.\r\n")
|
||||
f.write("# To localize this text for a particular language, please" + "\r\n")
|
||||
f.write("# translate every second line of this file." + "\r\n")
|
||||
f.write("\#-------------------------------\r\n") if with_line
|
||||
end
|
||||
# Extract the text
|
||||
|
||||
Reference in New Issue
Block a user