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
REIKAI
ygopro
Commits
8168164e
Commit
8168164e
authored
Nov 13, 2017
by
edo9300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing changes
parent
118a0a60
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
+12
-6
gframe/bufferio.h
gframe/bufferio.h
+5
-0
gframe/client_field.h
gframe/client_field.h
+3
-3
gframe/deck_manager.h
gframe/deck_manager.h
+2
-2
gframe/duelclient.h
gframe/duelclient.h
+1
-1
gframe/network.h
gframe/network.h
+1
-0
No files found.
gframe/bufferio.h
View file @
8168164e
...
...
@@ -7,6 +7,11 @@
class
BufferIO
{
public:
inline
static
unsigned
long
long
ReadInt64
(
char
*&
p
)
{
unsigned
long
long
ret
=
*
(
unsigned
long
long
*
)
p
;
p
+=
8
;
return
ret
;
}
inline
static
int
ReadInt32
(
char
*&
p
)
{
int
ret
=
*
(
int
*
)
p
;
p
+=
4
;
...
...
gframe/client_field.h
View file @
8168164e
...
...
@@ -13,7 +13,7 @@ struct ChainInfo {
irr
::
core
::
vector3df
chain_pos
;
ClientCard
*
chain_card
;
int
code
;
int
desc
;
u64
desc
;
int
controler
;
int
location
;
int
sequence
;
...
...
@@ -40,8 +40,8 @@ public:
std
::
vector
<
ClientCard
*>
activatable_cards
;
std
::
vector
<
ClientCard
*>
attackable_cards
;
std
::
vector
<
ClientCard
*>
conti_cards
;
std
::
vector
<
std
::
pair
<
int
,
int
>>
activatable_descs
;
std
::
vector
<
int
>
select_options
;
std
::
vector
<
std
::
pair
<
u64
,
int
>>
activatable_descs
;
std
::
vector
<
u64
>
select_options
;
std
::
vector
<
ChainInfo
>
chains
;
int
extra_p_count
[
2
];
...
...
gframe/deck_manager.h
View file @
8168164e
...
...
@@ -37,9 +37,9 @@ public:
void
LoadLFList
();
wchar_t
*
GetLFListName
(
int
lfhash
);
int
CheckLFList
(
Deck
&
deck
,
int
lfhash
,
bool
allow_ocg
,
bool
allow_tcg
,
bool
doubled
);
int
CheckLFList
(
Deck
&
deck
,
int
lfhash
,
bool
allow_ocg
,
bool
allow_tcg
,
bool
doubled
,
int
forbiddentypes
=
0
);
int
TypeCount
(
std
::
vector
<
code_pointer
>
cards
,
int
type
);
void
LoadDeck
(
Deck
&
deck
,
int
*
dbuf
,
int
mainc
,
int
sidec
,
int
mainc2
=
0
,
int
sidec2
=
0
,
bool
doubled
=
false
);
void
LoadDeck
(
Deck
&
deck
,
int
*
dbuf
,
int
mainc
,
int
sidec
,
int
mainc2
=
0
,
int
sidec2
=
0
,
bool
doubled
=
false
);
bool
LoadSide
(
Deck
&
deck
,
int
*
dbuf
,
int
mainc
,
int
sidec
);
FILE
*
OpenDeckFile
(
const
wchar_t
*
file
,
const
char
*
mode
);
bool
LoadDeck
(
const
wchar_t
*
file
);
...
...
gframe/duelclient.h
View file @
8168164e
...
...
@@ -29,7 +29,7 @@ private:
static
char
duel_client_read
[
0x2000
];
static
char
duel_client_write
[
0x2000
];
static
bool
is_closing
;
static
int
select_hint
;
static
u64
select_hint
;
static
wchar_t
event_string
[
256
];
static
mtrandom
rnd
;
public:
...
...
gframe/network.h
View file @
8168164e
...
...
@@ -24,6 +24,7 @@ struct HostInfo {
unsigned
short
time_limit
;
unsigned
char
check
;
unsigned
int
duel_flag
;
int
forbiddentypes
;
bool
destiny_draw
;
bool
sealed
;
bool
booster
;
...
...
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