diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-12-31 17:07:14 +0100 |
---|---|---|
committer | Pierre-Yves Rollo <dev@pyrollo.com> | 2019-12-31 17:07:14 +0100 |
commit | ebadeb20d9e35343981485db90cb99aa0c8b93c7 (patch) | |
tree | b937db3b00dd941e90de24e7e35db87e5bce6e9c /font_api/init.lua | |
parent | f27b5478b9b67d0867098ef9f30801a7fc0c04ee (diff) | |
parent | 4c872e829d716014e601bdf0707edd11a9abbc17 (diff) | |
download | display_modpack_no_craft-ebadeb20d9e35343981485db90cb99aa0c8b93c7.tar.gz display_modpack_no_craft-ebadeb20d9e35343981485db90cb99aa0c8b93c7.zip |
Add 'font_api/' from commit '4c872e829d716014e601bdf0707edd11a9abbc17'
git-subtree-dir: font_api
git-subtree-mainline: f27b5478b9b67d0867098ef9f30801a7fc0c04ee
git-subtree-split: 4c872e829d716014e601bdf0707edd11a9abbc17
Diffstat (limited to 'font_api/init.lua')
-rw-r--r-- | font_api/init.lua | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/font_api/init.lua b/font_api/init.lua new file mode 100644 index 0000000..c5858f4 --- /dev/null +++ b/font_api/init.lua @@ -0,0 +1,35 @@ +--[[ + font_api mod for Minetest - Library creating textures with fonts and text + (c) Pierre-Yves Rollo + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +--]] + +-- Global variables +------------------- + +font_api = {} +font_api.name = minetest.get_current_modname() +font_api.path = minetest.get_modpath(font_api.name) + +-- Inclusions +------------- + +dofile(font_api.path.."/font.lua") +dofile(font_api.path.."/registry.lua") +dofile(font_api.path.."/fontform.lua") +if minetest.get_modpath("display_api") then + dofile(font_api.path.."/display_api.lua") +end +dofile(font_api.path.."/deprecation.lua") |