Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
2ec1fcb1
Commit
2ec1fcb1
authored
Jul 13, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:Fluorohydride/ygopro
parents
86de9db4
4d893d52
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
gframe/duelclient.cpp
gframe/duelclient.cpp
+1
-1
gframe/duelclient.h
gframe/duelclient.h
+1
-1
gframe/event_handler.cpp
gframe/event_handler.cpp
+2
-3
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-0
strings.conf
strings.conf
+5
-5
No files found.
gframe/duelclient.cpp
View file @
2ec1fcb1
...
@@ -27,7 +27,7 @@ bool DuelClient::is_swapping = false;
...
@@ -27,7 +27,7 @@ bool DuelClient::is_swapping = false;
int
DuelClient
::
select_hint
=
0
;
int
DuelClient
::
select_hint
=
0
;
int
DuelClient
::
select_unselect_hint
=
0
;
int
DuelClient
::
select_unselect_hint
=
0
;
int
DuelClient
::
last_select_hint
=
0
;
int
DuelClient
::
last_select_hint
=
0
;
char
DuelClient
::
last_successful_msg
[
2048
];
char
DuelClient
::
last_successful_msg
[
0x2000
];
unsigned
int
DuelClient
::
last_successful_msg_length
=
0
;
unsigned
int
DuelClient
::
last_successful_msg_length
=
0
;
wchar_t
DuelClient
::
event_string
[
256
];
wchar_t
DuelClient
::
event_string
[
256
];
mtrandom
DuelClient
::
rnd
;
mtrandom
DuelClient
::
rnd
;
...
...
gframe/duelclient.h
View file @
2ec1fcb1
...
@@ -33,7 +33,7 @@ private:
...
@@ -33,7 +33,7 @@ private:
static
int
select_hint
;
static
int
select_hint
;
static
int
select_unselect_hint
;
static
int
select_unselect_hint
;
static
int
last_select_hint
;
static
int
last_select_hint
;
static
char
last_successful_msg
[
2048
];
static
char
last_successful_msg
[
0x2000
];
static
unsigned
int
last_successful_msg_length
;
static
unsigned
int
last_successful_msg_length
;
static
wchar_t
event_string
[
256
];
static
wchar_t
event_string
[
256
];
static
mtrandom
rnd
;
static
mtrandom
rnd
;
...
...
gframe/event_handler.cpp
View file @
2ec1fcb1
...
@@ -1540,8 +1540,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1540,8 +1540,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
myswprintf
(
formatBuffer
,
L"%ls"
,
dataManager
.
GetName
(
mcard
->
code
));
myswprintf
(
formatBuffer
,
L"%ls"
,
dataManager
.
GetName
(
mcard
->
code
));
str
.
append
(
formatBuffer
);
str
.
append
(
formatBuffer
);
if
(
mcard
->
type
&
TYPE_MONSTER
)
{
if
(
mcard
->
type
&
TYPE_MONSTER
)
{
if
(
mcard
->
alias
&&
(
mcard
->
alias
<
mcard
->
code
-
10
||
mcard
->
alias
>
mcard
->
code
+
10
)
if
(
mcard
->
alias
&&
wcscmp
(
dataManager
.
GetName
(
mcard
->
code
),
dataManager
.
GetName
(
mcard
->
alias
)))
{
&&
wcscmp
(
dataManager
.
GetName
(
mcard
->
code
),
dataManager
.
GetName
(
mcard
->
alias
)))
{
myswprintf
(
formatBuffer
,
L"
\n
(%ls)"
,
dataManager
.
GetName
(
mcard
->
alias
));
myswprintf
(
formatBuffer
,
L"
\n
(%ls)"
,
dataManager
.
GetName
(
mcard
->
alias
));
str
.
append
(
formatBuffer
);
str
.
append
(
formatBuffer
);
}
}
...
@@ -1563,7 +1562,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
...
@@ -1563,7 +1562,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
str
.
append
(
formatBuffer
);
str
.
append
(
formatBuffer
);
}
}
}
else
{
}
else
{
if
(
mcard
->
alias
&&
(
mcard
->
alias
<
mcard
->
code
-
10
||
mcard
->
alias
>
mcard
->
code
+
10
))
{
if
(
mcard
->
alias
&&
wcscmp
(
dataManager
.
GetName
(
mcard
->
code
),
dataManager
.
GetName
(
mcard
->
alias
)
))
{
myswprintf
(
formatBuffer
,
L"
\n
(%ls)"
,
dataManager
.
GetName
(
mcard
->
alias
));
myswprintf
(
formatBuffer
,
L"
\n
(%ls)"
,
dataManager
.
GetName
(
mcard
->
alias
));
str
.
append
(
formatBuffer
);
str
.
append
(
formatBuffer
);
}
}
...
...
gframe/single_mode.cpp
View file @
2ec1fcb1
...
@@ -130,6 +130,7 @@ int SingleMode::SinglePlayThread(void* param) {
...
@@ -130,6 +130,7 @@ int SingleMode::SinglePlayThread(void* param) {
}
}
}
}
last_replay
.
EndRecord
();
last_replay
.
EndRecord
();
mainGame
->
gMutex
.
Lock
();
time_t
nowtime
=
time
(
NULL
);
time_t
nowtime
=
time
(
NULL
);
tm
*
localedtime
=
localtime
(
&
nowtime
);
tm
*
localedtime
=
localtime
(
&
nowtime
);
wchar_t
timetext
[
40
];
wchar_t
timetext
[
40
];
...
...
strings.conf
View file @
2ec1fcb1
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
!
system
5
特殊召唤成功
!
system
5
特殊召唤成功
!
system
6
反转召唤成功
!
system
6
反转召唤成功
!
system
7
发动
!
system
7
发动
!
system
10
移
除指示物
!
system
10
取
除指示物
!
system
11
支付基本分
!
system
11
支付基本分
!
system
12
移
除本身的素材
!
system
12
取
除本身的素材
!
system
20
抽卡阶段中
!
system
20
抽卡阶段中
!
system
21
准备阶段中
!
system
21
准备阶段中
!
system
22
主要阶段中
!
system
22
主要阶段中
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
!
system
201
此时没有可以发动的效果
!
system
201
此时没有可以发动的效果
!
system
202
是否要确认场上的情况?
!
system
202
是否要确认场上的情况?
!
system
203
是否要进行连锁?
!
system
203
是否要进行连锁?
!
system
204
请
移
除%
d
个[%
ls
]
!
system
204
请
取
除%
d
个[%
ls
]
!
system
205
请选择排列顺序
!
system
205
请选择排列顺序
!
system
206
请选择连锁顺序
!
system
206
请选择连锁顺序
!
system
207
翻开卡组上方%
d
张卡:
!
system
207
翻开卡组上方%
d
张卡:
...
@@ -338,7 +338,7 @@
...
@@ -338,7 +338,7 @@
!
system
1294
可用时点
!
system
1294
可用时点
!
system
1295
取消操作
!
system
1295
取消操作
!
system
1296
完成选择
!
system
1296
完成选择
!
system
1297
切洗
手卡
!
system
1297
洗切
手卡
!
system
1298
辅助功能
!
system
1298
辅助功能
!
system
1299
加快动画效果
!
system
1299
加快动画效果
!
system
1300
卡组分类:
!
system
1300
卡组分类:
...
@@ -504,7 +504,7 @@
...
@@ -504,7 +504,7 @@
!
system
1615
我方回复%
d
基本分
!
system
1615
我方回复%
d
基本分
!
system
1616
对方回复%
d
基本分
!
system
1616
对方回复%
d
基本分
!
system
1617
[%
ls
]放置了%
d
个[%
ls
]
!
system
1617
[%
ls
]放置了%
d
个[%
ls
]
!
system
1618
[%
ls
]
移
除了%
d
个[%
ls
]
!
system
1618
[%
ls
]
取
除了%
d
个[%
ls
]
!
system
1619
[%
ls
]攻击[%
ls
]
!
system
1619
[%
ls
]攻击[%
ls
]
!
system
1620
[%
ls
]直接攻击
!
system
1620
[%
ls
]直接攻击
!
system
1621
攻击被无效
!
system
1621
攻击被无效
...
...
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