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
ae41b942
Commit
ae41b942
authored
Dec 21, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ig
parent
7b31f29a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
.gitignore
.gitignore
+2
-0
2pick/pick.lua
2pick/pick.lua
+1
-1
2pick/sqlite_cmd.txt
2pick/sqlite_cmd.txt
+0
-0
ocgcore/interpreter.cpp
ocgcore/interpreter.cpp
+1
-1
No files found.
.gitignore
View file @
ae41b942
...
...
@@ -19,3 +19,5 @@ premake5.exe
/pics
/premake5
/lua
/card_list.txt
\ No newline at end of file
expansions
/pick.lua
→
2pick
/pick.lua
View file @
ae41b942
...
...
@@ -39,7 +39,7 @@ function Auxiliary.LoadLFList()
end
end
function
Auxiliary
.
LoadDB
()
os.execute
(
"sqlite3 cards.cdb <
expansions
/sqlite_cmd.txt"
)
os.execute
(
"sqlite3 cards.cdb <
2pick
/sqlite_cmd.txt"
)
for
line
in
io.lines
(
"card_list.txt"
)
do
local
col
=
line
:
find
(
"|"
)
local
code
=
tonumber
(
line
:
sub
(
1
,
col
-
1
))
...
...
expansions
/sqlite_cmd.txt
→
2pick
/sqlite_cmd.txt
View file @
ae41b942
File moved
ocgcore/interpreter.cpp
View file @
ae41b942
...
...
@@ -639,7 +639,7 @@ interpreter::interpreter(duel* pd): coroutines(256) {
//extra scripts
load_script
((
char
*
)
"./script/constant.lua"
);
load_script
((
char
*
)
"./script/utility.lua"
);
load_script
((
char
*
)
"./
expansions
/pick.lua"
);
load_script
((
char
*
)
"./
2pick
/pick.lua"
);
}
interpreter
::~
interpreter
()
{
...
...
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