Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
01382ff4
Commit
01382ff4
authored
Apr 02, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tip
parent
4c1fa454
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
gframe/game.cpp
gframe/game.cpp
+16
-3
No files found.
gframe/game.cpp
View file @
01382ff4
...
...
@@ -14,7 +14,7 @@
#include <dirent.h>
#endif
const
unsigned
short
PRO_VERSION
=
0x
133D
;
const
unsigned
short
PRO_VERSION
=
0x
2331
;
namespace
ygo
{
...
...
@@ -80,8 +80,8 @@ bool Game::Initialize() {
SetWindowsIcon
();
//main menu
wchar_t
strbuf
[
256
];
myswprintf
(
strbuf
,
L"YGOPro
Version:%X.0
%X.%X"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
650
,
415
),
false
,
strbuf
);
myswprintf
(
strbuf
,
L"YGOPro
233 Test Version:%X.
%X.%X"
,
PRO_VERSION
>>
12
,
(
PRO_VERSION
>>
4
)
&
0xff
,
PRO_VERSION
&
0xf
);
wMainMenu
=
env
->
addWindow
(
rect
<
s32
>
(
370
,
200
,
950
,
600
),
false
,
strbuf
);
wMainMenu
->
getCloseButton
()
->
setVisible
(
false
);
btnLanMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
30
,
270
,
60
),
wMainMenu
,
BUTTON_LAN_MODE
,
dataManager
.
GetSysString
(
1200
));
btnServerMode
=
env
->
addButton
(
rect
<
s32
>
(
10
,
65
,
270
,
95
),
wMainMenu
,
BUTTON_SINGLE_MODE
,
dataManager
.
GetSysString
(
1201
));
...
...
@@ -89,6 +89,19 @@ bool Game::Initialize() {
// btnTestMode = env->addButton(rect<s32>(10, 135, 270, 165), wMainMenu, BUTTON_TEST_MODE, dataManager.GetSysString(1203));
btnDeckEdit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
135
,
270
,
165
),
wMainMenu
,
BUTTON_DECK_EDIT
,
dataManager
.
GetSysString
(
1204
));
btnModeExit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
170
,
270
,
200
),
wMainMenu
,
BUTTON_MODE_EXIT
,
dataManager
.
GetSysString
(
1210
));
env
->
addStaticText
(
L"此版本为23333服内测版本,"
,
rect
<
s32
>
(
10
,
220
,
270
,
240
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"遇到问题请务必反馈,群:275986039。"
,
rect
<
s32
>
(
10
,
240
,
270
,
260
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"不要觉得会有别人报告,别人也会这么想。"
,
rect
<
s32
>
(
10
,
260
,
270
,
280
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"此版本会不定期更新,"
,
rect
<
s32
>
(
10
,
300
,
270
,
320
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"建议随时在233服官网下载最新版本!"
,
rect
<
s32
>
(
10
,
320
,
270
,
340
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"网址:"
,
rect
<
s32
>
(
10
,
340
,
270
,
360
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"http://mercury233.me/ygosrv233/"
,
rect
<
s32
>
(
10
,
360
,
270
,
380
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"已知问题:
\n\n
场上没有可用于从额外卡组特殊召唤的
\n
格子时仍然可以尝试进行从额外卡组的
\n
特殊召唤。此时同调素材会被送去墓
\n
地,超量素材会进入异空间。
\n\n
灵摆区域位置错误。此外横条邪斑马等
\n
卡禁用格子的处理也存在问题。"
,
rect
<
s32
>
(
300
,
30
,
550
,
390
),
false
,
true
,
wMainMenu
);
//lan mode
wLanWindow
=
env
->
addWindow
(
rect
<
s32
>
(
220
,
100
,
800
,
520
),
false
,
dataManager
.
GetSysString
(
1200
));
wLanWindow
->
getCloseButton
()
->
setVisible
(
false
);
...
...
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