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
1
Merge Requests
1
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
nanahira
ygopro
Commits
d16f7d48
Commit
d16f7d48
authored
Mar 03, 2026
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-irr-clipboard' of github.com:mercury233/ygopro into develop
parents
d2d7108d
2e407cc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
.github/workflows/build.yml
.github/workflows/build.yml
+3
-3
gframe/deck_con.cpp
gframe/deck_con.cpp
+3
-7
No files found.
.github/workflows/build.yml
View file @
d16f7d48
...
@@ -196,7 +196,7 @@ jobs:
...
@@ -196,7 +196,7 @@ jobs:
-
name
:
Download irrlicht
-
name
:
Download irrlicht
run
:
|
run
:
|
git clone --depth=1 https://github.com/mercury233/irrlicht
git clone --depth=1
-b patch-clipboard
https://github.com/mercury233/irrlicht
-
name
:
Check DirectX SDK
-
name
:
Check DirectX SDK
if
:
matrix.nodxsdk !=
true
if
:
matrix.nodxsdk !=
true
...
@@ -437,7 +437,7 @@ jobs:
...
@@ -437,7 +437,7 @@ jobs:
-
name
:
Download irrlicht
-
name
:
Download irrlicht
run
:
|
run
:
|
git clone --depth=1 https://github.com/mercury233/irrlicht
git clone --depth=1
-b patch-clipboard
https://github.com/mercury233/irrlicht
-
name
:
Copy premake files
-
name
:
Copy premake files
run
:
|
run
:
|
...
@@ -653,7 +653,7 @@ jobs:
...
@@ -653,7 +653,7 @@ jobs:
-
name
:
Download irrlicht
-
name
:
Download irrlicht
run
:
|
run
:
|
git clone --depth=1 https://github.com/mercury233/irrlicht
git clone --depth=1
-b patch-clipboard
https://github.com/mercury233/irrlicht
-
name
:
Copy premake files
-
name
:
Copy premake files
run
:
|
run
:
|
...
...
gframe/deck_con.cpp
View file @
d16f7d48
...
@@ -459,9 +459,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
...
@@ -459,9 +459,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
case
BUTTON_EXPORT_DECK_CODE
:
{
case
BUTTON_EXPORT_DECK_CODE
:
{
std
::
stringstream
textStream
;
std
::
stringstream
textStream
;
deckManager
.
SaveDeck
(
deckManager
.
current_deck
,
textStream
);
deckManager
.
SaveDeck
(
deckManager
.
current_deck
,
textStream
);
wchar_t
text
[
0x10000
];
mainGame
->
env
->
getOSOperator
()
->
copyToClipboard
(
textStream
.
str
().
c_str
());
BufferIO
::
DecodeUTF8
(
textStream
.
str
().
c_str
(),
text
);
mainGame
->
env
->
getOSOperator
()
->
copyToClipboard
(
text
);
mainGame
->
stACMessage
->
setText
(
dataManager
.
GetSysString
(
1480
));
mainGame
->
stACMessage
->
setText
(
dataManager
.
GetSysString
(
1480
));
mainGame
->
PopupElement
(
mainGame
->
wACMessage
,
20
);
mainGame
->
PopupElement
(
mainGame
->
wACMessage
,
20
);
break
;
break
;
...
@@ -560,11 +558,9 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
...
@@ -560,11 +558,9 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
deckManager
.
current_deck
.
extra
.
clear
();
deckManager
.
current_deck
.
extra
.
clear
();
deckManager
.
current_deck
.
side
.
clear
();
deckManager
.
current_deck
.
side
.
clear
();
}
else
{
}
else
{
const
wchar_t
*
txt
=
mainGame
->
env
->
getOSOperator
()
->
getTextFromClipboard
();
const
char
*
txt
=
mainGame
->
env
->
getOSOperator
()
->
getTextFromClipboard
();
if
(
txt
)
{
if
(
txt
)
{
char
text
[
0x10000
];
std
::
istringstream
textStream
(
txt
);
BufferIO
::
EncodeUTF8
(
txt
,
text
);
std
::
istringstream
textStream
(
text
);
deckManager
.
LoadCurrentDeck
(
textStream
);
deckManager
.
LoadCurrentDeck
(
textStream
);
}
}
}
}
...
...
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