mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +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
|
-- 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.
|
||||||
|
@ -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 --
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user