From bd60f0fff9bed46f99882b4aea8563e345e59541 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Tue, 18 Jan 2022 22:29:18 -0500 Subject: [PATCH] initial commit --- .gitmodules | 3 +++ .luacheckrc | 7 +++++++ LICENSE | 19 +++++++++++++++++++ init.lua | 3 +++ sound_api_core | 1 + 5 files changed, 33 insertions(+) create mode 100644 .gitmodules create mode 100644 .luacheckrc create mode 100644 LICENSE create mode 100644 init.lua create mode 160000 sound_api_core diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..55d4b48 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "sound_api_core"] + path = sound_api_core + url = https://github.com/mt-mods/sound_api_core.git diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..4982063 --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,7 @@ +globals = { + "sound_api", +} + +read_globals = { + "minetest", +} \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..50e6e01 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ + +MIT Copyright 2021 wsor4035 + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..6b8f3ef --- /dev/null +++ b/init.lua @@ -0,0 +1,3 @@ +local modpath = minetest.get_modpath("sounds_api") + +sound_api = dofile(modpath .. "/sound_api_core/init.lua") \ No newline at end of file diff --git a/sound_api_core b/sound_api_core new file mode 160000 index 0000000..2abe085 --- /dev/null +++ b/sound_api_core @@ -0,0 +1 @@ +Subproject commit 2abe0851a365b43026aaa794dc3f2c9fd6522b43