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
00945c0c
Commit
00945c0c
authored
Oct 27, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test premake & utf-8
parent
6030635e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
+15
-14
appveyor.yml
appveyor.yml
+3
-3
gframe/game.cpp
gframe/game.cpp
+11
-11
premake5.lua
premake5.lua
+1
-0
No files found.
appveyor.yml
View file @
00945c0c
...
@@ -9,8 +9,8 @@ install:
...
@@ -9,8 +9,8 @@ install:
-
git submodule update --init --recursive
-
git submodule update --init --recursive
# environment and system dependency
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
2/premake-5.0.0-alpha12
-windows.zip ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha1
3/premake-5.0.0-alpha13
-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha1
2
-windows.zip
-
7z x premake-5.0.0-alpha1
3
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
tar xf libevent-2.0.22-stable.tar.gz
...
@@ -90,7 +90,7 @@ deploy:
...
@@ -90,7 +90,7 @@ deploy:
branch
:
test
branch
:
test
cache
:
cache
:
-
premake-5.0.0-alpha1
2
-windows.zip
-
premake-5.0.0-alpha1
3
-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
libevent-2.0.22-stable.tar.gz
-
freetype-2.9.1.tar.bz2
-
freetype-2.9.1.tar.bz2
-
irrlicht-1.8.4.zip
-
irrlicht-1.8.4.zip
...
...
gframe/game.cpp
View file @
00945c0c
...
@@ -104,23 +104,23 @@ bool Game::Initialize() {
...
@@ -104,23 +104,23 @@ bool Game::Initialize() {
btnDeckEdit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
135
,
270
,
165
),
wMainMenu
,
BUTTON_DECK_EDIT
,
dataManager
.
GetSysString
(
1204
));
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
));
btnModeExit
=
env
->
addButton
(
rect
<
s32
>
(
10
,
170
,
270
,
200
),
wMainMenu
,
BUTTON_MODE_EXIT
,
dataManager
.
GetSysString
(
1210
));
env
->
addStaticText
(
L"
\u6B64\u7248\u672C\u4E3A233\u670D\u6D4B\u8BD5\u7248\u672C\uFF0C
"
,
rect
<
s32
>
(
10
,
220
,
270
,
240
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
此版本为233服测试版本,
"
,
rect
<
s32
>
(
10
,
220
,
270
,
240
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u9047\u5230\u95EE\u9898\u8BF7\u52A1\u5FC5\u53CD\u9988\uFF0C\u7FA4\uFF1A275986039\u3002
"
,
rect
<
s32
>
(
10
,
240
,
270
,
260
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
遇到问题请务必反馈,群:275986039。
"
,
rect
<
s32
>
(
10
,
240
,
270
,
260
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u4E0D\u8981\u89C9\u5F97\u4F1A\u6709\u522B\u4EBA\u62A5\u544A\uFF0C\u522B\u4EBA\u4E5F\u4F1A\u8FD9\u4E48\u60F3\u3002
"
,
rect
<
s32
>
(
10
,
260
,
270
,
280
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
不要觉得会有别人报告,别人也会这么想。
"
,
rect
<
s32
>
(
10
,
260
,
270
,
280
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u6B64\u7248\u672C\u4F1A\u4E0D\u5B9A\u671F\u66F4\u65B0\uFF0C
"
,
rect
<
s32
>
(
10
,
300
,
270
,
320
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
此版本会不定期更新,
"
,
rect
<
s32
>
(
10
,
300
,
270
,
320
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u5EFA\u8BAE\u968F\u65F6\u5728233\u670D\u5B98\u7F51\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\uFF01
"
,
rect
<
s32
>
(
10
,
320
,
270
,
340
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
建议随时在233服官网下载最新版本!
"
,
rect
<
s32
>
(
10
,
320
,
270
,
340
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u7F51\u5740\uFF1A
"
,
rect
<
s32
>
(
10
,
340
,
270
,
360
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
网址:
"
,
rect
<
s32
>
(
10
,
340
,
270
,
360
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"https://ygo233.com/"
,
rect
<
s32
>
(
10
,
360
,
270
,
380
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"https://ygo233.com/"
,
rect
<
s32
>
(
10
,
360
,
270
,
380
),
false
,
false
,
wMainMenu
);
env
->
addStaticText
(
L"
\u76EE\u524D\u6D4B\u8BD5\u7684\u5185\u5BB9\uFF1A
\n\n
\
env
->
addStaticText
(
L"
目前测试的内容:
\n\n
\
\u7A97\u53E3\u7F29\u653E\u3002
\n
\
窗口缩放。
\n
\
\n
\
\n
\
\u6295\u964D\u65F6\u786E\u8BA4\u3002
\n
\
投降时确认。
\n
\
\n
\
\n
\
\n
\u5DF2\u77E5\u95EE\u9898\uFF1A
\n
\
\n
已知问题:
\n
\
\n
\u6548\u679C\u6587\u5185\u82F1\u6587\u6362\u884C\u4F1A\u622A\u65AD\u5355\u8BCD\u3002
\n
\
\n
效果文内英文换行会截断单词。
\n
\
"
,
rect
<
s32
>
(
300
,
30
,
550
,
390
),
false
,
true
,
wMainMenu
);
"
,
rect
<
s32
>
(
300
,
30
,
550
,
390
),
false
,
true
,
wMainMenu
);
//lan mode
//lan mode
...
...
premake5.lua
View file @
00945c0c
...
@@ -55,6 +55,7 @@ solution "ygo"
...
@@ -55,6 +55,7 @@ solution "ygo"
configuration
"vs*"
configuration
"vs*"
vectorextensions
"SSE2"
vectorextensions
"SSE2"
buildoptions
{
"/utf-8"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
configuration
"not vs*"
configuration
"not vs*"
...
...
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