add sborka

This commit is contained in:
2026-03-31 10:27:04 +03:00
commit f5e5f56c84
2345 changed files with 382127 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
if SERVER then return end
function We(x)
return x / 1920 * ScrW()
end
function He(y)
return y / 1080 * ScrH()
end
local function CreateFonts()
surface.CreateFont("MuR_FontDef", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(12),
antialias = true
})
surface.CreateFont("MuR_Font0", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(12),
antialias = true
})
surface.CreateFont("MuR_Font1", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(16),
antialias = true
})
surface.CreateFont("MuR_Font2", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(24),
antialias = true
})
surface.CreateFont("MuR_Font3", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(32),
antialias = true
})
surface.CreateFont("MuR_Font4", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(40),
antialias = true
})
surface.CreateFont("MuR_Font5", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(48),
antialias = true
})
surface.CreateFont("MuR_Font6", {
font = "VK Sans Display DemiBold",
extended = true,
size = He(56),
antialias = true
})
end
CreateFonts()
hook.Add("OnScreenSizeChanged", "MuR_Drone_Fonts", function()
CreateFonts()
end)