Move libraries into their own folder

This commit is contained in:
David Vogel 2022-07-21 01:16:23 +02:00
parent 0ec2776705
commit 4b869c0944
4 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@
-- https://opensource.org/licenses/MIT -- https://opensource.org/licenses/MIT
---@type NoitaAPI ---@type NoitaAPI
local noitaAPI = dofile_once("mods/noita-mapcap/files/noita-api.lua") local noitaAPI = dofile_once("mods/noita-mapcap/files/libraries/noita-api.lua")
---@type JSONLib ---@type JSONLib
local json = dofile_once("mods/noita-mapcap/files/json-serialize.lua") local json = dofile_once("mods/noita-mapcap/files/libraries/json.lua")
CAPTURE_PIXEL_SIZE = 1 -- Screen to virtual pixel ratio. CAPTURE_PIXEL_SIZE = 1 -- Screen to virtual pixel ratio.
CAPTURE_GRID_SIZE = 512 -- in virtual (world) pixels. There will always be exactly 4 images overlapping if the virtual resolution is 1024x1024. CAPTURE_GRID_SIZE = 512 -- in virtual (world) pixels. There will always be exactly 4 images overlapping if the virtual resolution is 1024x1024.

View File

@ -10,7 +10,7 @@
-- It would be optimal to generate this API wrapper automatically... -- It would be optimal to generate this API wrapper automatically...
---@type JSONLib ---@type JSONLib
local json = dofile_once("mods/noita-mapcap/files/json-serialize.lua") local json = dofile_once("mods/noita-mapcap/files/libraries/json.lua")
------------- -------------
-- Classes -- -- Classes --

View File

@ -4,7 +4,7 @@
-- https://opensource.org/licenses/MIT -- https://opensource.org/licenses/MIT
---@type NoitaAPI ---@type NoitaAPI
local noitaAPI = dofile_once("mods/noita-mapcap/files/noita-api.lua") local noitaAPI = dofile_once("mods/noita-mapcap/files/libraries/noita-api.lua")
local oldPerkSpawn = perk_spawn local oldPerkSpawn = perk_spawn