Commit d9307cfa authored by 神楽坂玲奈's avatar 神楽坂玲奈

0.6.2

parent 237b8d3a
...@@ -24,7 +24,7 @@ end ...@@ -24,7 +24,7 @@ end
spec = Gem::Specification.new do |s| spec = Gem::Specification.new do |s|
s.name = 'mycard' s.name = 'mycard'
s.version = '0.6.1' s.version = '0.6.2'
s.extra_rdoc_files = ['README.txt', 'LICENSE.txt'] s.extra_rdoc_files = ['README.txt', 'LICENSE.txt']
s.summary = 'a card game' s.summary = 'a card game'
s.description = s.summary s.description = s.summary
......
...@@ -23,7 +23,7 @@ class Scene_Lobby < Scene ...@@ -23,7 +23,7 @@ class Scene_Lobby < Scene
@userlist = Window_UserList.new(24,204,$game.users) @userlist = Window_UserList.new(24,204,$game.users)
@roomlist = Window_RoomList.new(320,50,$game.rooms) @roomlist = Window_RoomList.new(320,50,$game.rooms)
@userinfo = Window_UserInfo.new(24,24, $game.user) @userinfo = Window_UserInfo.new(24,24, $game.user)
@host_window = Window_LobbyButtons.new(830,18) @host_window = Window_LobbyButtons.new(748,18)
@active_window = @roomlist @active_window = @roomlist
@chat_window = Window_Chat.new(313,543,698,212) @chat_window = Window_Chat.new(313,543,698,212)
@count = 0 @count = 0
......
...@@ -2,7 +2,7 @@ require 'open-uri' ...@@ -2,7 +2,7 @@ require 'open-uri'
require "fileutils" require "fileutils"
require_relative 'card' require_relative 'card'
module Update module Update
Version = '0.6.1' Version = '0.6.2'
URL = "http://card.touhou.cc/mycard/update.json?version=#{Version}" URL = "http://card.touhou.cc/mycard/update.json?version=#{Version}"
class <<self class <<self
attr_reader :thumbnails, :images, :status attr_reader :thumbnails, :images, :status
......
require_relative 'window_host' require_relative 'window_host'
class Window_LobbyButtons < Window_List class Window_LobbyButtons < Window_List
def initialize(x,y) def initialize(x,y)
@items = ["卡组编辑","建立房间"] @items = ["常见问题","卡组编辑","建立房间"]
@button = Surface.load("graphics/lobby/button.png") @button = Surface.load("graphics/lobby/button.png")
super(x,y,@items.size*@button.w/3+@items.size*4,30) super(x,y,@items.size*@button.w/3+@items.size*4,30)
@font = TTF.open("fonts/wqy-microhei.ttc", 15) @font = TTF.open("fonts/wqy-microhei.ttc", 15)
...@@ -27,9 +27,12 @@ class Window_LobbyButtons < Window_List ...@@ -27,9 +27,12 @@ class Window_LobbyButtons < Window_List
end end
def clicked def clicked
case @index case @index
when 0 #卡组编辑 when 0 #常见问题
require_relative 'dialog'
Dialog.web "http://card.touhou.cc/topics/1453"
when 1 #卡组编辑
$game.class.deck_edit $game.class.deck_edit
when 1 #建立房间 when 2 #建立房间
@host_window = Window_Host.new(300,200) @host_window = Window_Host.new(300,200)
end end
end end
......
...@@ -25,7 +25,7 @@ class Ygocore < Game ...@@ -25,7 +25,7 @@ class Ygocore < Game
def connect def connect
@recv = Thread.new do @recv = Thread.new do
EventMachine::run { EventMachine::run {
EventMachine::connect "122.0.65.71", 9998, Client EventMachine::connect "bbs.66rpg.com", 9998, Client
} }
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment