Compare commits
No commits in common. "93ff53f5583c7b609c22dfb890b54f50929589e0" and "41dbd8a376990d1005e8d601f10a97a1840d0830" have entirely different histories.
93ff53f558
...
41dbd8a376
3 changed files with 51 additions and 69 deletions
44
LICENSE
44
LICENSE
|
@ -568,4 +568,46 @@ If the disclaimer of warranty and limitation of liability provided above cannot
|
|||
be given local legal effect according to their terms, reviewing courts shall
|
||||
apply local law that most closely approximates an absolute waiver of all civil
|
||||
liability in connection with the Program, unless a warranty or assumption
|
||||
of liability accompanies a copy of the Program in return for a fee.
|
||||
of liability accompanies a copy of the Program in return for a fee. END OF
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible
|
||||
use to the public, the best way to achieve this is to make it free software
|
||||
which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach
|
||||
them to the start of each source file to most effectively state the exclusion
|
||||
of warranty; and each file should have at least the "copyright" line and a
|
||||
pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Affero 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 Affero General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If your software can interact with users remotely through a computer network,
|
||||
you should also make sure that it provides a way for users to get its source.
|
||||
For example, if your program is a web application, its interface could display
|
||||
a "Source" link that leads users to an archive of the code. There are many
|
||||
ways you could offer source, and different solutions will be better for different
|
||||
programs; see section 13 for the specific requirements.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary. For
|
||||
more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
|
||||
|
|
|
@ -1,26 +1,3 @@
|
|||
<!--
|
||||
|
||||
mirinda_ease.xml - a plugin to help with easing in the Mirin template, part of the Mirinda project
|
||||
|
||||
Copyright (C) 2021 Jill "oatmealine"
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Affero 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 Affero General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Source: https://gitdab.com/oat/mirinda/
|
||||
|
||||
-->
|
||||
|
||||
<Mods LoadCommand = "%xero(function(self)
|
||||
--[[
|
||||
|
||||
|
@ -106,9 +83,6 @@
|
|||
|
||||
?beatobj:merge() -- merge beats that are on the same beat and column
|
||||
+beatobj:aggressivemerge() -- merge beats that are on the same beat
|
||||
|
||||
/beatobj:offset(b) -- offset each beat by b beats
|
||||
-beatobj:setstart(b) -- offset each beat so that the first beat is on b
|
||||
]]
|
||||
|
||||
local function copyTable(datatable)
|
||||
|
@ -138,7 +112,6 @@
|
|||
_ease = inOutCirc,
|
||||
_align = 0.5,
|
||||
_length = 1,
|
||||
_plr = {},
|
||||
|
||||
-- setters
|
||||
setl = function(self, a) self._length = a; return self end,
|
||||
|
@ -227,13 +200,6 @@
|
|||
self._beats = merged
|
||||
return self
|
||||
end,
|
||||
offset = function(self, beat)
|
||||
for _,v in ipairs(self._beats) do
|
||||
v[1] = v[1] + beat
|
||||
end
|
||||
|
||||
return self
|
||||
end,
|
||||
|
||||
-- mods
|
||||
wiggle = function(self, perc, mod)
|
||||
|
@ -242,7 +208,7 @@
|
|||
for i,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
local off = i%2*2-1
|
||||
ease {v[1] - len / (1 / self._align), len, self._ease, perc * off, mod, plr = self._plr}
|
||||
ease {v[1] - len / (1 / self._align), len, self._ease, perc * off, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -253,7 +219,7 @@
|
|||
for i,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
local off = i%2
|
||||
ease {v[1] - len / (1 / self._align), len, self._ease, perc * off, mod, plr = self._plr}
|
||||
ease {v[1] - len / (1 / self._align), len, self._ease, perc * off, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -264,7 +230,7 @@
|
|||
|
||||
for i,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
add {v[1] - len / (1 / self._align), len, self._ease, perc, mod, plr = self._plr}
|
||||
add {v[1] - len / (1 / self._align), len, self._ease, perc, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -284,7 +250,7 @@
|
|||
for i,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
|
||||
ease {v[1], len, bounceease, perc, mod, plr = self._plr}
|
||||
ease {v[1], len, bounceease, perc, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -300,7 +266,7 @@
|
|||
for _,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
|
||||
ease {v[1], len, out, perc, mod, plr = self._plr}
|
||||
ease {v[1], len, out, perc, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -319,7 +285,7 @@
|
|||
for _,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
|
||||
ease {v[1] - len / (1 / self._align), len, map, perc, mod, plr = self._plr}
|
||||
ease {v[1] - len / (1 / self._align), len, map, perc, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -339,7 +305,7 @@
|
|||
local len = self._length
|
||||
local off = i%2*2-1
|
||||
|
||||
ease {v[1] - len / (1 / self._align), len, map, perc * off, mod, plr = self._plr}
|
||||
ease {v[1] - len / (1 / self._align), len, map, perc * off, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -356,7 +322,7 @@
|
|||
for i,v in ipairs(self._beats) do
|
||||
local len = self._length
|
||||
|
||||
ease {v[1] - len / (1 / self._align), len, temp, perc, mod, plr = self._plr}
|
||||
ease {v[1] - len / (1 / self._align), len, temp, perc, mod}
|
||||
end
|
||||
|
||||
return self
|
||||
|
@ -374,7 +340,6 @@
|
|||
else
|
||||
self._beats = P1:GetNoteData(start, ending)
|
||||
end
|
||||
self._plr = plr
|
||||
return self
|
||||
end
|
||||
|
||||
|
@ -388,7 +353,6 @@
|
|||
end
|
||||
|
||||
self._beats = v
|
||||
self._plr = plr
|
||||
return self
|
||||
end
|
||||
|
||||
|
@ -397,7 +361,6 @@
|
|||
for _,b in ipairs(tbl) do
|
||||
table.insert(self._beats, {b})
|
||||
end
|
||||
self._plr = plr
|
||||
return self
|
||||
end
|
||||
end)"
|
||||
|
|
|
@ -1,26 +1,3 @@
|
|||
<!--
|
||||
|
||||
mirinda_spline.xml - a plugin to help with splines in the Mirin template, part of the Mirinda project
|
||||
|
||||
Copyright (C) 2021 Jill "oatmealine"
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under
|
||||
the terms of the GNU Affero 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 Affero General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License along
|
||||
with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Source: https://gitdab.com/oat/mirinda/
|
||||
|
||||
-->
|
||||
|
||||
<Mods LoadCommand = "%xero(function(self)
|
||||
local maxindex = 39 -- probably best not to change, but if youre getting massive performance issues go ahead
|
||||
|
||||
|
|
Loading…
Reference in a new issue