mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +00:00
Move libraries into their own folder
This commit is contained in:
parent
0ec2776705
commit
4b869c0944
@ -4,10 +4,10 @@
|
||||
-- https://opensource.org/licenses/MIT
|
||||
|
||||
---@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
|
||||
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_GRID_SIZE = 512 -- in virtual (world) pixels. There will always be exactly 4 images overlapping if the virtual resolution is 1024x1024.
|
||||
|
@ -10,7 +10,7 @@
|
||||
-- It would be optimal to generate this API wrapper automatically...
|
||||
|
||||
---@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 --
|
@ -4,7 +4,7 @@
|
||||
-- https://opensource.org/licenses/MIT
|
||||
|
||||
---@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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user