move third-party stuff to 'lib'

This commit is contained in:
Hersi 2022-08-11 03:12:58 +02:00
parent 3dcc54320c
commit 0e49837e18
12 changed files with 20 additions and 15 deletions

View File

@ -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

View File

@ -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');

View File

@ -1,4 +1,4 @@
json = require "common.json"
json = require "lib.json"
local header = {}
header["user-agent"] = "unnamed_sdvx_clone"

View File

@ -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;

View File

@ -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)

View File

@ -1,4 +1,4 @@
local json = require("common.json")
local json = require("lib.json")
local common = require('common.util');
local Sound = require("common.sound")

View File

@ -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');

View File

@ -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')

View File

@ -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")

View File

@ -1,4 +1,4 @@
local Easing = require('common.easing');
local Easing = require('lib.easing');
local resx, resy = game.GetResolution()
local desw, desh = 1080, 1920