Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
f25417da
Commit
f25417da
authored
Sep 06, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
always allow custom cards
parent
39a001fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gframe/deck_manager.cpp
gframe/deck_manager.cpp
+2
-0
gframe/game.h
gframe/game.h
+3
-3
No files found.
gframe/deck_manager.cpp
View file @
f25417da
...
...
@@ -73,6 +73,8 @@ const std::unordered_map<int, int>* DeckManager::GetLFListContent(int lfhash) {
return
nullptr
;
}
static
int
checkAvail
(
int
ot
,
int
avail
)
{
if
(
!!
(
ot
&&
0x4
))
return
0
;
if
((
ot
&
avail
)
==
avail
)
return
0
;
if
((
ot
&
AVAIL_OCG
)
&&
!
(
avail
==
AVAIL_OCG
))
...
...
gframe/game.h
View file @
f25417da
...
...
@@ -857,10 +857,10 @@ extern Game* mainGame;
#define TEXTURE_ATTACK 5
#define TEXTURE_ACTIVATE 6
#define AVAIL_OCG 0x
5
#define AVAIL_TCG 0x
6
#define AVAIL_OCG 0x
1
#define AVAIL_TCG 0x
2
#define AVAIL_CUSTOM 0x4
#define AVAIL_SC 0x
c
#define AVAIL_SC 0x
8
#define AVAIL_OCGTCG (AVAIL_OCG|AVAIL_TCG)
#ifndef DEFAULT_DUEL_RULE
...
...
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