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
16122411
Commit
16122411
authored
Feb 17, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化超量素材显示
*微调overlay_buttom最小高度为0.01,不与vField高度相同 * OpenGL图形库限制
parent
465c386e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Classes/gframe/client_field.cpp
Classes/gframe/client_field.cpp
+1
-1
Classes/gframe/materials.cpp
Classes/gframe/materials.cpp
+3
-3
No files found.
Classes/gframe/client_field.cpp
View file @
16122411
...
@@ -891,7 +891,7 @@ void ClientField::GetCardLocation(ClientCard* pcard, irr::core::vector3df* t, ir
...
@@ -891,7 +891,7 @@ void ClientField::GetCardLocation(ClientCard* pcard, irr::core::vector3df* t, ir
int
sequence
=
pcard
->
sequence
;
int
sequence
=
pcard
->
sequence
;
int
location
=
pcard
->
location
;
int
location
=
pcard
->
location
;
int
rule
=
(
mainGame
->
dInfo
.
duel_rule
>=
4
)
?
1
:
0
;
int
rule
=
(
mainGame
->
dInfo
.
duel_rule
>=
4
)
?
1
:
0
;
const
float
overlay_buttom
=
0.0
f
;
const
float
overlay_buttom
=
0.0
1
f
;
const
float
material_height
=
0.003
f
;
const
float
material_height
=
0.003
f
;
const
float
mzone_buttom
=
0.020
f
;
const
float
mzone_buttom
=
0.020
f
;
switch
(
location
)
{
switch
(
location
)
{
...
...
Classes/gframe/materials.cpp
View file @
16122411
...
@@ -22,9 +22,9 @@ Materials::Materials() {
...
@@ -22,9 +22,9 @@ Materials::Materials() {
SetS3DVertex
(
vActivate
,
-
0.5
f
,
-
0.5
f
,
0.5
f
,
0.5
f
,
0
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vActivate
,
-
0.5
f
,
-
0.5
f
,
0.5
f
,
0.5
f
,
0
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vField
,
-
1.0
f
,
-
4.0
f
,
9.0
f
,
4.0
f
,
0
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vField
,
-
1.0
f
,
-
4.0
f
,
9.0
f
,
4.0
f
,
0
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vPScale
,
-
0.35
f
,
-
0.5
,
0.35
,
0.5
f
,
0
,
1
,
0
,
0
,
1
,
1
);
//pendulum scale image
SetS3DVertex
(
vPScale
,
-
0.35
f
,
-
0.5
,
0.35
,
0.5
f
,
0
,
1
,
0
,
0
,
1
,
1
);
//pendulum scale image
SetS3DVertex
(
vFieldSpell
,
1.2
f
,
-
3.2
f
,
6.7
f
,
3.2
f
,
-
0.01
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vFieldSpell
,
1.2
f
,
-
3.2
f
,
6.7
f
,
3.2
f
,
-
0.01
f
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vFieldSpell1
,
1.2
f
,
0.8
f
,
6.7
f
,
3.2
f
,
-
0.01
,
1
,
0
,
0.2
f
,
1
,
0.63636
f
);
SetS3DVertex
(
vFieldSpell1
,
1.2
f
,
0.8
f
,
6.7
f
,
3.2
f
,
-
0.01
f
,
1
,
0
,
0.2
f
,
1
,
0.63636
f
);
SetS3DVertex
(
vFieldSpell2
,
1.2
f
,
-
3.2
f
,
6.7
f
,
-
0.8
f
,
-
0.01
,
1
,
1
,
0.63636
f
,
0
,
0.2
f
);
//better fieldspell showing
SetS3DVertex
(
vFieldSpell2
,
1.2
f
,
-
3.2
f
,
6.7
f
,
-
0.8
f
,
-
0.01
f
,
1
,
1
,
0.63636
f
,
0
,
0.2
f
);
//better fieldspell showing
SetS3DVertex
(
vTotalAtkme
,
0.5
f
,
1.3
f
,
1.5
f
,
2
,
1
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vTotalAtkme
,
0.5
f
,
1.3
f
,
1.5
f
,
2
,
1
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vTotalAtkop
,
6.4
f
,
-
0.1
f
,
7.4
f
,
0.65
f
,
1
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vTotalAtkop
,
6.4
f
,
-
0.1
f
,
7.4
f
,
0.65
f
,
1
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vTotalAtkmeT
,
2.5
f
,
0.95
f
,
3.5
f
,
1.65
f
,
1
,
1
,
0
,
0
,
1
,
1
);
SetS3DVertex
(
vTotalAtkmeT
,
2.5
f
,
0.95
f
,
3.5
f
,
1.65
f
,
1
,
1
,
0
,
0
,
1
,
1
);
...
...
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