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
58be174a
Commit
58be174a
authored
Mar 24, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix merge conflict
parent
e8ca4858
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
12 deletions
+10
-12
gframe/data_manager.cpp
gframe/data_manager.cpp
+2
-1
gframe/game.h
gframe/game.h
+2
-6
gframe/gframe.cpp
gframe/gframe.cpp
+2
-1
gframe/netserver.cpp
gframe/netserver.cpp
+2
-2
gframe/single_duel.cpp
gframe/single_duel.cpp
+1
-1
gframe/single_mode.cpp
gframe/single_mode.cpp
+1
-1
No files found.
gframe/data_manager.cpp
View file @
58be174a
...
...
@@ -39,6 +39,7 @@ bool DataManager::LoadDB(const char* file) {
cd
.
attribute
=
sqlite3_column_int
(
pStmt
,
9
);
cd
.
category
=
sqlite3_column_int
(
pStmt
,
10
);
_datas
.
insert
(
std
::
make_pair
(
cd
.
code
,
cd
));
/*
len = BufferIO::DecodeUTF8((const char*)sqlite3_column_text(pStmt, 12), strBuffer);
if(len) {
cs.name = new wchar_t[len + 1];
...
...
gframe/game.h
View file @
58be174a
...
...
@@ -105,17 +105,15 @@ public:
void AddChatMsg(wchar_t* msg, int player);
void ClearTextures();
void CloseDuelWindow();
*/
*/
int
LocalPlayer
(
int
player
);
const
wchar_t
*
LocalName
(
int
local_player
);
/*
bool HasFocus(EGUI_ELEMENT_TYPE type) const {
irr::gui::IGUIElement* focus = env->getFocus();
//
irr::gui::IGUIElement* focus = env->getFocus();
return focus && focus->hasType(type);
}
*/
*/
Mutex
gMutex
;
...
...
@@ -129,8 +127,7 @@ public:
Config
gameConf
;
DuelInfo
dInfo
;
/*
std::list<FadingUnit> fadingList;
/*std::list<FadingUnit> fadingList;
std::vector<int> logParam;
std::wstring chatMsg[8];
...
...
@@ -162,7 +159,6 @@ public:
bool is_building;
bool is_siding;
*/
*/
/*
ClientField dField;
...
...
gframe/gframe.cpp
View file @
58be174a
...
...
@@ -90,5 +90,6 @@ int main(int argc, char* argv[]) {
#else
#endif //_WIN32
*/
return
EXIT_SUCCESS
;
}
gframe/netserver.cpp
View file @
58be174a
gframe/single_duel.cpp
View file @
58be174a
gframe/single_mode.cpp
View file @
58be174a
...
...
@@ -790,7 +790,7 @@ int SingleMode::MessageHandler(long fduel, int type) {
if
(
enable_log
==
1
)
{
wchar_t
wbuf
[
1024
];
BufferIO
::
DecodeUTF8
(
msgbuf
,
wbuf
);
//
mainGame->AddChatMsg(wbuf, 9);
mainGame
->
AddChatMsg
(
wbuf
,
9
);
}
else
if
(
enable_log
==
2
)
{
FILE
*
fp
=
fopen
(
"error.log"
,
"at"
);
if
(
!
fp
)
...
...
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