 
代码如下[code]#==============================================================================# ■ Out_Put#------------------------------------------------------------------------------#  处理调试文本输出的类#==============================================================================class Out_Put  #--------------------------------------------------------------------------  # ● 初始化对像  #--------------------------------------------------------------------------  def initialize    @text = Win32API.new("lib/OutPut/OutPut.dll","OutDebugText","p",nil)    @window = Win32API.new("lib/OutPut/OutPut.dll","OpenOutPutWindow",nil,nil)    @window.Call  end  #--------------------------------------------------------------------------  # ● 输出调试文本  #--------------------------------------------------------------------------  def debug_text(text)    @text.Call(text)  endend#==============================================================================# ■ Scene_Title#------------------------------------------------------------------------------#  处理标题画面的类。#==============================================================================class Scene_Title  #--------------------------------------------------------------------------  # ● 命令 : 新游戏  #--------------------------------------------------------------------------  alias command_new_game2 command_new_game  def command_new_game    command_new_game2     lib = Lib.new    lib.vinitialize    lib.sinitialize  endend#==============================================================================# ■ Scene_Load#------------------------------------------------------------------------------#  处理读档画面的类。#==============================================================================class Scene_Load < Scene_File  #--------------------------------------------------------------------------  # ● 读取存档数据  #     file : 读取用文件对像 (已经打开)  #--------------------------------------------------------------------------  alias read_save read_save_data  def read_save_data(file)    read_save(file)    lib = Lib.new    lib.sinitialize    lib.vinitialize  endend#==============================================================================# ■ Game_Variables#------------------------------------------------------------------------------#  处理变量的类。编入的是类 Array 的外壳。本类的实例请参考# $game_variables。#==============================================================================class Game_Variables  #--------------------------------------------------------------------------  # ● 设置变量  #     variable_id : 变量 ID  #     value       : 变量的值  #     为何要重新定义因为 变量发生改变 要回调给 DLL  #--------------------------------------------------------------------------  def []=(variable_id, value)    if variable_id   |