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
Commits
8f2c22ef
Commit
8f2c22ef
authored
Dec 27, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
class Game: default member inialize
parent
72108984
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
gframe/game.cpp
gframe/game.cpp
+0
-3
gframe/game.h
gframe/game.h
+9
-9
No files found.
gframe/game.cpp
View file @
8f2c22ef
...
@@ -81,9 +81,6 @@ bool Game::Initialize() {
...
@@ -81,9 +81,6 @@ bool Game::Initialize() {
is_building
=
false
;
is_building
=
false
;
menuHandler
.
prev_operation
=
0
;
menuHandler
.
prev_operation
=
0
;
menuHandler
.
prev_sel
=
-
1
;
menuHandler
.
prev_sel
=
-
1
;
for
(
int
i
=
0
;
i
<
8
;
++
i
)
{
chatTiming
[
i
]
=
0
;
}
deckManager
.
LoadLFList
();
deckManager
.
LoadLFList
();
driver
=
device
->
getVideoDriver
();
driver
=
device
->
getVideoDriver
();
driver
->
setTextureCreationFlag
(
irr
::
video
::
ETCF_CREATE_MIP_MAPS
,
false
);
driver
->
setTextureCreationFlag
(
irr
::
video
::
ETCF_CREATE_MIP_MAPS
,
false
);
...
...
gframe/game.h
View file @
8f2c22ef
...
@@ -96,13 +96,13 @@ struct DuelInfo {
...
@@ -96,13 +96,13 @@ struct DuelInfo {
};
};
struct BotInfo {
struct BotInfo {
wchar_t
name
[
256
];
wchar_t name[256]
{}
;
wchar_t
command
[
256
];
wchar_t command[256]
{}
;
wchar_t
desc
[
256
];
wchar_t desc[256]
{}
;
bool
support_master_rule_3
;
bool support_master_rule_3
{ false }
;
bool
support_new_master_rule
;
bool support_new_master_rule
{ false }
;
bool
support_master_rule_2020
;
bool support_master_rule_2020
{ false }
;
bool
select_deckfile
;
bool select_deckfile
{ false }
;
};
};
struct FadingUnit {
struct FadingUnit {
...
@@ -215,8 +215,8 @@ public:
...
@@ -215,8 +215,8 @@ public:
int hideChatTimer;
int hideChatTimer;
bool hideChat;
bool hideChat;
int
chatTiming
[
8
];
int chatTiming[8]
{}
;
int
chatType
[
8
];
int chatType[8]
{}
;
unsigned short linePatternD3D;
unsigned short linePatternD3D;
unsigned short linePatternGL;
unsigned short linePatternGL;
int waitFrame;
int waitFrame;
...
...
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