diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2020-06-13 20:09:42 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2020-06-13 20:09:42 -0300 |
commit | 29e6b8201b3e87d76f093200de168a42c1f3cac5 (patch) | |
tree | dda74a18bce46df0c46c991f41064feb1b814e76 | |
parent | d36923df9778cccef8d8be0e64dca08f1c93874e (diff) |
Prepare for project restructure
-rw-r--r-- | algorithms.lua | 23 | ||||
-rw-r--r-- | main.lua | 4 |
2 files changed, 26 insertions, 1 deletions
diff --git a/algorithms.lua b/algorithms.lua new file mode 100644 index 0000000..dddfb92 --- /dev/null +++ b/algorithms.lua @@ -0,0 +1,23 @@ +--[[ + This file is part of HexArt Image Editor + Copyright (C) 2020 Soni L. + + 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/>. +--]] + +-- Various algorithms for image operations + +local algorithms = {} + +return algorithms diff --git a/main.lua b/main.lua index 09338ef..fc26c20 100644 --- a/main.lua +++ b/main.lua @@ -1,6 +1,6 @@ --[[ HexArt Image Editor - Copyright (C) 2019 Soni L. + Copyright (C) 2019, 2020 Soni L. 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 @@ -16,6 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. --]] +local algorithms = require "algorithms" + local kt = {} local t = 0.05 local t0 = 0.5 -- initial cooldown |