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
YGOPRO-520DIY
ygopro
Commits
e51bb5f3
Commit
e51bb5f3
authored
Dec 30, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
c345853f
541805d9
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
244 additions
and
233 deletions
+244
-233
cards.cdb
cards.cdb
+0
-0
gframe/event_handler.cpp
gframe/event_handler.cpp
+4
-0
gframe/game.cpp
gframe/game.cpp
+25
-24
lflist.conf
lflist.conf
+203
-203
ocgcore
ocgcore
+1
-1
script
script
+1
-1
strings.conf
strings.conf
+10
-4
No files found.
cards.cdb
View file @
e51bb5f3
No preview for this file type
gframe/event_handler.cpp
View file @
e51bb5f3
...
@@ -2458,6 +2458,10 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
...
@@ -2458,6 +2458,10 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
if
((
pcard
->
status
&
STATUS_PROC_COMPLETE
)
if
((
pcard
->
status
&
STATUS_PROC_COMPLETE
)
&&
(
pcard
->
type
&
(
TYPE_RITUAL
|
TYPE_FUSION
|
TYPE_SYNCHRO
|
TYPE_XYZ
|
TYPE_LINK
|
TYPE_SPSUMMON
)))
&&
(
pcard
->
type
&
(
TYPE_RITUAL
|
TYPE_FUSION
|
TYPE_SYNCHRO
|
TYPE_XYZ
|
TYPE_LINK
|
TYPE_SPSUMMON
)))
str
.
append
(
L"
\n
"
).
append
(
dataManager
.
GetSysString
(
224
));
str
.
append
(
L"
\n
"
).
append
(
dataManager
.
GetSysString
(
224
));
for
(
auto
iter
=
pcard
->
desc_hints
.
begin
();
iter
!=
pcard
->
desc_hints
.
end
();
++
iter
)
{
myswprintf
(
formatBuffer
,
L"
\n
*%ls"
,
dataManager
.
GetDesc
(
iter
->
first
));
str
.
append
(
formatBuffer
);
}
for
(
size_t
i
=
0
;
i
<
chains
.
size
();
++
i
)
{
for
(
size_t
i
=
0
;
i
<
chains
.
size
();
++
i
)
{
auto
chit
=
chains
[
i
];
auto
chit
=
chains
[
i
];
if
(
pcard
==
chit
.
chain_card
)
{
if
(
pcard
==
chit
.
chain_card
)
{
...
...
gframe/game.cpp
View file @
e51bb5f3
...
@@ -57,6 +57,7 @@ bool Game::Initialize() {
...
@@ -57,6 +57,7 @@ bool Game::Initialize() {
initUtils
();
initUtils
();
LoadConfig
();
LoadConfig
();
irr
::
SIrrlichtCreationParameters
params
=
irr
::
SIrrlichtCreationParameters
();
irr
::
SIrrlichtCreationParameters
params
=
irr
::
SIrrlichtCreationParameters
();
params
.
LoggingLevel
=
ELL_NONE
;
params
.
AntiAlias
=
gameConf
.
antialias
;
params
.
AntiAlias
=
gameConf
.
antialias
;
if
(
gameConf
.
use_d3d
)
if
(
gameConf
.
use_d3d
)
params
.
DriverType
=
irr
::
video
::
EDT_DIRECT3D9
;
params
.
DriverType
=
irr
::
video
::
EDT_DIRECT3D9
;
...
@@ -1470,30 +1471,6 @@ void Game::LoadConfig() {
...
@@ -1470,30 +1471,6 @@ void Game::LoadConfig() {
unsigned
int
lcid
=
0
;
unsigned
int
lcid
=
0
;
#ifdef _WIN32
#ifdef _WIN32
lcid
=
((
unsigned
int
)
GetSystemDefaultLangID
())
&
0xff
;
lcid
=
((
unsigned
int
)
GetSystemDefaultLangID
())
&
0xff
;
#else
/* temp broken
char* locale_str = getenv("LANG");
if(locale_str) {
if(strstr(locale_str, "zh"))
lcid = 0x04;
else
if(strstr(locale_str, "en"))
lcid = 0x09;
else
if(strstr(locale_str, "es"))
lcid = 0x0a;
else
if(strstr(locale_str, "ja"))
lcid = 0x11;
else
if(strstr(locale_str, "ko"))
lcid = 0x12;
else
if(strstr(locale_str, "pt"))
lcid = 0x16;
}
*/
#endif
switch
(
lcid
)
{
switch
(
lcid
)
{
case
0x04
:
{
case
0x04
:
{
myswprintf
(
mainGame
->
gameConf
.
locale
,
L"%ls"
,
L"zh-CN"
);
myswprintf
(
mainGame
->
gameConf
.
locale
,
L"%ls"
,
L"zh-CN"
);
...
@@ -1520,6 +1497,30 @@ void Game::LoadConfig() {
...
@@ -1520,6 +1497,30 @@ void Game::LoadConfig() {
break
;
break
;
}
}
}
}
#else
/* temp broken
char* locale_str = getenv("LANG");
if(locale_str) {
if(strstr(locale_str, "zh"))
lcid = 0x04;
else
if(strstr(locale_str, "en"))
lcid = 0x09;
else
if(strstr(locale_str, "es"))
lcid = 0x0a;
else
if(strstr(locale_str, "ja"))
lcid = 0x11;
else
if(strstr(locale_str, "ko"))
lcid = 0x12;
else
if(strstr(locale_str, "pt"))
lcid = 0x16;
}
*/
#endif
#ifndef YGOPRO_COMPAT_MYCARD
#ifndef YGOPRO_COMPAT_MYCARD
SaveConfig
();
SaveConfig
();
#endif
#endif
...
...
lflist.conf
View file @
e51bb5f3
This diff is collapsed.
Click to expand it.
ocgcore
@
dc493c19
Subproject commit
263477ac07cc4b2c553a0cec92ed69049b012ead
Subproject commit
dc493c19a3b10e6eb6be6ffb8d9fdf8998f9fc12
script
@
3fa37bf2
Subproject commit
114acd4a251b0c1d37e8d9e61ee042c87609f7cd
Subproject commit
3fa37bf268dfdc2f502f0acbc3d524c90b8f633b
strings.conf
View file @
e51bb5f3
...
@@ -680,7 +680,7 @@
...
@@ -680,7 +680,7 @@
!
setname
0
x1a
黑蝎 黒蠍
!
setname
0
x1a
黑蝎 黒蠍
!
setname
0
x1b
幻兽 幻獣
!
setname
0
x1b
幻兽 幻獣
!
setname
0
x101b
幻兽机 幻獣機
!
setname
0
x101b
幻兽机 幻獣機
#setname 0x1c N/A
!
setname
0
x1c
死之信息 死のメッセージ
!
setname
0
x1d
核成 コアキメイル
!
setname
0
x1d
核成 コアキメイル
!
setname
0
x1e
茧状体
C
(コクーン)
!
setname
0
x1e
茧状体
C
(コクーン)
!
setname
0
x1f
新空间侠
N
(ネオスペーシアン)
!
setname
0
x1f
新空间侠
N
(ネオスペーシアン)
...
@@ -825,7 +825,7 @@
...
@@ -825,7 +825,7 @@
!
setname
0
x89
洞 ホール
!
setname
0
x89
洞 ホール
#setname 0x8a 虫惑 蟲惑
#setname 0x8a 虫惑 蟲惑
!
setname
0
x108a
虫惑魔 蟲惑魔
!
setname
0
x108a
虫惑魔 蟲惑魔
!
setname
0
x8b
恶餐
マリスボラス
!
setname
0
x8b
食恶
マリスボラス
#setname 0x8c 德鲁伊 ドルイド
#setname 0x8c 德鲁伊 ドルイド
!
setname
0
x8d
鬼计 ゴーストリック
!
setname
0
x8d
鬼计 ゴーストリック
!
setname
0
x8e
吸血鬼 ヴァンパイア
!
setname
0
x8e
吸血鬼 ヴァンパイア
...
@@ -939,6 +939,7 @@
...
@@ -939,6 +939,7 @@
!
setname
0
xe3
方界
!
setname
0
xe3
方界
!
setname
0
xe4
精灵剑士 エルフの剣士
!
setname
0
xe4
精灵剑士 エルフの剣士
!
setname
0
xe5
光波 サイファー
!
setname
0
xe5
光波 サイファー
!
setname
0
x10e5
光波龙 サイファー・ドラゴン
!
setname
0
xe6
花札卫 花札衛
!
setname
0
xe6
花札卫 花札衛
!
setname
0
xe7
沉默剑士 サイレント・ソードマン
!
setname
0
xe7
沉默剑士 サイレント・ソードマン
!
setname
0
xe8
沉默魔术师 サイレント・マジシャン
!
setname
0
xe8
沉默魔术师 サイレント・マジシャン
...
@@ -991,7 +992,8 @@
...
@@ -991,7 +992,8 @@
!
setname
0
x10d
魔导兽|非「魔导」 魔導獣
!
setname
0
x10d
魔导兽|非「魔导」 魔導獣
!
setname
0
x10e
进化药 進化薬
!
setname
0
x10e
进化药 進化薬
!
setname
0
x10f
枪管 ヴァレル
!
setname
0
x10f
枪管 ヴァレル
!
setname
0
x110
眼纳祭神 アイズ・サクリファイス
!
setname
0
x110
纳祭 サクリファイス
!
setname
0
x1110
眼纳祭神 アイズ・サクリファイス
!
setname
0
x111
武装龙 アームド・ドラゴン
!
setname
0
x111
武装龙 アームド・ドラゴン
!
setname
0
x112
幻崩 トロイメア
!
setname
0
x112
幻崩 トロイメア
!
setname
0
x113
灵神 霊神
!
setname
0
x113
灵神 霊神
...
@@ -1010,7 +1012,7 @@
...
@@ -1010,7 +1012,7 @@
!
setname
0
x11f
奈芙提斯 ネフティス
!
setname
0
x11f
奈芙提斯 ネフティス
!
setname
0
x120
调皮宝贝 プランキッズ
!
setname
0
x120
调皮宝贝 プランキッズ
!
setname
0
x121
魔妖
!
setname
0
x121
魔妖
!
setname
0
x122
女武神 ワルキューレ
!
setname
0
x122
女武神
|非「武神」
ワルキューレ
!
setname
0
x123
蔷薇 ローズ
!
setname
0
x123
蔷薇 ローズ
!
setname
0
x1123
蔷薇龙 ローズ・ドラゴン
!
setname
0
x1123
蔷薇龙 ローズ・ドラゴン
!
setname
0
x124
机械天使 機械天使
!
setname
0
x124
机械天使 機械天使
...
@@ -1078,3 +1080,7 @@
...
@@ -1078,3 +1080,7 @@
!
setname
0
x155
护宝炮妖 スプリガンズ
!
setname
0
x155
护宝炮妖 スプリガンズ
!
setname
0
x156
治安战警队
S
-
Force
!
setname
0
x156
治安战警队
S
-
Force
!
setname
0
x157
突变体
Myutant
!
setname
0
x157
突变体
Myutant
#setname 0x158 圣 サン
!
setname
0
x1158
圣蔓 サンヴァイン
!
setname
0
x2158
圣天树 サンアバロン
!
setname
0
x159
圣夜骑士 ホーリーナイツ
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