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
fb4580f9
Commit
fb4580f9
authored
Dec 15, 2024
by
Chen Bill
Committed by
GitHub
Dec 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch1 (#2635)
* update include in network.h * format
parent
4ef45c84
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
21 deletions
+16
-21
gframe/duelclient.cpp
gframe/duelclient.cpp
+2
-2
gframe/duelclient.h
gframe/duelclient.h
+0
-4
gframe/event_handler.cpp
gframe/event_handler.cpp
+1
-0
gframe/netserver.cpp
gframe/netserver.cpp
+2
-0
gframe/netserver.h
gframe/netserver.h
+0
-4
gframe/network.h
gframe/network.h
+3
-3
gframe/replay_mode.cpp
gframe/replay_mode.cpp
+1
-1
gframe/single_duel.cpp
gframe/single_duel.cpp
+2
-2
gframe/single_duel.h
gframe/single_duel.h
+1
-1
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-1
gframe/tag_duel.cpp
gframe/tag_duel.cpp
+2
-2
gframe/tag_duel.h
gframe/tag_duel.h
+1
-1
No files found.
gframe/duelclient.cpp
View file @
fb4580f9
#include "config.h"
#include "duelclient.h"
#include "client_card.h"
#include "materials.h"
#include "image_manager.h"
#include "sound_manager.h"
#include "single_mode.h"
#include "../ocgcore/common.h"
#include "game.h"
#include "deck_manager.h"
#include "replay.h"
#include "replay_mode.h"
#include <thread>
namespace
ygo
{
...
...
gframe/duelclient.h
View file @
fb4580f9
#ifndef DUELCLIENT_H
#define DUELCLIENT_H
#include "config.h"
#include <vector>
#include <set>
#include <utility>
#include "network.h"
#include "data_manager.h"
#include "deck_manager.h"
#include "../ocgcore/mtrandom.h"
namespace
ygo
{
...
...
gframe/event_handler.cpp
View file @
fb4580f9
...
...
@@ -7,6 +7,7 @@
#include "data_manager.h"
#include "image_manager.h"
#include "sound_manager.h"
#include "deck_manager.h"
#include "replay_mode.h"
#include "single_mode.h"
#include "materials.h"
...
...
gframe/netserver.cpp
View file @
fb4580f9
#include "config.h"
#include "netserver.h"
#include "single_duel.h"
#include "tag_duel.h"
#include "deck_manager.h"
#include <thread>
namespace
ygo
{
...
...
gframe/netserver.h
View file @
fb4580f9
#ifndef NETSERVER_H
#define NETSERVER_H
#include "config.h"
#include "network.h"
#include "data_manager.h"
#include "deck_manager.h"
#include <set>
#include <unordered_map>
namespace
ygo
{
...
...
gframe/network.h
View file @
fb4580f9
#ifndef NETWORK_H
#define NETWORK_H
#include
"config.h"
#include
"deck_manager.h"
#include
<cstdint>
#include
<cstring>
#include <event2/event.h>
#include <event2/listener.h>
#include <event2/bufferevent.h>
...
...
@@ -191,7 +191,7 @@ struct DuelPlayer {
inline
bool
check_msg_size
(
int
size
)
{
// empty string is not allowed
if
(
size
<
2
*
sizeof
(
uint16_t
))
if
(
size
<
2
*
sizeof
(
uint16_t
))
return
false
;
if
(
size
>
LEN_CHAT_MSG
*
sizeof
(
uint16_t
))
return
false
;
...
...
gframe/replay_mode.cpp
View file @
fb4580f9
#include "replay_mode.h"
#include "duelclient.h"
#include "game.h"
#include "
../ocgcore/common
.h"
#include "
data_manager
.h"
#include "../ocgcore/mtrandom.h"
#include <thread>
...
...
gframe/single_duel.cpp
View file @
fb4580f9
#include "config.h"
#include "single_duel.h"
#include "netserver.h"
#include "game.h"
#include "../ocgcore/ocgapi.h"
#include "../ocgcore/common.h"
#include "data_manager.h"
#include "../ocgcore/mtrandom.h"
namespace
ygo
{
...
...
gframe/single_duel.h
View file @
fb4580f9
#ifndef SINGLE_DUEL_H
#define SINGLE_DUEL_H
#include "config.h"
#include "network.h"
#include "deck_manager.h"
#include "replay.h"
namespace
ygo
{
...
...
gframe/single_mode.cpp
View file @
fb4580f9
#include "single_mode.h"
#include "duelclient.h"
#include "game.h"
#include "
../ocgcore/common
.h"
#include "
data_manager
.h"
#include "../ocgcore/mtrandom.h"
#include <thread>
...
...
gframe/tag_duel.cpp
View file @
fb4580f9
#include "config.h"
#include "tag_duel.h"
#include "netserver.h"
#include "game.h"
#include "../ocgcore/ocgapi.h"
#include "../ocgcore/common.h"
#include "data_manager.h"
#include "../ocgcore/mtrandom.h"
namespace
ygo
{
...
...
gframe/tag_duel.h
View file @
fb4580f9
#ifndef TAG_DUEL_H
#define TAG_DUEL_H
#include "config.h"
#include "network.h"
#include "deck_manager.h"
#include "replay.h"
namespace
ygo
{
...
...
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