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
REIKAI
ygopro
Commits
90e9e63d
Commit
90e9e63d
authored
May 28, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update card.cpp
parent
e5dcc0fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
ocgcore/card.cpp
ocgcore/card.cpp
+17
-0
No files found.
ocgcore/card.cpp
View file @
90e9e63d
...
...
@@ -270,6 +270,23 @@ int32 card::is_set_card(uint32 set_code) {
return
TRUE
;
setcode
=
setcode
>>
16
;
}
//another code
uint32
code2
=
get_another_code
();
uint64
setcode2
;
if
(
code2
!=
0
)
{
card_data
dat
;
::
read_card
(
code2
,
&
dat
);
setcode2
=
dat
.
setcode
;
}
else
{
return
FALSE
;
}
uint32
settype2
=
setcode2
&
0xfff
;
uint32
setsubtype2
=
setcode2
&
0xf000
;
while
(
setcode2
)
{
if
((
setcode2
&
0xfff
)
==
settype2
&&
(
setcode2
&
0xf000
&
setsubtype2
)
==
setsubtype2
)
return
TRUE
;
setcode2
=
setcode2
>>
16
;
}
return
FALSE
;
}
uint32
card
::
get_type
()
{
...
...
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