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
c00a7970
Commit
c00a7970
authored
Feb 18, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
24ff7121
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
README.md
README.md
+5
-0
premake4.lua
premake4.lua
+1
-1
No files found.
README.md
View file @
c00a7970
...
...
@@ -40,3 +40,8 @@
*
每回合抽卡
*
每回合时间
*
录像保存模式
### 特殊编译参数
执行
`premake5 gmake`
之前,可以通过设置一些环境变量,来改变一些编译参数。
*
`YGOPRO_DEFAULT_DUEL_RULE=X`
设置默认决斗规则位大师规则X。
*
`YGOPRO_NO_LUA_SAFE`
若有定义,则开启默认禁用的
`os`
和
`io`
库。请慎用这个参数,确保运行的卡片脚本文件是可以信任的。
premake4.lua
View file @
c00a7970
...
...
@@ -5,7 +5,7 @@ solution "ygo"
--startproject "ygopro"
configurations
{
"Release"
,
"Debug"
}
if
os.getenv
(
"YGOPRO_NO_LUA_SA
V
E"
)
then
if
os.getenv
(
"YGOPRO_NO_LUA_SA
F
E"
)
then
defines
{
"LUA_COMPAT_5_2"
,
"YGOPRO_SERVER_MODE"
}
else
defines
{
"LUA_COMPAT_5_2"
,
"YGOPRO_SERVER_MODE"
,
"YGOPRO_LUA_SAFE"
}
...
...
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