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
nanahira
ygopro
Commits
0c15c609
Commit
0c15c609
authored
Jul 17, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ask set
parent
c71fd2c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
gframe/client_field.h
gframe/client_field.h
+2
-1
gframe/event_handler.cpp
gframe/event_handler.cpp
+12
-2
strings.conf
strings.conf
+1
-0
No files found.
gframe/client_field.h
View file @
0c15c609
...
...
@@ -63,7 +63,8 @@ public:
int
announce_count
;
int
select_counter_count
;
int
select_counter_type
;
std
::
vector
<
ClientCard
*>
selectable_cards
;
int
current_mset_param
;
std
::
vector
<
ClientCard
*>
selectable_cards
;
std
::
vector
<
ClientCard
*>
selected_cards
;
std
::
set
<
ClientCard
*>
selectsum_cards
;
std
::
vector
<
ClientCard
*>
selectsum_all
;
...
...
gframe/event_handler.cpp
View file @
0c15c609
...
...
@@ -219,6 +219,13 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
}
break
;
}
case
MSG_SELECT_IDLECMD
:
{
mainGame
->
HideElement
(
mainGame
->
wQuery
);
if
(
current_mset_param
)
{
DuelClient
::
SetResponseI
(
current_mset_param
);
DuelClient
::
SendResponse
();
}
}
default:
{
mainGame
->
HideElement
(
mainGame
->
wQuery
);
break
;
...
...
@@ -505,8 +512,11 @@ bool ClientField::OnEvent(const irr::SEvent& event) {
break
;
for
(
size_t
i
=
0
;
i
<
msetable_cards
.
size
();
++
i
)
{
if
(
msetable_cards
[
i
]
==
clicked_card
)
{
DuelClient
::
SetResponseI
((
i
<<
16
)
+
3
);
DuelClient
::
SendResponse
();
current_mset_param
=
(
i
<<
16
)
+
3
;
wchar_t
wbuf
[
256
];
myswprintf
(
wbuf
,
dataManager
.
GetSysString
(
1355
),
dataManager
.
GetName
(
clicked_card
->
code
));
mainGame
->
stQMessage
->
setText
(
wbuf
);
mainGame
->
PopupElement
(
mainGame
->
wQuery
);
break
;
}
}
...
...
strings.conf
View file @
0c15c609
...
...
@@ -401,6 +401,7 @@
!
system
1351
投降
!
system
1352
主要信息:
!
system
1353
播放起始于回合:
!
system
1355
是否确定盖放[%
ls
]?
!
system
1356
是否要放弃对卡组的修改?
!
system
1357
不提示保留对卡组的修改
!
system
1358
键入关键字后自动进行搜索
...
...
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