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
d92fb763
Commit
d92fb763
authored
Nov 09, 2024
by
Chen Bill
Committed by
GitHub
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use unsigned location constant (#655)
parent
8568c8f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
common.h
common.h
+11
-11
No files found.
common.h
View file @
d92fb763
...
@@ -49,17 +49,17 @@ typedef signed char int8;
...
@@ -49,17 +49,17 @@ typedef signed char int8;
#define CURRENT_RULE 5
#define CURRENT_RULE 5
//Locations
//Locations
#define LOCATION_DECK 0x01
//
#define LOCATION_DECK 0x01
U
#define LOCATION_HAND 0x02
//
#define LOCATION_HAND 0x02
U
#define LOCATION_MZONE 0x04
//
#define LOCATION_MZONE 0x04
U
#define LOCATION_SZONE 0x08
//
#define LOCATION_SZONE 0x08
U
#define LOCATION_GRAVE 0x10
//
#define LOCATION_GRAVE 0x10
U
#define LOCATION_REMOVED 0x20
//
#define LOCATION_REMOVED 0x20
U
#define LOCATION_EXTRA 0x40
//
#define LOCATION_EXTRA 0x40
U
#define LOCATION_OVERLAY 0x80
//
#define LOCATION_OVERLAY 0x80
U
#define LOCATION_ONFIELD
0x0c //
#define LOCATION_ONFIELD
(LOCATION_MZONE | LOCATION_SZONE)
#define LOCATION_FZONE 0x100
//
#define LOCATION_FZONE 0x100
U
#define LOCATION_PZONE 0x200
//
#define LOCATION_PZONE 0x200
U
//For redirect
//For redirect
#define LOCATION_DECKBOT 0x10001 //Return to deck bottom
#define LOCATION_DECKBOT 0x10001 //Return to deck bottom
#define LOCATION_DECKSHF 0x20001 //Return to deck and shuffle
#define LOCATION_DECKSHF 0x20001 //Return to deck and shuffle
...
...
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