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
ce97d9a5
Commit
ce97d9a5
authored
Feb 12, 2024
by
Uytrewq
Committed by
GitHub
Feb 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update card_state::init_state (#547)
parent
0131c217
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
card.cpp
card.cpp
+20
-20
No files found.
card.cpp
View file @
ce97d9a5
...
@@ -37,26 +37,26 @@ bool card_state::is_location(int32 loc) const {
...
@@ -37,26 +37,26 @@ bool card_state::is_location(int32 loc) const {
return
false
;
return
false
;
}
}
void
card_state
::
init_state
()
{
void
card_state
::
init_state
()
{
code
=
0xffffffff
;
code
=
UINT32_MAX
;
code2
=
0xffffffff
;
code2
=
UINT32_MAX
;
type
=
0xffffffff
;
type
=
UINT32_MAX
;
level
=
0xffffffff
;
level
=
UINT32_MAX
;
rank
=
0xffffffff
;
rank
=
UINT32_MAX
;
link
=
0xffffffff
;
link
=
UINT32_MAX
;
lscale
=
0xffffffff
;
lscale
=
UINT32_MAX
;
rscale
=
0xffffffff
;
rscale
=
UINT32_MAX
;
attribute
=
0xffffffff
;
attribute
=
UINT32_MAX
;
race
=
0xffffffff
;
race
=
UINT32_MAX
;
attack
=
0xffffffff
;
attack
=
-
1
;
defense
=
0xffffffff
;
defense
=
-
1
;
base_attack
=
0xffffffff
;
base_attack
=
-
1
;
base_defense
=
0xffffffff
;
base_defense
=
-
1
;
controler
=
0xff
;
controler
=
UINT8_MAX
;
location
=
0xff
;
location
=
UINT8_MAX
;
sequence
=
0xff
;
sequence
=
UINT8_MAX
;
position
=
0xff
;
position
=
UINT8_MAX
;
reason
=
0xffffffff
;
reason
=
UINT32_MAX
;
reason_player
=
0xff
;
reason_player
=
UINT8_MAX
;
}
}
void
query_cache
::
clear_cache
()
{
void
query_cache
::
clear_cache
()
{
info_location
=
UINT32_MAX
;
info_location
=
UINT32_MAX
;
...
...
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