Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
Commits
7566f482
Commit
7566f482
authored
Mar 19, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化超量素材显示
parent
95f194f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
19 deletions
+19
-19
Classes/gframe/client_field.cpp
Classes/gframe/client_field.cpp
+1
-1
Classes/gframe/drawing.cpp
Classes/gframe/drawing.cpp
+15
-15
mobile/assets/changelog.html
mobile/assets/changelog.html
+1
-1
mobile/build.gradle
mobile/build.gradle
+2
-2
No files found.
Classes/gframe/client_field.cpp
View file @
7566f482
...
...
@@ -867,7 +867,7 @@ void ClientField::GetCardLocation(ClientCard* pcard, irr::core::vector3df* t, ir
int
sequence
=
pcard
->
sequence
;
int
location
=
pcard
->
location
;
int
rule
=
(
mainGame
->
dInfo
.
duel_rule
>=
4
)
?
1
:
0
;
const
float
overlay_buttom
=
0.01
f
;
const
float
overlay_buttom
=
0.0
0
1
f
;
const
float
material_height
=
0.003
f
;
const
float
mzone_buttom
=
0.020
f
;
switch
(
location
)
{
...
...
Classes/gframe/drawing.cpp
View file @
7566f482
...
...
@@ -289,21 +289,6 @@ void Game::DrawLinkedZones(ClientCard* pcard, ClientCard* fcard) {
}
void
Game
::
DrawCards
()
{
for
(
auto
cit
=
dField
.
overlay_cards
.
begin
();
cit
!=
dField
.
overlay_cards
.
end
();
++
cit
)
{
auto
pcard
=
(
*
cit
);
auto
olcard
=
pcard
->
overlayTarget
;
if
(
pcard
->
aniFrame
)
{
DrawCard
(
pcard
);
}
else
if
(
olcard
&&
olcard
->
location
==
LOCATION_MZONE
)
{
if
(
pcard
->
sequence
<
MAX_LAYER_COUNT
)
{
DrawCard
(
pcard
);
}
}
else
{
DrawCard
(
pcard
);
}
}
for
(
int
p
=
0
;
p
<
2
;
++
p
)
{
for
(
auto
it
=
dField
.
mzone
[
p
].
begin
();
it
!=
dField
.
mzone
[
p
].
end
();
++
it
)
if
(
*
it
)
...
...
@@ -322,6 +307,21 @@ void Game::DrawCards() {
for
(
auto
it
=
dField
.
extra
[
p
].
begin
();
it
!=
dField
.
extra
[
p
].
end
();
++
it
)
DrawCard
(
*
it
);
}
for
(
auto
cit
=
dField
.
overlay_cards
.
begin
();
cit
!=
dField
.
overlay_cards
.
end
();
++
cit
)
{
auto
pcard
=
(
*
cit
);
auto
olcard
=
pcard
->
overlayTarget
;
if
(
pcard
->
aniFrame
)
{
DrawCard
(
pcard
);
}
else
if
(
olcard
&&
olcard
->
location
==
LOCATION_MZONE
)
{
if
(
pcard
->
sequence
<
MAX_LAYER_COUNT
)
{
DrawCard
(
pcard
);
}
}
else
{
DrawCard
(
pcard
);
}
}
}
void
Game
::
DrawCard
(
ClientCard
*
pcard
)
{
if
(
pcard
->
aniFrame
)
{
...
...
mobile/assets/changelog.html
View file @
7566f482
...
...
@@ -21,7 +21,7 @@
<pre>
更新:
1.更新ygopro内核;
2.新卡MZ
MI
;
2.新卡MZ
TM
;
变更:
1.为卡片错误信息添加卡名提示;
2.搜索卡片可通过关键词搜索包含它的字段;
...
...
mobile/build.gradle
View file @
7566f482
...
...
@@ -9,8 +9,8 @@ android {
minSdkVersion
25
//noinspection ExpiredTargetSdkVersion
targetSdkVersion
29
versionCode
31200000
1
versionName
"3.12.1"
versionCode
31200000
2
versionName
"3.12.1
fix1
"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
ndkVersion
"21.3.6528147"
...
...
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