Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
be623cc0
Commit
be623cc0
authored
Feb 11, 2025
by
Dark Zane
Committed by
GitHub
Feb 11, 2025
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fallenstardust:master' into master
parents
88f331ad
09715de9
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
Classes/gframe/client_field.cpp
Classes/gframe/client_field.cpp
+5
-5
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+4
-4
mobile/assets/data/textures/bg.jpg
mobile/assets/data/textures/bg.jpg
+0
-0
mobile/assets/data/textures/bg_deck.jpg
mobile/assets/data/textures/bg_deck.jpg
+0
-0
mobile/assets/data/textures/extra/bgs/bg2.jpg
mobile/assets/data/textures/extra/bgs/bg2.jpg
+0
-0
mobile/assets/data/textures/extra/bgs/bg3.jpg
mobile/assets/data/textures/extra/bgs/bg3.jpg
+0
-0
mobile/assets/data/textures/extra/bgs/mycard_20.jpg
mobile/assets/data/textures/extra/bgs/mycard_20.jpg
+0
-0
No files found.
Classes/gframe/client_field.cpp
View file @
be623cc0
...
...
@@ -479,14 +479,14 @@ void ClientField::ShowSelectCard(bool buttonok, bool chain) {
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
else
if
(
selectable_cards
[
i
]
->
location
==
LOCATION_OVERLAY
)
{
if
(
selectable_cards
[
i
]
->
owner
!=
selectable_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
selectable_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
}
else
if
(
selectable_cards
[
i
]
->
location
==
LOCATION_DECK
||
selectable_cards
[
i
]
->
location
==
LOCATION_EXTRA
||
selectable_cards
[
i
]
->
location
==
LOCATION_REMOVED
)
{
if
(
selectable_cards
[
i
]
->
position
&
POS_FACEDOWN
)
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
selectable_cards
[
i
]
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
...
...
@@ -550,7 +550,7 @@ void ClientField::ShowChainCard() {
mainGame
->
stCardPos
[
i
]
->
setText
(
formatBuffer
);
if
(
selectable_cards
[
i
]
->
location
==
LOCATION_OVERLAY
)
{
if
(
selectable_cards
[
i
]
->
owner
!=
selectable_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
selectable_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
...
...
@@ -610,14 +610,14 @@ void ClientField::ShowLocationCard() {
mainGame
->
stDisplayPos
[
i
]
->
setText
(
formatBuffer
);
if
(
display_cards
[
i
]
->
location
==
LOCATION_OVERLAY
)
{
if
(
display_cards
[
i
]
->
owner
!=
display_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
display_cards
[
i
]
->
overlayTarget
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
}
else
if
(
display_cards
[
i
]
->
location
==
LOCATION_EXTRA
||
display_cards
[
i
]
->
location
==
LOCATION_REMOVED
)
{
if
(
display_cards
[
i
]
->
position
&
POS_FACEDOWN
)
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
display_cards
[
i
]
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
...
...
Classes/gframe/event_handler.cpp
View file @
be623cc0
...
...
@@ -1008,7 +1008,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
else
if
(
selectable_cards
[
i
+
pos
]
->
location
==
LOCATION_OVERLAY
)
{
if
(
selectable_cards
[
i
+
pos
]
->
owner
!=
selectable_cards
[
i
+
pos
]
->
overlayTarget
->
controler
)
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
selectable_cards
[
i
+
pos
]
->
is_selected
)
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0x6011113d
);
else
if
(
selectable_cards
[
i
+
pos
]
->
overlayTarget
->
controler
)
...
...
@@ -1017,7 +1017,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
}
else
if
(
selectable_cards
[
i
+
pos
]
->
location
==
LOCATION_DECK
||
selectable_cards
[
i
+
pos
]
->
location
==
LOCATION_EXTRA
||
selectable_cards
[
i
+
pos
]
->
location
==
LOCATION_REMOVED
)
{
if
(
selectable_cards
[
i
+
pos
]
->
position
&
POS_FACEDOWN
)
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stCardPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
selectable_cards
[
i
+
pos
]
->
is_selected
)
mainGame
->
stCardPos
[
i
]
->
setBackgroundColor
(
0x6011113d
);
else
if
(
selectable_cards
[
i
+
pos
]
->
controler
)
...
...
@@ -1056,7 +1056,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
stDisplayPos
[
i
]
->
setText
(
formatBuffer
);
if
(
display_cards
[
i
+
pos
]
->
location
==
LOCATION_OVERLAY
)
{
if
(
display_cards
[
i
+
pos
]
->
owner
!=
display_cards
[
i
+
pos
]
->
overlayTarget
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
// BackgroundColor: controller of the xyz monster
if
(
display_cards
[
i
+
pos
]
->
overlayTarget
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
...
...
@@ -1064,7 +1064,7 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff56649f
);
}
else
if
(
display_cards
[
i
+
pos
]
->
location
==
LOCATION_EXTRA
||
display_cards
[
i
+
pos
]
->
location
==
LOCATION_REMOVED
)
{
if
(
display_cards
[
i
+
pos
]
->
position
&
POS_FACEDOWN
)
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
0000
ff
);
mainGame
->
stDisplayPos
[
i
]
->
setOverrideColor
(
0xff
f0f8
ff
);
if
(
display_cards
[
i
+
pos
]
->
controler
)
mainGame
->
stDisplayPos
[
i
]
->
setBackgroundColor
(
0xff5a5a5a
);
else
...
...
mobile/assets/data/textures/bg.jpg
View replaced file @
88f331ad
View file @
be623cc0
245 KB
|
W:
|
H:
200 KB
|
W:
|
H:
2-up
Swipe
Onion skin
mobile/assets/data/textures/bg_deck.jpg
View replaced file @
88f331ad
View file @
be623cc0
245 KB
|
W:
|
H:
225 KB
|
W:
|
H:
2-up
Swipe
Onion skin
mobile/assets/data/textures/extra/bgs/bg2.jpg
0 → 100644
View file @
be623cc0
200 KB
mobile/assets/data/textures/extra/bgs/
mycard_17
.jpg
→
mobile/assets/data/textures/extra/bgs/
bg3
.jpg
View file @
be623cc0
File moved
mobile/assets/data/textures/extra/bgs/mycard_20.jpg
deleted
100644 → 0
View file @
88f331ad
231 KB
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