Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
d9307cfa
Commit
d9307cfa
authored
May 22, 2012
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.6.2
parent
237b8d3a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
Rakefile
Rakefile
+1
-1
lib/scene_lobby.rb
lib/scene_lobby.rb
+1
-1
lib/update.rb
lib/update.rb
+1
-1
lib/window_lobbybuttons.rb
lib/window_lobbybuttons.rb
+6
-3
lib/ygocore/game.rb
lib/ygocore/game.rb
+1
-1
No files found.
Rakefile
View file @
d9307cfa
...
...
@@ -24,7 +24,7 @@ end
spec
=
Gem
::
Specification
.
new
do
|
s
|
s
.
name
=
'mycard'
s
.
version
=
'0.6.
1
'
s
.
version
=
'0.6.
2
'
s
.
extra_rdoc_files
=
[
'README.txt'
,
'LICENSE.txt'
]
s
.
summary
=
'a card game'
s
.
description
=
s
.
summary
...
...
lib/scene_lobby.rb
View file @
d9307cfa
...
...
@@ -23,7 +23,7 @@ class Scene_Lobby < Scene
@userlist
=
Window_UserList
.
new
(
24
,
204
,
$game
.
users
)
@roomlist
=
Window_RoomList
.
new
(
320
,
50
,
$game
.
rooms
)
@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
@chat_window
=
Window_Chat
.
new
(
313
,
543
,
698
,
212
)
@count
=
0
...
...
lib/update.rb
View file @
d9307cfa
...
...
@@ -2,7 +2,7 @@ require 'open-uri'
require
"fileutils"
require_relative
'card'
module
Update
Version
=
'0.6.
1
'
Version
=
'0.6.
2
'
URL
=
"http://card.touhou.cc/mycard/update.json?version=
#{
Version
}
"
class
<<
self
attr_reader
:thumbnails
,
:images
,
:status
...
...
lib/window_lobbybuttons.rb
View file @
d9307cfa
require_relative
'window_host'
class
Window_LobbyButtons
<
Window_List
def
initialize
(
x
,
y
)
@items
=
[
"卡组编辑"
,
"建立房间"
]
@items
=
[
"
常见问题"
,
"
卡组编辑"
,
"建立房间"
]
@button
=
Surface
.
load
(
"graphics/lobby/button.png"
)
super
(
x
,
y
,
@items
.
size
*
@button
.
w
/
3
+
@items
.
size
*
4
,
30
)
@font
=
TTF
.
open
(
"fonts/wqy-microhei.ttc"
,
15
)
...
...
@@ -27,9 +27,12 @@ class Window_LobbyButtons < Window_List
end
def
clicked
case
@index
when
0
#卡组编辑
when
0
#常见问题
require_relative
'dialog'
Dialog
.
web
"http://card.touhou.cc/topics/1453"
when
1
#卡组编辑
$game
.
class
.
deck_edit
when
1
#建立房间
when
2
#建立房间
@host_window
=
Window_Host
.
new
(
300
,
200
)
end
end
...
...
lib/ygocore/game.rb
View file @
d9307cfa
...
...
@@ -25,7 +25,7 @@ class Ygocore < Game
def
connect
@recv
=
Thread
.
new
do
EventMachine
::
run
{
EventMachine
::
connect
"
122.0.65.71
"
,
9998
,
Client
EventMachine
::
connect
"
bbs.66rpg.com
"
,
9998
,
Client
}
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment