Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
MobiusMei
ygopro
Commits
870544d7
Commit
870544d7
authored
Jul 02, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show extra info for some setname
parent
f384c7f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
gframe/data_manager.cpp
gframe/data_manager.cpp
+5
-2
strings.conf
strings.conf
+3
-3
No files found.
gframe/data_manager.cpp
View file @
870544d7
...
...
@@ -193,9 +193,12 @@ const wchar_t* DataManager::GetSetName(int code) {
return
csit
->
second
;
}
unsigned
int
DataManager
::
GetSetCode
(
const
wchar_t
*
setname
)
{
for
(
auto
csit
=
_setnameStrings
.
begin
();
csit
!=
_setnameStrings
.
end
();
++
csit
)
if
(
wcscmp
(
csit
->
second
,
setname
)
==
0
)
wchar_t
strbuff
[
256
];
for
(
auto
csit
=
_setnameStrings
.
begin
();
csit
!=
_setnameStrings
.
end
();
++
csit
)
{
swscanf
(
csit
->
second
,
L"%[^|]"
,
strbuff
);
//setname|extra info
if
(
wcscmp
(
strbuff
,
setname
)
==
0
)
return
csit
->
first
;
}
return
0
;
}
const
wchar_t
*
DataManager
::
GetNumString
(
int
num
,
bool
bracket
)
{
...
...
strings.conf
View file @
870544d7
...
...
@@ -566,7 +566,7 @@
!
setname
0
x43
废品 ジャンク
!
setname
0
x44
代行者
!
setname
0
x45
恶魔 デーモン
!
setname
0
x1045
红莲魔 レッド・デーモン
!
setname
0
x1045
红莲魔
|恶魔
レッド・デーモン
!
setname
0
x46
融合 融合/フュージョン
!
setname
0
x47
宝石 ジェム
!
setname
0
x1047
宝石骑士 ジェムナイト
...
...
@@ -678,7 +678,7 @@
!
setname
0
x9b
幻奏
!
setname
0
x109b
幻奏的音姬 幻奏の音姫
!
setname
0
x9c
星守 テラナイト
!
setname
0
x109c
星辉士 ステラナイト
!
setname
0
x109c
星辉士
|星守
ステラナイト
!
setname
0
x9d
影依 シャドール
!
setname
0
x9e
龙星 竜星
!
setname
0
x9f
娱乐伙伴
EM
(エンタメイト)
...
...
@@ -770,7 +770,7 @@
!
setname
0
xe7
沉默剑士 サイレント・ソードマン
!
setname
0
xe8
沉默魔术师 サイレント・マジシャン
!
setname
0
xe9
磁石战士 磁石の戦士(じしゃくのせんし)
!
setname
0
xea
水晶机巧 クリストロン
!
setname
0
xea
水晶机巧
|非「机巧」
クリストロン
!
setname
0
xeb
化合兽 化合獣
#!setname 0xec 魔界 魔界
!
setname
0
x10ec
魔界剧团 魔界劇団
...
...
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