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
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-core
Commits
6dc01bba
Commit
6dc01bba
authored
Nov 30, 2015
by
Argon.Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
333db813
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
17 deletions
+4
-17
operations.cpp
operations.cpp
+4
-16
processor.cpp
processor.cpp
+0
-1
No files found.
operations.cpp
View file @
6dc01bba
...
@@ -879,15 +879,9 @@ int32 field::swap_control(uint16 step, effect * reason_effect, uint8 reason_play
...
@@ -879,15 +879,9 @@ int32 field::swap_control(uint16 step, effect * reason_effect, uint8 reason_play
case
1
:
{
case
1
:
{
pduel
->
write_buffer8
(
MSG_SWAP
);
pduel
->
write_buffer8
(
MSG_SWAP
);
pduel
->
write_buffer32
(
pcard1
->
data
.
code
);
pduel
->
write_buffer32
(
pcard1
->
data
.
code
);
pduel
->
write_buffer8
(
pcard2
->
current
.
controler
);
pduel
->
write_buffer32
(
pcard2
->
get_info_location
());
pduel
->
write_buffer8
(
pcard2
->
current
.
location
);
pduel
->
write_buffer8
(
pcard2
->
current
.
sequence
);
pduel
->
write_buffer8
(
pcard2
->
current
.
position
);
pduel
->
write_buffer32
(
pcard2
->
data
.
code
);
pduel
->
write_buffer32
(
pcard2
->
data
.
code
);
pduel
->
write_buffer8
(
pcard1
->
current
.
controler
);
pduel
->
write_buffer32
(
pcard1
->
get_info_location
());
pduel
->
write_buffer8
(
pcard1
->
current
.
location
);
pduel
->
write_buffer8
(
pcard1
->
current
.
sequence
);
pduel
->
write_buffer8
(
pcard1
->
current
.
position
);
raise_single_event
(
pcard1
,
0
,
EVENT_CONTROL_CHANGED
,
reason_effect
,
REASON_EFFECT
,
reason_player
,
pcard1
->
current
.
controler
,
0
);
raise_single_event
(
pcard1
,
0
,
EVENT_CONTROL_CHANGED
,
reason_effect
,
REASON_EFFECT
,
reason_player
,
pcard1
->
current
.
controler
,
0
);
raise_single_event
(
pcard2
,
0
,
EVENT_CONTROL_CHANGED
,
reason_effect
,
REASON_EFFECT
,
reason_player
,
pcard2
->
current
.
controler
,
0
);
raise_single_event
(
pcard2
,
0
,
EVENT_CONTROL_CHANGED
,
reason_effect
,
REASON_EFFECT
,
reason_player
,
pcard2
->
current
.
controler
,
0
);
process_single_event
();
process_single_event
();
...
@@ -995,15 +989,9 @@ int32 field::control_adjust(uint16 step) {
...
@@ -995,15 +989,9 @@ int32 field::control_adjust(uint16 step) {
pcard2
->
reset
(
RESET_CONTROL
,
RESET_EVENT
);
pcard2
->
reset
(
RESET_CONTROL
,
RESET_EVENT
);
pduel
->
write_buffer8
(
MSG_SWAP
);
pduel
->
write_buffer8
(
MSG_SWAP
);
pduel
->
write_buffer32
(
pcard1
->
data
.
code
);
pduel
->
write_buffer32
(
pcard1
->
data
.
code
);
pduel
->
write_buffer8
(
pcard2
->
current
.
controler
);
pduel
->
write_buffer32
(
pcard2
->
get_info_location
());
pduel
->
write_buffer8
(
pcard2
->
current
.
location
);
pduel
->
write_buffer8
(
pcard2
->
current
.
sequence
);
pduel
->
write_buffer8
(
pcard2
->
current
.
position
);
pduel
->
write_buffer32
(
pcard2
->
data
.
code
);
pduel
->
write_buffer32
(
pcard2
->
data
.
code
);
pduel
->
write_buffer8
(
pcard1
->
current
.
controler
);
pduel
->
write_buffer32
(
pcard1
->
get_info_location
());
pduel
->
write_buffer8
(
pcard1
->
current
.
location
);
pduel
->
write_buffer8
(
pcard1
->
current
.
sequence
);
pduel
->
write_buffer8
(
pcard1
->
current
.
position
);
}
}
card_set
*
adjust_set
=
new
card_set
;
card_set
*
adjust_set
=
new
card_set
;
core
.
units
.
begin
()
->
ptarget
=
(
group
*
)
adjust_set
;
core
.
units
.
begin
()
->
ptarget
=
(
group
*
)
adjust_set
;
...
...
processor.cpp
View file @
6dc01bba
...
@@ -4515,7 +4515,6 @@ int32 field::solve_chain(uint16 step, uint32 chainend_arg1, uint32 chainend_arg2
...
@@ -4515,7 +4515,6 @@ int32 field::solve_chain(uint16 step, uint32 chainend_arg1, uint32 chainend_arg2
core
.
spsummon_rst
=
false
;
core
.
spsummon_rst
=
false
;
}
}
pduel
->
write_buffer8
(
MSG_CHAIN_SOLVING
);
pduel
->
write_buffer8
(
MSG_CHAIN_SOLVING
);
pduel
->
write_buffer8
(
cait
->
chain_count
);
add_to_disable_check_list
(
cait
->
triggering_effect
->
handler
);
add_to_disable_check_list
(
cait
->
triggering_effect
->
handler
);
adjust_instant
();
adjust_instant
();
raise_event
((
card
*
)
0
,
EVENT_CHAIN_ACTIVATING
,
cait
->
triggering_effect
,
0
,
cait
->
triggering_player
,
cait
->
triggering_player
,
cait
->
chain_count
);
raise_event
((
card
*
)
0
,
EVENT_CHAIN_ACTIVATING
,
cait
->
triggering_effect
,
0
,
cait
->
triggering_player
,
cait
->
triggering_player
,
cait
->
chain_count
);
...
...
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