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
f3821dfa
Commit
f3821dfa
authored
Jul 28, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix name of Duel.RevealSelectDeckSequence
parent
a3fe63a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
field.h
field.h
+1
-1
libduel.cpp
libduel.cpp
+5
-5
scriptlib.h
scriptlib.h
+1
-1
No files found.
field.h
View file @
f3821dfa
...
@@ -350,7 +350,7 @@ struct processor {
...
@@ -350,7 +350,7 @@ struct processor {
uint32
hint_timing
[
2
]{};
uint32
hint_timing
[
2
]{};
uint8
current_player
{
PLAYER_NONE
};
uint8
current_player
{
PLAYER_NONE
};
uint8
conti_player
{
PLAYER_NONE
};
uint8
conti_player
{
PLAYER_NONE
};
uint8
select_deck_seq
_preserv
ed
{
FALSE
};
uint8
select_deck_seq
uence_reveal
ed
{
FALSE
};
uint8
selecting_player
{
PLAYER_NONE
};
uint8
selecting_player
{
PLAYER_NONE
};
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>>
summon_counter
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>>
summon_counter
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>>
normalsummon_counter
;
std
::
unordered_map
<
uint32
,
std
::
pair
<
uint32
,
uint32
>>
normalsummon_counter
;
...
...
libduel.cpp
View file @
f3821dfa
...
@@ -1546,12 +1546,12 @@ int32 scriptlib::duel_disable_self_destroy_check(lua_State* L) {
...
@@ -1546,12 +1546,12 @@ int32 scriptlib::duel_disable_self_destroy_check(lua_State* L) {
pduel->game_field->core.selfdes_disabled = disable;
pduel->game_field->core.selfdes_disabled = disable;
return 0;
return 0;
}
}
int32
scriptlib
::
duel_
preserve_select_deck_seq
(
lua_State
*
L
)
{
int32 scriptlib::duel_
reveal_select_deck_sequence
(lua_State* L) {
duel* pduel = interpreter::get_duel_info(L);
duel* pduel = interpreter::get_duel_info(L);
uint8
preserve
=
TRUE
;
uint8
reveal
= TRUE;
if(lua_gettop(L) > 0)
if(lua_gettop(L) > 0)
preserve
=
lua_toboolean
(
L
,
1
);
reveal
= lua_toboolean(L, 1);
pduel
->
game_field
->
core
.
select_deck_seq
_preserved
=
preserve
;
pduel->game_field->core.select_deck_seq
uence_revealed = reveal
;
return 0;
return 0;
}
}
int32 scriptlib::duel_shuffle_deck(lua_State *L) {
int32 scriptlib::duel_shuffle_deck(lua_State *L) {
...
@@ -4876,7 +4876,7 @@ static const struct luaL_Reg duellib[] = {
...
@@ -4876,7 +4876,7 @@ static const struct luaL_Reg duellib[] = {
{ "DiscardHand", scriptlib::duel_discard_hand },
{ "DiscardHand", scriptlib::duel_discard_hand },
{ "DisableShuffleCheck", scriptlib::duel_disable_shuffle_check },
{ "DisableShuffleCheck", scriptlib::duel_disable_shuffle_check },
{ "DisableSelfDestroyCheck", scriptlib::duel_disable_self_destroy_check },
{ "DisableSelfDestroyCheck", scriptlib::duel_disable_self_destroy_check },
{
"
PreserveSelectDeckSequence"
,
scriptlib
::
duel_preserve_select_deck_seq
},
{ "
RevealSelectDeckSequence", scriptlib::duel_reveal_select_deck_sequence
},
{ "ShuffleDeck", scriptlib::duel_shuffle_deck },
{ "ShuffleDeck", scriptlib::duel_shuffle_deck },
{ "ShuffleExtra", scriptlib::duel_shuffle_extra },
{ "ShuffleExtra", scriptlib::duel_shuffle_extra },
{ "ShuffleHand", scriptlib::duel_shuffle_hand },
{ "ShuffleHand", scriptlib::duel_shuffle_hand },
...
...
scriptlib.h
View file @
f3821dfa
...
@@ -462,7 +462,7 @@ public:
...
@@ -462,7 +462,7 @@ public:
static
int32
duel_discard_hand
(
lua_State
*
L
);
static
int32
duel_discard_hand
(
lua_State
*
L
);
static
int32
duel_disable_shuffle_check
(
lua_State
*
L
);
static
int32
duel_disable_shuffle_check
(
lua_State
*
L
);
static
int32
duel_disable_self_destroy_check
(
lua_State
*
L
);
static
int32
duel_disable_self_destroy_check
(
lua_State
*
L
);
static
int32
duel_
preserve_select_deck_seq
(
lua_State
*
L
);
static
int32
duel_
reveal_select_deck_sequence
(
lua_State
*
L
);
static
int32
duel_shuffle_deck
(
lua_State
*
L
);
static
int32
duel_shuffle_deck
(
lua_State
*
L
);
static
int32
duel_shuffle_extra
(
lua_State
*
L
);
static
int32
duel_shuffle_extra
(
lua_State
*
L
);
static
int32
duel_shuffle_hand
(
lua_State
*
L
);
static
int32
duel_shuffle_hand
(
lua_State
*
L
);
...
...
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