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
6dc48e12
Commit
6dc48e12
authored
Dec 30, 2021
by
Chrono-Genex
Committed by
GitHub
Dec 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add STATUS_TO_HAND_WITHOUT_CONFIRM (#420)
parent
2fdba300
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
common.h
common.h
+1
-1
field.cpp
field.cpp
+1
-0
No files found.
common.h
View file @
6dc48e12
...
@@ -187,7 +187,7 @@ struct card_sort {
...
@@ -187,7 +187,7 @@ struct card_sort {
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_FUTURE_FUSION 0x100000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_ATTACK_CANCELED 0x200000
#define STATUS_INITIALIZING 0x400000
#define STATUS_INITIALIZING 0x400000
//#define STATUS_ACTIVATED
0x800000
#define STATUS_TO_HAND_WITHOUT_CONFIRM
0x800000
#define STATUS_JUST_POS 0x1000000
#define STATUS_JUST_POS 0x1000000
#define STATUS_CONTINUOUS_POS 0x2000000
#define STATUS_CONTINUOUS_POS 0x2000000
#define STATUS_FORBIDDEN 0x4000000
#define STATUS_FORBIDDEN 0x4000000
...
...
field.cpp
View file @
6dc48e12
...
@@ -221,6 +221,7 @@ void field::remove_card(card* pcard) {
...
@@ -221,6 +221,7 @@ void field::remove_card(card* pcard) {
core
.
shuffle_deck_check
[
playerid
]
=
TRUE
;
core
.
shuffle_deck_check
[
playerid
]
=
TRUE
;
break
;
break
;
case
LOCATION_HAND
:
case
LOCATION_HAND
:
pcard
->
set_status
(
STATUS_TO_HAND_WITHOUT_CONFIRM
,
FALSE
);
player
[
playerid
].
list_hand
.
erase
(
player
[
playerid
].
list_hand
.
begin
()
+
pcard
->
current
.
sequence
);
player
[
playerid
].
list_hand
.
erase
(
player
[
playerid
].
list_hand
.
begin
()
+
pcard
->
current
.
sequence
);
reset_sequence
(
playerid
,
LOCATION_HAND
);
reset_sequence
(
playerid
,
LOCATION_HAND
);
break
;
break
;
...
...
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