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
REIKAI
ygopro
Commits
ff2ad420
Commit
ff2ad420
authored
Nov 07, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into another
parents
5a7e4a46
0cae0a3d
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
33 additions
and
13 deletions
+33
-13
.gitignore
.gitignore
+4
-0
README.md
README.md
+1
-1
cards.cdb
cards.cdb
+0
-0
gframe/drawing.cpp
gframe/drawing.cpp
+1
-1
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-3
gframe/game.cpp
gframe/game.cpp
+1
-1
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+14
-2
ocgcore
ocgcore
+1
-1
premake/gframe/ygopro.rc
premake/gframe/ygopro.rc
+2
-2
script
script
+1
-1
strings.conf
strings.conf
+6
-1
No files found.
.gitignore
View file @
ff2ad420
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
.vscode
.vscode
core*
core*
/bak/
/bak/
/.vs
/bug.txt
/bug.txt
/output
/output
/temp
/temp
...
@@ -90,3 +91,6 @@ core*
...
@@ -90,3 +91,6 @@ core*
/*.bat
/*.bat
/*.sh
/*.sh
/*.sql
/*.sql
/patch.exe.manifest
/patch.exe
/diff.exe
README.md
View file @
ff2ad420
cards.cdb
View file @
ff2ad420
No preview for this file type
gframe/drawing.cpp
View file @
ff2ad420
...
@@ -984,7 +984,7 @@ void Game::DrawSpec() {
...
@@ -984,7 +984,7 @@ void Game::DrawSpec() {
break
;
break
;
}
}
}
}
if
(
auto_watch_mode
&&
showcard
code
<
8
&&
showcardcode
>
0
)
{
if
(
auto_watch_mode
&&
showcard
p
<
8
&&
showcardp
>
0
&&
showcardcode
>
10
0
)
{
mainGame
->
ShowCardInfo
(
showcardcode
);
mainGame
->
ShowCardInfo
(
showcardcode
);
}
}
}
}
...
...
gframe/duelclient.cpp
View file @
ff2ad420
...
@@ -3075,7 +3075,6 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -3075,7 +3075,6 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
}
}
if
(
auto_watch_mode
)
{
if
(
auto_watch_mode
)
{
int
code
=
mainGame
->
dField
.
chains
[
ct
-
1
].
chain_card
->
code
;
int
code
=
mainGame
->
dField
.
chains
[
ct
-
1
].
chain_card
->
code
;
if
(
code
>
0
)
mainGame
->
ShowCardInfo
(
code
);
mainGame
->
ShowCardInfo
(
code
);
}
}
mainGame
->
dField
.
last_chain
=
false
;
mainGame
->
dField
.
last_chain
=
false
;
...
@@ -3148,7 +3147,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
...
@@ -3148,7 +3147,7 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
int
s
=
BufferIO
::
ReadInt8
(
pbuf
);
int
s
=
BufferIO
::
ReadInt8
(
pbuf
);
/*int ss = */
BufferIO
::
ReadInt8
(
pbuf
);
/*int ss = */
BufferIO
::
ReadInt8
(
pbuf
);
ClientCard
*
pcard
=
mainGame
->
dField
.
GetCard
(
c
,
l
,
s
);
ClientCard
*
pcard
=
mainGame
->
dField
.
GetCard
(
c
,
l
,
s
);
if
(
auto_watch_mode
&&
i
==
0
&&
pcard
->
code
>
0
)
{
if
(
auto_watch_mode
&&
i
==
0
)
{
mainGame
->
ShowCardInfo
(
pcard
->
code
);
mainGame
->
ShowCardInfo
(
pcard
->
code
);
}
}
pcard
->
is_highlighting
=
true
;
pcard
->
is_highlighting
=
true
;
...
...
gframe/game.cpp
View file @
ff2ad420
...
@@ -116,7 +116,7 @@ bool Game::Initialize() {
...
@@ -116,7 +116,7 @@ bool Game::Initialize() {
SetWindowsIcon
();
SetWindowsIcon
();
//main menu
//main menu
wchar_t
strbuf
[
256
];
wchar_t
strbuf
[
256
];
myswprintf
(
strbuf
,
L"KoishiPro Another %X.0%X.%X
Nemesis
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
myswprintf
(
strbuf
,
L"KoishiPro Another %X.0%X.%X
Sakura
"
,
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
));
...
...
gframe/replay_mode.cpp
View file @
ff2ad420
...
@@ -238,7 +238,13 @@ void ReplayMode::EndDuel() {
...
@@ -238,7 +238,13 @@ void ReplayMode::EndDuel() {
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
mainGame
->
HideElement
(
mainGame
->
wCardSelect
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
gMutex
.
unlock
();
mainGame
->
gMutex
.
unlock
();
if
(
auto_watch_mode
)
{
mainGame
->
actionSignal
.
Wait
(
2000
);
mainGame
->
device
->
closeDevice
();
}
else
{
mainGame
->
actionSignal
.
Wait
();
mainGame
->
actionSignal
.
Wait
();
}
mainGame
->
gMutex
.
lock
();
mainGame
->
gMutex
.
lock
();
mainGame
->
dInfo
.
isStarted
=
false
;
mainGame
->
dInfo
.
isStarted
=
false
;
mainGame
->
dInfo
.
isFinished
=
true
;
mainGame
->
dInfo
.
isFinished
=
true
;
...
@@ -315,7 +321,13 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
...
@@ -315,7 +321,13 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
PopupElement
(
mainGame
->
wMessage
);
mainGame
->
gMutex
.
unlock
();
mainGame
->
gMutex
.
unlock
();
mainGame
->
actionSignal
.
Reset
();
mainGame
->
actionSignal
.
Reset
();
if
(
auto_watch_mode
){
mainGame
->
actionSignal
.
Wait
(
2000
);
mainGame
->
device
->
closeDevice
();
}
else
{
mainGame
->
actionSignal
.
Wait
();
mainGame
->
actionSignal
.
Wait
();
}
return
false
;
return
false
;
}
}
case
MSG_HINT
:
{
case
MSG_HINT
:
{
...
...
ocgcore
@
565f2fa9
Subproject commit
da0cd22bbb58d6a871a3f8517eaf91b0bd4fbff5
Subproject commit
565f2fa94dd4caead3345b3257e1bcaacd760e72
premake/gframe/ygopro.rc
View file @
ff2ad420
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "KoishiPro Another"
...
@@ -16,8 +16,8 @@ VALUE "InternalName", "KoishiPro Another"
VALUE "LegalCopyright", "Copyright (C) 2019 Nanahira"
VALUE "LegalCopyright", "Copyright (C) 2019 Nanahira"
VALUE "OriginalFilename", "ygopro_another.exe"
VALUE "OriginalFilename", "ygopro_another.exe"
VALUE "ProductName", "KoishiPro Another"
VALUE "ProductName", "KoishiPro Another"
VALUE "FileVersion", "
Nemesis
"
VALUE "FileVersion", "
Sakura
"
VALUE "ProductVersion", "
Nemesis
"
VALUE "ProductVersion", "
Sakura
"
END
END
END
END
BLOCK "VarFileInfo"
BLOCK "VarFileInfo"
...
...
script
@
256df5d2
Subproject commit
feb9ce79cb5d52ae6ec047d467befec49329d601
Subproject commit
256df5d276033dd6a8b796ae6c53c136aac965be
strings.conf
View file @
ff2ad420
...
@@ -992,7 +992,8 @@
...
@@ -992,7 +992,8 @@
!
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
x124
机械天使 機械天使
!
setname
0
x124
机械天使 機械天使
!
setname
0
x125
笑容 スマイル
!
setname
0
x125
笑容 スマイル
!
setname
0
x126
时间潜行者 クロノダイバー
!
setname
0
x126
时间潜行者 クロノダイバー
...
@@ -1011,3 +1012,7 @@
...
@@ -1011,3 +1012,7 @@
!
setname
0
x132
斩机 斬機
!
setname
0
x132
斩机 斬機
!
setname
0
x133
半龙女仆 ドラゴンメイド
!
setname
0
x133
半龙女仆 ドラゴンメイド
!
setname
0
x134
王战 ジェネレイド
!
setname
0
x134
王战 ジェネレイド
!
setname
0
x135
@火灵天星 @イグニスター
!
setname
0
x136
“艾”
Ai
(アイ)
!
setname
0
x137
战华 戦華
!
setname
0
x138
巨石遗物 メガリス
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