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
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
MyCard
ygopro-core
Commits
3c024ddb
Commit
3c024ddb
authored
May 04, 2018
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/int/int32/
parent
66506f74
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
field.cpp
field.cpp
+3
-3
field.h
field.h
+1
-1
No files found.
field.cpp
View file @
3c024ddb
...
@@ -577,7 +577,7 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer
...
@@ -577,7 +577,7 @@ int32 field::get_useable_count_fromex(card* pcard, uint8 playerid, uint8 uplayer
pcard
=
temp_card
;
pcard
=
temp_card
;
pcard
->
current
.
location
=
LOCATION_EXTRA
;
pcard
->
current
.
location
=
LOCATION_EXTRA
;
}
}
int
useable_count
=
0
;
int
32
useable_count
=
0
;
if
(
core
.
duel_rule
>=
4
)
if
(
core
.
duel_rule
>=
4
)
useable_count
=
get_useable_count_fromex_rule4
(
pcard
,
playerid
,
uplayer
,
zone
,
list
);
useable_count
=
get_useable_count_fromex_rule4
(
pcard
,
playerid
,
uplayer
,
zone
,
list
);
else
else
...
@@ -599,7 +599,7 @@ int32 field::get_spsummonable_count_fromex(card* pcard, uint8 playerid, uint8 up
...
@@ -599,7 +599,7 @@ int32 field::get_spsummonable_count_fromex(card* pcard, uint8 playerid, uint8 up
pcard
=
temp_card
;
pcard
=
temp_card
;
pcard
->
current
.
location
=
LOCATION_EXTRA
;
pcard
->
current
.
location
=
LOCATION_EXTRA
;
}
}
int
spsummonable_count
=
0
;
int
32
spsummonable_count
=
0
;
if
(
core
.
duel_rule
>=
4
)
if
(
core
.
duel_rule
>=
4
)
spsummonable_count
=
get_spsummonable_count_fromex_rule4
(
pcard
,
playerid
,
uplayer
,
zone
,
list
);
spsummonable_count
=
get_spsummonable_count_fromex_rule4
(
pcard
,
playerid
,
uplayer
,
zone
,
list
);
else
else
...
@@ -2916,7 +2916,7 @@ int32 field::check_xyz_material(card* scard, int32 findex, int32 lv, int32 min,
...
@@ -2916,7 +2916,7 @@ int32 field::check_xyz_material(card* scard, int32 findex, int32 lv, int32 min,
effect_set
eset
;
effect_set
eset
;
filter_player_effect
(
playerid
,
EFFECT_MUST_BE_XMATERIAL
,
&
eset
);
filter_player_effect
(
playerid
,
EFFECT_MUST_BE_XMATERIAL
,
&
eset
);
card_set
mcset
;
card_set
mcset
;
for
(
int
i
=
0
;
i
<
eset
.
size
();
++
i
)
for
(
int
32
i
=
0
;
i
<
eset
.
size
();
++
i
)
mcset
.
insert
(
eset
[
i
]
->
handler
);
mcset
.
insert
(
eset
[
i
]
->
handler
);
int32
mct
=
mcset
.
size
();
int32
mct
=
mcset
.
size
();
if
(
mct
>
0
)
{
if
(
mct
>
0
)
{
...
...
field.h
View file @
3c024ddb
...
@@ -588,7 +588,7 @@ public:
...
@@ -588,7 +588,7 @@ public:
int32
select_position
(
uint16
step
,
uint8
playerid
,
uint32
code
,
uint8
positions
);
int32
select_position
(
uint16
step
,
uint8
playerid
,
uint32
code
,
uint8
positions
);
int32
select_tribute
(
uint16
step
,
uint8
playerid
,
uint8
cancelable
,
uint8
min
,
uint8
max
);
int32
select_tribute
(
uint16
step
,
uint8
playerid
,
uint8
cancelable
,
uint8
min
,
uint8
max
);
int32
select_counter
(
uint16
step
,
uint8
playerid
,
uint16
countertype
,
uint16
count
,
uint8
s
,
uint8
o
);
int32
select_counter
(
uint16
step
,
uint8
playerid
,
uint16
countertype
,
uint16
count
,
uint8
s
,
uint8
o
);
int32
select_with_sum_limit
(
int16
step
,
uint8
playerid
,
int32
acc
,
int32
min
,
int
max
);
int32
select_with_sum_limit
(
int16
step
,
uint8
playerid
,
int32
acc
,
int32
min
,
int
32
max
);
int32
sort_card
(
int16
step
,
uint8
playerid
,
uint8
is_chain
);
int32
sort_card
(
int16
step
,
uint8
playerid
,
uint8
is_chain
);
int32
announce_race
(
int16
step
,
uint8
playerid
,
int32
count
,
int32
available
);
int32
announce_race
(
int16
step
,
uint8
playerid
,
int32
count
,
int32
available
);
int32
announce_attribute
(
int16
step
,
uint8
playerid
,
int32
count
,
int32
available
);
int32
announce_attribute
(
int16
step
,
uint8
playerid
,
int32
count
,
int32
available
);
...
...
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