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
wyykak
ygopro
Commits
9d17da2d
Commit
9d17da2d
authored
Dec 31, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'server' into side5
parents
889c9ca9
9dd17cbd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
10 deletions
+6
-10
cards.cdb
cards.cdb
+0
-0
gframe/data_manager.cpp
gframe/data_manager.cpp
+2
-6
gframe/game.cpp
gframe/game.cpp
+1
-1
ocgcore
ocgcore
+1
-1
premake/gframe/ygopro.rc
premake/gframe/ygopro.rc
+1
-1
script
script
+1
-1
No files found.
cards.cdb
View file @
9d17da2d
No preview for this file type
gframe/data_manager.cpp
View file @
9d17da2d
...
...
@@ -82,11 +82,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) {
cd
.
race
=
sqlite3_column_int
(
pStmt
,
8
);
cd
.
attribute
=
sqlite3_column_int
(
pStmt
,
9
);
cd
.
category
=
sqlite3_column_int
(
pStmt
,
10
);
auto
it
=
_datas
.
find
(
cd
.
code
);
if
(
it
!=
_datas
.
end
())
it
->
second
=
cd
;
else
_datas
.
insert
(
std
::
make_pair
(
cd
.
code
,
cd
));
_datas
[
cd
.
code
]
=
cd
;
#ifndef YGOPRO_SERVER_MODE
if
(
const
char
*
text
=
(
const
char
*
)
sqlite3_column_text
(
pStmt
,
12
))
{
BufferIO
::
DecodeUTF8
(
text
,
strBuffer
);
...
...
@@ -102,7 +98,7 @@ bool DataManager::LoadDB(const wchar_t* wfile) {
cs
.
desc
[
i
]
=
strBuffer
;
}
}
_strings
.
emplace
(
cd
.
code
,
cs
)
;
_strings
[
cd
.
code
]
=
cs
;
#endif //YGOPRO_SERVER_MODE
}
}
while
(
step
!=
SQLITE_DONE
);
...
...
gframe/game.cpp
View file @
9d17da2d
...
...
@@ -211,7 +211,7 @@ bool Game::Initialize() {
SetWindowsIcon
();
//main menu
wchar_t
strbuf
[
256
];
myswprintf
(
strbuf
,
L"KoishiPro %X.0%X.%X
Disco
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
myswprintf
(
strbuf
,
L"KoishiPro %X.0%X.%X
Yurika
"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
...
...
ocgcore
@
301511f5
Subproject commit
4c3882d7a81456002fdf358185d52ce8d108bfa0
Subproject commit
301511f52a793f9a940dc352495b62d66454314d
premake/gframe/ygopro.rc
View file @
9d17da2d
...
...
@@ -13,7 +13,7 @@ BLOCK "080404b0"
BEGIN
VALUE "FileDescription", "YGOPRO Server Mode ver.Koishi"
VALUE "InternalName", "YGOPRO Server Mode"
VALUE "LegalCopyright", "Copyright (C) 202
1
Nanahira"
VALUE "LegalCopyright", "Copyright (C) 202
2
Nanahira"
VALUE "OriginalFilename", "ygopro.exe"
VALUE "ProductName", "YGOPRO Server Mode"
VALUE "FileVersion", "Server"
...
...
script
@
3c92734b
Subproject commit
d9511ded079ecfc3a3024b405e51b7ab356493f7
Subproject commit
3c92734b2fd41ea2641c94e1447f32d7ae96c1e5
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