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
309955d6
Commit
309955d6
authored
Apr 06, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor format
parent
7b4309b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
effectset.h
effectset.h
+2
-1
field.h
field.h
+3
-3
No files found.
effectset.h
View file @
309955d6
...
@@ -18,7 +18,8 @@ class effect;
...
@@ -18,7 +18,8 @@ class effect;
bool
effect_sort_id
(
const
effect
*
e1
,
const
effect
*
e2
);
bool
effect_sort_id
(
const
effect
*
e1
,
const
effect
*
e2
);
struct
effect_set
{
struct
effect_set
{
effect_set
()
:
count
(
0
),
container
{
nullptr
}
{}
effect_set
()
:
count
(
0
),
container
{
nullptr
}
{}
void
add_item
(
effect
*
peffect
)
{
void
add_item
(
effect
*
peffect
)
{
if
(
count
>=
64
)
return
;
if
(
count
>=
64
)
return
;
container
[
count
++
]
=
peffect
;
container
[
count
++
]
=
peffect
;
...
...
field.h
View file @
309955d6
...
@@ -72,7 +72,7 @@ struct chain {
...
@@ -72,7 +72,7 @@ struct chain {
chain
()
chain
()
:
chain_id
(
0
),
chain_count
(
0
),
triggering_player
(
PLAYER_NONE
),
triggering_controler
(
PLAYER_NONE
),
triggering_location
(
0
),
triggering_sequence
(
0
),
triggering_position
(
0
),
:
chain_id
(
0
),
chain_count
(
0
),
triggering_player
(
PLAYER_NONE
),
triggering_controler
(
PLAYER_NONE
),
triggering_location
(
0
),
triggering_sequence
(
0
),
triggering_position
(
0
),
triggering_state
(),
triggering_effect
(
nullptr
),
target_cards
(
nullptr
),
replace_op
(
0
),
target_player
(
PLAYER_NONE
),
target_param
(
0
),
disable_reason
(
nullptr
),
disable_player
(
PLAYER_NONE
),
triggering_state
(),
triggering_effect
(
nullptr
),
target_cards
(
nullptr
),
replace_op
(
0
),
target_player
(
PLAYER_NONE
),
target_param
(
0
),
disable_reason
(
nullptr
),
disable_player
(
PLAYER_NONE
),
evt
(),
flag
(
0
)
{}
evt
(),
flag
(
0
)
{}
static
bool
chain_operation_sort
(
const
chain
&
c1
,
const
chain
&
c2
);
static
bool
chain_operation_sort
(
const
chain
&
c1
,
const
chain
&
c2
);
void
set_triggering_state
(
card
*
pcard
);
void
set_triggering_state
(
card
*
pcard
);
...
@@ -141,7 +141,7 @@ struct field_info {
...
@@ -141,7 +141,7 @@ struct field_info {
uint8
can_shuffle
;
uint8
can_shuffle
;
field_info
()
field_info
()
:
field_id
(
0
),
copy_id
(
0
),
turn_id
(
0
),
turn_id_by_player
{
0
},
card_id
(
0
),
phase
(
0
),
turn_player
(
0
),
priorities
{
0
},
can_shuffle
(
TRUE
)
{}
:
field_id
(
0
),
copy_id
(
0
),
turn_id
(
0
),
turn_id_by_player
{
0
},
card_id
(
0
),
phase
(
0
),
turn_player
(
0
),
priorities
{
0
},
can_shuffle
(
TRUE
)
{}
};
};
struct
lpcost
{
struct
lpcost
{
int32
count
;
int32
count
;
...
@@ -149,7 +149,7 @@ struct lpcost {
...
@@ -149,7 +149,7 @@ struct lpcost {
int32
lpstack
[
8
];
int32
lpstack
[
8
];
lpcost
()
lpcost
()
:
count
(
0
),
amount
(
0
),
lpstack
{
0
}
{}
:
count
(
0
),
amount
(
0
),
lpstack
{
0
}
{}
};
};
struct
processor_unit
{
struct
processor_unit
{
uint16
type
;
uint16
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