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
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
MyCard
ygopro
Commits
84597221
Commit
84597221
authored
Nov 25, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra_p_count
parent
aa032c7f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
gframe/client_field.cpp
gframe/client_field.cpp
+2
-2
ocgcore
ocgcore
+1
-1
script
script
+1
-1
No files found.
gframe/client_field.cpp
View file @
84597221
...
@@ -186,7 +186,7 @@ void ClientField::AddCard(ClientCard* pcard, int controler, int location, int se
...
@@ -186,7 +186,7 @@ void ClientField::AddCard(ClientCard* pcard, int controler, int location, int se
case
LOCATION_EXTRA
:
{
case
LOCATION_EXTRA
:
{
extra
[
controler
].
push_back
(
pcard
);
extra
[
controler
].
push_back
(
pcard
);
pcard
->
sequence
=
extra
[
controler
].
size
()
-
1
;
pcard
->
sequence
=
extra
[
controler
].
size
()
-
1
;
if
(
/*(pcard->type & TYPE_PENDULUM) &&*/
(
pcard
->
position
&
POS_FACEUP
)
)
if
(
pcard
->
position
&
POS_FACEUP
)
extra_p_count
[
controler
]
++
;
extra_p_count
[
controler
]
++
;
break
;
break
;
}
}
...
@@ -256,7 +256,7 @@ ClientCard* ClientField::RemoveCard(int controler, int location, int sequence) {
...
@@ -256,7 +256,7 @@ ClientCard* ClientField::RemoveCard(int controler, int location, int sequence) {
extra
[
controler
][
i
]
->
mTransform
.
setTranslation
(
extra
[
controler
][
i
]
->
curPos
);
extra
[
controler
][
i
]
->
mTransform
.
setTranslation
(
extra
[
controler
][
i
]
->
curPos
);
}
}
extra
[
controler
].
erase
(
extra
[
controler
].
end
()
-
1
);
extra
[
controler
].
erase
(
extra
[
controler
].
end
()
-
1
);
if
(
(
pcard
->
type
&
TYPE_PENDULUM
)
&&
(
pcard
->
position
&
POS_FACEUP
)
)
if
(
pcard
->
position
&
POS_FACEUP
)
extra_p_count
[
controler
]
--
;
extra_p_count
[
controler
]
--
;
break
;
break
;
}
}
...
...
ocgcore
@
ca04a9a0
Subproject commit
70b98b61c58977e62065f378cb0d5dfedca26e44
Subproject commit
ca04a9a0bb85b5ccd39c9fe40631e6c13ffdb36b
script
@
4eab11dc
Subproject commit
fcfc0c01eeccdc59eea10099dd146cc2916c3f02
Subproject commit
4eab11dc0417759238aee87b8b390c1a8ae838f1
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