move third-party stuff to 'lib'
This commit is contained in:
parent
3dcc54320c
commit
0e49837e18
|
@ -282,7 +282,12 @@ LoadImageJob = function(filepath, placeholder, w, h) end
|
|||
|
||||
-- Loads a font from `skins/<skin>/textures/<path>`
|
||||
-- Sets it as the current font if it is already loaded
|
||||
---@param name? string
|
||||
---@param filename string
|
||||
LoadSkinFont = function(filename) end
|
||||
|
||||
-- Loads a font from `skins/<skin>/textures/<path>`
|
||||
-- Sets it as the current font if it is already loaded
|
||||
---@param name string
|
||||
---@param filename string
|
||||
LoadSkinFont = function(name, filename) end
|
||||
|
||||
|
@ -595,4 +600,4 @@ gfx = {
|
|||
Translate = Translate,
|
||||
UpdateImagePattern = UpdateImagePattern,
|
||||
UpdateLabel = UpdateLabel,
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local Easing = require("common.easing");
|
||||
local Easing = require("lib.easing");
|
||||
local Footer = require("components.footer");
|
||||
local DiffRectangle = require('components.diff_rectangle');
|
||||
local common = require('common.util');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
json = require "common.json"
|
||||
json = require "lib.json"
|
||||
local header = {}
|
||||
header["user-agent"] = "unnamed_sdvx_clone"
|
||||
|
||||
|
@ -426,4 +426,4 @@ function render_sorting_selection()
|
|||
gfx.Text(opt, resX/2, y)
|
||||
end
|
||||
gfx.Restore()
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,7 +21,7 @@ local HitFX = require 'gameplay.hitfx'
|
|||
|
||||
local TrackEnd = require('gameplay.track_end')
|
||||
|
||||
local json = require("common.json")
|
||||
local json = require("lib.json")
|
||||
|
||||
local showHitAnims = true;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
local Common = require('common.util')
|
||||
local Easing = require('common.easing')
|
||||
local Easing = require('lib.easing')
|
||||
|
||||
local bgImage = gfx.CreateSkinImage("gameplay/track_end/bg.png", 0)
|
||||
local bgHexTopImage = gfx.CreateSkinImage("gameplay/track_end/top_hex.png", gfx.IMAGE_REPEATX)
|
||||
|
@ -672,4 +672,4 @@ end
|
|||
|
||||
return {
|
||||
render = render
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local json = require("common.json")
|
||||
local json = require("lib.json")
|
||||
|
||||
local common = require('common.util');
|
||||
local Sound = require("common.sound")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local Easing = require('common.easing');
|
||||
local Easing = require('lib.easing');
|
||||
local Charting = require('common.charting');
|
||||
local Background = require('components.background');
|
||||
local Footer = require('components.footer');
|
||||
|
@ -823,4 +823,4 @@ end
|
|||
|
||||
screenshot_captured = function(path)
|
||||
game.PlaySample("shutter")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local Easing = require('common.easing')
|
||||
local Easing = require('lib.easing')
|
||||
local Dim = require("common.dimensions")
|
||||
local SongSelectHeader = require('components.headers.songSelectHeader')
|
||||
local Footer = require('components.footer')
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
local Charting = require('common.charting')
|
||||
local Easing = require('common.easing')
|
||||
local Easing = require('lib.easing')
|
||||
local Background = require('components.background')
|
||||
local Dim = require("common.dimensions")
|
||||
local Wallpaper = require("components.wallpaper")
|
||||
|
@ -1166,4 +1166,4 @@ set_diff = function(newDiff)
|
|||
irLeaderboard = {}
|
||||
irRequestStatus = 1
|
||||
irRequestTimeout = 2
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local Easing = require('common.easing');
|
||||
local Easing = require('lib.easing');
|
||||
|
||||
local resx, resy = game.GetResolution()
|
||||
local desw, desh = 1080, 1920
|
||||
|
|
Loading…
Reference in New Issue