Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
83853ccd
Commit
83853ccd
authored
11 years ago
by
ShadowNinja
Browse files
Options
Downloads
Patches
Plain Diff
Remove support for optdepends.txt
parent
e275b709
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/lua_api.txt
+0
-7
0 additions, 7 deletions
doc/lua_api.txt
src/mods.cpp
+0
-10
0 additions, 10 deletions
src/mods.cpp
with
0 additions
and
17 deletions
doc/lua_api.txt
+
0
−
7
View file @
83853ccd
...
...
@@ -129,13 +129,6 @@ screenshot.png:
description.txt:
File containing desctiption to be shown within mainmenu.
optdepends.txt:
An alternative way of specifying optional dependencies.
Like depends.txt, a single line contains a single modname.
NOTE: This file exists for compatibility purposes only and
support for it will be removed from the engine by the end of 2013.
init.lua:
The main Lua script. Running this script should register everything it
wants to register. Subsequent execution depends on minetest calling the
...
...
This diff is collapsed.
Click to expand it.
src/mods.cpp
+
0
−
10
View file @
83853ccd
...
...
@@ -77,16 +77,6 @@ void parseModContents(ModSpec &spec)
}
}
}
// FIXME: optdepends.txt is deprecated
// remove this code at some point in the future
std
::
ifstream
is2
((
spec
.
path
+
DIR_DELIM
+
"optdepends.txt"
).
c_str
());
while
(
is2
.
good
()){
std
::
string
dep
;
std
::
set
<
char
>
symbols
;
if
(
parseDependsLine
(
is2
,
dep
,
symbols
))
spec
.
optdepends
.
insert
(
dep
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment