Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
45b84dfc
Commit
45b84dfc
authored
Apr 07, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove card::filter_single_effect
parent
f757e38c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
card.cpp
card.cpp
+0
-11
card.h
card.h
+0
-1
No files found.
card.cpp
View file @
45b84dfc
...
@@ -2350,17 +2350,6 @@ void card::filter_effect(int32 code, effect_set* eset, uint8 sort) {
...
@@ -2350,17 +2350,6 @@ void card::filter_effect(int32 code, effect_set* eset, uint8 sort) {
if
(
sort
)
if
(
sort
)
eset
->
sort
();
eset
->
sort
();
}
}
void
card
::
filter_single_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
)
{
effect
*
peffect
;
auto
rg
=
single_effect
.
equal_range
(
code
);
for
(;
rg
.
first
!=
rg
.
second
;
++
rg
.
first
)
{
peffect
=
rg
.
first
->
second
;
if
(
peffect
->
is_available
()
&&
!
peffect
->
is_flag
(
EFFECT_FLAG_SINGLE_RANGE
))
eset
->
add_item
(
peffect
);
}
if
(
sort
)
eset
->
sort
();
}
void
card
::
filter_single_continuous_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
)
{
void
card
::
filter_single_continuous_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
)
{
auto
rg
=
single_effect
.
equal_range
(
code
);
auto
rg
=
single_effect
.
equal_range
(
code
);
for
(;
rg
.
first
!=
rg
.
second
;
++
rg
.
first
)
for
(;
rg
.
first
!=
rg
.
second
;
++
rg
.
first
)
...
...
card.h
View file @
45b84dfc
...
@@ -289,7 +289,6 @@ public:
...
@@ -289,7 +289,6 @@ public:
void
clear_card_target
();
void
clear_card_target
();
void
filter_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_single_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_single_continuous_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_single_continuous_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_self_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_self_effect
(
int32
code
,
effect_set
*
eset
,
uint8
sort
=
TRUE
);
void
filter_immune_effect
();
void
filter_immune_effect
();
...
...
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