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
071a5d40
You need to sign in or sign up before continuing.
Commit
071a5d40
authored
Mar 26, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove GLOBALFLAG_DELAYED_QUICKEFFECT
parent
95bc5de8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
24 deletions
+18
-24
field.h
field.h
+1
-1
processor.cpp
processor.cpp
+17
-23
No files found.
field.h
View file @
071a5d40
...
...
@@ -591,7 +591,7 @@ public:
#define GLOBALFLAG_DECK_REVERSE_CHECK 0x1
#define GLOBALFLAG_BRAINWASHING_CHECK 0x2
#define GLOBALFLAG_SCRAP_CHIMERA 0x4
#define GLOBALFLAG_DELAYED_QUICKEFFECT 0x8
//
#define GLOBALFLAG_DELAYED_QUICKEFFECT 0x8
#define GLOBALFLAG_DETACH_EVENT 0x10
#define GLOBALFLAG_MUST_BE_SMATERIAL 0x20
#define GLOBALFLAG_SPSUMMON_COUNT 0x40
...
...
processor.cpp
View file @
071a5d40
...
...
@@ -2088,7 +2088,6 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
if
(
act
)
core
.
select_chains
.
push_back
(
*
clit
);
}
if
(
core
.
global_flag
&
GLOBALFLAG_DELAYED_QUICKEFFECT
)
{
for
(
auto
eit
=
core
.
delayed_quick
.
begin
();
eit
!=
core
.
delayed_quick
.
end
();
++
eit
)
{
peffect
=
eit
->
first
;
peffect
->
s_range
=
peffect
->
handler
->
current
.
location
;
...
...
@@ -2106,7 +2105,6 @@ int32 field::process_quick_effect(int16 step, int32 skip_freechain, uint8 priori
core
.
select_chains
.
push_back
(
newchain
);
}
}
}
core
.
spe_effect
[
priority
]
=
core
.
select_chains
.
size
();
if
(
!
skip_freechain
)
{
nil_event
.
event_code
=
EVENT_FREE_CHAIN
;
...
...
@@ -2296,8 +2294,6 @@ int32 field::process_instant_event() {
peffect
->
handler
->
create_relation
(
newchain
);
}
}
if
(
!
(
core
.
global_flag
&
GLOBALFLAG_DELAYED_QUICKEFFECT
))
continue
;
//delayed quick effect
pr
=
effects
.
activate_effect
.
equal_range
(
elit
->
event_code
);
for
(;
pr
.
first
!=
pr
.
second
;
++
pr
.
first
)
{
...
...
@@ -4786,10 +4782,8 @@ int32 field::break_effect() {
core
.
new_ochain
.
erase
(
rm
);
}
}
if
(
core
.
global_flag
&
GLOBALFLAG_DELAYED_QUICKEFFECT
)
{
core
.
delayed_quick_break
.
insert
(
core
.
delayed_quick_tmp
.
begin
(),
core
.
delayed_quick_tmp
.
end
());
core
.
delayed_quick_tmp
.
clear
();
}
core
.
used_event
.
splice
(
core
.
used_event
.
end
(),
core
.
instant_event
);
adjust_instant
();
return
0
;
...
...
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