Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
0e03afc3
Commit
0e03afc3
authored
Mar 31, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master'
parents
4512cdb5
d2c75412
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
interpreter.cpp
interpreter.cpp
+9
-0
premake/dll.lua
premake/dll.lua
+2
-0
No files found.
interpreter.cpp
View file @
0e03afc3
...
...
@@ -35,6 +35,15 @@ interpreter::interpreter(duel* pd): coroutines(256) {
lua_pop
(
lua_state
,
1
);
luaL_requiref
(
lua_state
,
"math"
,
luaopen_math
,
1
);
lua_pop
(
lua_state
,
1
);
auto
nil_out
=
[
&
](
const
char
*
name
)
{
lua_pushnil
(
lua_state
);
lua_setglobal
(
lua_state
,
name
);
};
nil_out
(
"collectgarbage"
);
#ifndef ENABLE_UNSAFE_LIBRARIES
nil_out
(
"dofile"
);
nil_out
(
"loadfile"
);
#endif // ENABLE_UNSAFE_LIBRARIES
#endif
//open all libs
scriptlib
::
open_cardlib
(
lua_state
);
...
...
premake/dll.lua
View file @
0e03afc3
...
...
@@ -45,6 +45,8 @@ workspace "ocgcoredll"
disablewarnings
{
"4334"
}
filter
"action:vs*"
cdialect
"C11"
conformancemode
"On"
buildoptions
{
"/utf-8"
}
defines
{
"_CRT_SECURE_NO_WARNINGS"
}
...
...
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