mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Removed redundant "\r" from various messages, removed usages of BitmapWrapper, fixed Lure Ball error in battles started in the Debug menu, improved Terrain Tag editor, fixed some Compiler errors, enabled vsync, fixed event graphics frozen to the screen when using $game_player.moveto directly.
This commit is contained in:
@@ -41,7 +41,7 @@ module Kernel
|
||||
|
||||
def echoln(string)
|
||||
echo string
|
||||
echo "\r\n"
|
||||
echo "\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@ module Deprecation
|
||||
def warn_method(method_name, removal_version = nil, alternative = nil)
|
||||
text = _INTL('Usage of deprecated method "{1}" or its alias.', method_name)
|
||||
unless removal_version.nil?
|
||||
text += "\r\n" + _INTL("The method is slated to be removed in Essentials {1}.", removal_version)
|
||||
text += "\n" + _INTL("The method is slated to be removed in Essentials {1}.", removal_version)
|
||||
end
|
||||
unless alternative.nil?
|
||||
text += "\r\n" + _INTL("Use \"{1}\" instead.", alternative)
|
||||
text += "\n" + _INTL("Use \"{1}\" instead.", alternative)
|
||||
end
|
||||
Console.echo_warn text
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ module Mouse
|
||||
|
||||
# Returns the position of the mouse relative to the game window.
|
||||
def getMousePos(catch_anywhere = false)
|
||||
return nil unless System.mouse_in_window || catch_anywhere
|
||||
return nil unless Input.mouse_in_window || catch_anywhere
|
||||
return Input.mouse_x, Input.mouse_y
|
||||
end
|
||||
end
|
||||
|
||||
@@ -413,7 +413,7 @@ module PluginManager
|
||||
Compiler.pbCompilerEachPreppedLine(filename) do |line, line_no|
|
||||
# split line up into property name and values
|
||||
if !line[/^\s*(\w+)\s*=\s*(.*)$/]
|
||||
raise _INTL("Bad line syntax (expected syntax like XXX=YYY)\r\n{1}", FileLineData.linereport)
|
||||
raise _INTL("Bad line syntax (expected syntax like XXX=YYY)\n{1}", FileLineData.linereport)
|
||||
end
|
||||
property = $~[1].upcase
|
||||
data = $~[2].split(",")
|
||||
|
||||
Reference in New Issue
Block a user