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
d6b927f7
Commit
d6b927f7
authored
Dec 02, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into server
parents
939cf8ff
0d6a8094
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
12 deletions
+28
-12
cards.cdb
cards.cdb
+0
-0
gframe/duelclient.cpp
gframe/duelclient.cpp
+16
-8
gframe/game.cpp
gframe/game.cpp
+4
-1
ocgcore
ocgcore
+1
-1
script
script
+1
-1
strings.conf
strings.conf
+6
-1
No files found.
cards.cdb
View file @
d6b927f7
No preview for this file type
gframe/duelclient.cpp
View file @
d6b927f7
...
@@ -1425,10 +1425,14 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -1425,10 +1425,14 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
dField
.
conti_act
=
true
;
mainGame
->
dField
.
conti_act
=
true
;
}
else
{
}
else
{
pcard
->
cmdFlag
|=
COMMAND_ACTIVATE
;
pcard
->
cmdFlag
|=
COMMAND_ACTIVATE
;
if
(
pcard
->
location
==
LOCATION_GRAVE
)
if
(
pcard
->
controler
==
0
)
{
mainGame
->
dField
.
grave_act
=
true
;
if
(
pcard
->
location
==
LOCATION_GRAVE
)
else
if
(
pcard
->
location
==
LOCATION_REMOVED
)
mainGame
->
dField
.
grave_act
=
true
;
mainGame
->
dField
.
remove_act
=
true
;
else
if
(
pcard
->
location
==
LOCATION_REMOVED
)
mainGame
->
dField
.
remove_act
=
true
;
else
if
(
pcard
->
location
==
LOCATION_EXTRA
)
mainGame
->
dField
.
extra_act
=
true
;
}
}
}
}
}
mainGame
->
dField
.
attackable_cards
.
clear
();
mainGame
->
dField
.
attackable_cards
.
clear
();
...
@@ -1555,10 +1559,14 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -1555,10 +1559,14 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
mainGame
->
dField
.
conti_act
=
true
;
mainGame
->
dField
.
conti_act
=
true
;
}
else
{
}
else
{
pcard
->
cmdFlag
|=
COMMAND_ACTIVATE
;
pcard
->
cmdFlag
|=
COMMAND_ACTIVATE
;
if
(
pcard
->
location
==
LOCATION_GRAVE
)
if
(
pcard
->
controler
==
0
)
{
mainGame
->
dField
.
grave_act
=
true
;
if
(
pcard
->
location
==
LOCATION_GRAVE
)
else
if
(
pcard
->
location
==
LOCATION_REMOVED
)
mainGame
->
dField
.
grave_act
=
true
;
mainGame
->
dField
.
remove_act
=
true
;
else
if
(
pcard
->
location
==
LOCATION_REMOVED
)
mainGame
->
dField
.
remove_act
=
true
;
else
if
(
pcard
->
location
==
LOCATION_EXTRA
)
mainGame
->
dField
.
extra_act
=
true
;
}
}
}
}
}
if
(
BufferIO
::
ReadInt8
(
pbuf
))
{
if
(
BufferIO
::
ReadInt8
(
pbuf
))
{
...
...
gframe/game.cpp
View file @
d6b927f7
...
@@ -153,6 +153,9 @@ bool Game::Initialize() {
...
@@ -153,6 +153,9 @@ bool Game::Initialize() {
L"C:/Windows/Fonts/msyh.ttc"
,
L"C:/Windows/Fonts/msyh.ttc"
,
L"C:/Windows/Fonts/msyh.ttf"
,
L"C:/Windows/Fonts/msyh.ttf"
,
L"C:/Windows/Fonts/simsun.ttc"
,
L"C:/Windows/Fonts/simsun.ttc"
,
L"C:/Windows/Fonts/YuGothM.ttc"
,
L"C:/Windows/Fonts/meiryo.ttc"
,
L"C:/Windows/Fonts/msgothic.ttc"
,
L"/usr/share/fonts/truetype/DroidSansFallbackFull.ttf"
,
L"/usr/share/fonts/truetype/DroidSansFallbackFull.ttf"
,
L"/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc"
,
L"/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc"
,
L"/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc"
,
L"/usr/share/fonts/google-noto-cjk/NotoSansCJK-Regular.ttc"
,
...
@@ -208,7 +211,7 @@ bool Game::Initialize() {
...
@@ -208,7 +211,7 @@ bool Game::Initialize() {
SetWindowsIcon
();
SetWindowsIcon
();
//main menu
//main menu
wchar_t
strbuf
[
256
];
wchar_t
strbuf
[
256
];
myswprintf
(
strbuf
,
L"KoishiPro %X.0%X.%X
Hoshirin
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
myswprintf
(
strbuf
,
L"KoishiPro %X.0%X.%X
Blover
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
...
...
ocgcore
@
a982b748
Subproject commit
9235e8e2593711838ec7ac4ee78a90f31194f0f4
Subproject commit
a982b74894aa484724aa783144483ada0e5c175a
script
@
3a75e12c
Subproject commit
95dd7c80a00549265f7f6891705484cb37fc0871
Subproject commit
3a75e12cda3ae09e6ff1272029c00b3bfb0db3e4
strings.conf
View file @
d6b927f7
...
@@ -834,7 +834,8 @@
...
@@ -834,7 +834,8 @@
!
setname
0
x81
炎王
!
setname
0
x81
炎王
!
setname
0
x1081
炎王兽 炎王獣
!
setname
0
x1081
炎王兽 炎王獣
!
setname
0
x82
怒怒怒 ドドド
!
setname
0
x82
怒怒怒 ドドド
!
setname
0
x83
机关傀儡 ギミック・パペット
!
setname
0
x83
人偶 パペット
!
setname
0
x1083
机关傀儡 ギミック・パペット
!
setname
0
x84
燃烧拳击手
BK
(バーニングナックラー)
!
setname
0
x84
燃烧拳击手
BK
(バーニングナックラー)
!
setname
0
x85
超级防卫机器人
SD
ロボ
!
setname
0
x85
超级防卫机器人
SD
ロボ
!
setname
0
x86
光天使
!
setname
0
x86
光天使
...
@@ -1131,3 +1132,7 @@
...
@@ -1131,3 +1132,7 @@
!
setname
0
x172
救祓少女 エクソシスター
!
setname
0
x172
救祓少女 エクソシスター
!
setname
0
x173
恐啡肽狂龙 ダイノルフィア
!
setname
0
x173
恐啡肽狂龙 ダイノルフィア
!
setname
0
x174
恶魔娘 悪魔嬢
!
setname
0
x174
恶魔娘 悪魔嬢
!
setname
0
x175
七皇 セブンス
!
setname
0
x176
异晶人的 バリアンズ
!
setname
0
x177
海龙神 リバイアサン
!
setname
0
x178
潜海 シー・ステルス
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