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
b6eaae2f
Commit
b6eaae2f
authored
Dec 06, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4a861544
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
12 deletions
+23
-12
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-2
gframe/game.cpp
gframe/game.cpp
+7
-7
ocgcore
ocgcore
+1
-1
strings.conf
strings.conf
+13
-2
No files found.
gframe/duelclient.cpp
View file @
b6eaae2f
...
...
@@ -826,7 +826,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
else
if
(
type
<
0x10
)
myswprintf
(
vic_buf
,
L"[%ls] %ls"
,
mainGame
->
dInfo
.
clientname
,
dataManager
.
GetVictoryString
(
type
));
else
myswprintf
(
vic_buf
,
dataManager
.
GetVictoryString
(
0x10
),
dataManager
.
GetName
(
BufferIO
::
ReadInt32
(
pbuf
)
));
myswprintf
(
vic_buf
,
L"%ls"
,
dataManager
.
GetVictoryString
(
type
));
mainGame
->
dInfo
.
vic_string
=
vic_buf
;
}
else
{
mainGame
->
showcardcode
=
2
;
...
...
@@ -835,7 +835,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
else
if
(
type
<
0x10
)
myswprintf
(
vic_buf
,
L"[%ls] %ls"
,
mainGame
->
dInfo
.
hostname
,
dataManager
.
GetVictoryString
(
type
));
else
myswprintf
(
vic_buf
,
dataManager
.
GetVictoryString
(
0x10
),
dataManager
.
GetName
(
BufferIO
::
ReadInt32
(
pbuf
)
));
myswprintf
(
vic_buf
,
L"%ls"
,
dataManager
.
GetVictoryString
(
type
));
mainGame
->
dInfo
.
vic_string
=
vic_buf
;
}
mainGame
->
showcard
=
101
;
...
...
gframe/game.cpp
View file @
b6eaae2f
...
...
@@ -259,19 +259,19 @@ bool Game::Initialize() {
//system
irr
::
gui
::
IGUITab
*
tabSystem
=
wInfos
->
addTab
(
dataManager
.
GetSysString
(
1273
));
chkAutoPos
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
20
,
280
,
45
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1274
));
chkAutoPos
->
setChecked
(
gameConf
.
chkAutoPos
>=
1
);
chkAutoPos
->
setChecked
(
gameConf
.
chkAutoPos
);
chkRandomPos
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
40
,
50
,
300
,
75
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1275
));
chkRandomPos
->
setChecked
(
gameConf
.
chkRandomPos
>=
1
);
chkRandomPos
->
setChecked
(
gameConf
.
chkRandomPos
);
chkAutoChain
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
80
,
280
,
105
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1276
));
chkAutoChain
->
setChecked
(
gameConf
.
chkAutoChain
>=
1
);
chkAutoChain
->
setChecked
(
gameConf
.
chkAutoChain
);
chkWaitChain
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
110
,
280
,
135
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1277
));
chkWaitChain
->
setChecked
(
gameConf
.
chkWaitChain
>=
1
);
chkWaitChain
->
setChecked
(
gameConf
.
chkWaitChain
);
chkIgnore1
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
170
,
280
,
195
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1290
));
chkIgnore1
->
setChecked
(
gameConf
.
chkIgnore1
>=
1
);
chkIgnore1
->
setChecked
(
gameConf
.
chkIgnore1
);
chkIgnore2
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
200
,
280
,
225
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1291
));
chkIgnore2
->
setChecked
(
gameConf
.
chkIgnore2
>=
1
);
chkIgnore2
->
setChecked
(
gameConf
.
chkIgnore2
);
chkHideSetname
=
env
->
addCheckBox
(
false
,
rect
<
s32
>
(
20
,
200
,
280
,
285
),
tabSystem
,
-
1
,
dataManager
.
GetSysString
(
1354
));
chkHideSetname
->
setChecked
(
gameConf
.
chkHideSetname
>=
1
);
chkHideSetname
->
setChecked
(
gameConf
.
chkHideSetname
);
//
wHand
=
env
->
addWindow
(
rect
<
s32
>
(
500
,
450
,
825
,
605
),
false
,
L""
);
wHand
->
getCloseButton
()
->
setVisible
(
false
);
...
...
ocgcore
@
4e0295fa
Subproject commit
eb6f61dfe4dfa23871dcb6e731165390d228a0c6
Subproject commit
4e0295fab88326b216e54b6da644676b42a609c4
strings.conf
View file @
b6eaae2f
#The first line is used for comment
#The first line is used for comment
#line doesn't start with '!' is also neglected
#called by DataManager::GetSysString(), DataManager::GetDesc()
#system
...
...
@@ -378,7 +378,18 @@
!
victory
0
x2
没有卡可抽
!
victory
0
x3
超时
!
victory
0
x4
失去连接
!
victory
0
x10
「%
ls
」效果胜利
!
victory
0
x10
「被封印的艾克佐迪亚」效果胜利
!
victory
0
x11
「终焉的倒计时」效果胜利
!
victory
0
x12
「毒蛇神 维诺米纳迦」效果胜利
!
victory
0
x13
「光之创造神 哈拉克提」效果胜利
!
victory
0
x14
「究极封印神 艾克佐迪奥斯」效果胜利
!
victory
0
x15
「通灵盘」效果胜利
!
victory
0
x16
「最终一战!」效果胜利
!
victory
0
x17
「
No
.
88
机关傀儡-命运狮子」效果胜利
!
victory
0
x18
「混沌
No
.
88
机关傀儡-灾厄狮子」效果胜利
!
victory
0
x19
「头奖壶
7
」效果胜利
!
victory
0
x1a
「魂之接力」效果胜利
!
victory
0
x1b
「鬼计惰天使」效果胜利
!
victory
0
x20
由于「%
ls
」的效果获得比赛胜利
#counters
!
counter
0
x3001
魔力指示物
...
...
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