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
YGOPRO-520DIY
ygopro
Commits
213d2537
Commit
213d2537
authored
Aug 29, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add hint 24 as lyric
parent
6391e3f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
gframe/duelclient.cpp
gframe/duelclient.cpp
+4
-0
gframe/single_duel.cpp
gframe/single_duel.cpp
+2
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+2
-1
No files found.
gframe/duelclient.cpp
View file @
213d2537
...
...
@@ -1266,6 +1266,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
soundManager
.
StopBGM
();
}
}
// lyric
case
24
:
{
//HINT_LYRIC
mainGame
->
AddChatMsg
(
dataManager
.
GetDesc
(
data
),
15
);
}
}
break
;
}
...
...
gframe/single_duel.cpp
View file @
213d2537
...
...
@@ -627,7 +627,8 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
case
10
:
case
21
:
case
22
:
case
23
:
{
case
23
:
case
24
:
{
NetServer
::
SendBufferToPlayer
(
players
[
0
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
NetServer
::
SendBufferToPlayer
(
players
[
1
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
for
(
auto
oit
=
observers
.
begin
();
oit
!=
observers
.
end
();
++
oit
)
...
...
gframe/tag_duel.cpp
View file @
213d2537
...
...
@@ -590,10 +590,11 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
NetServer
::
ReSendToPlayer
(
*
oit
);
break
;
}
case
10
:
case
21
:
case
22
:
case
23
:
case
10
:
{
case
24
:
{
for
(
int
i
=
0
;
i
<
4
;
++
i
)
NetServer
::
SendBufferToPlayer
(
players
[
i
],
STOC_GAME_MSG
,
offset
,
pbuf
-
offset
);
for
(
auto
oit
=
observers
.
begin
();
oit
!=
observers
.
end
();
++
oit
)
...
...
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