speed up invinc icons
This commit is contained in:
parent
5fe7a6966a
commit
f0cb051564
@ -204,7 +204,7 @@ local function drawGamemode(v)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if m & F_SPBEXP then
|
if m & F_SPBEXP then
|
||||||
local invp = v.cachePatch("K_ITINV"..(leveltime / 6 % 7 + 1))
|
local invp = v.cachePatch("K_ITINV"..(leveltime / 3 % 7 + 1))
|
||||||
v.drawScaled(
|
v.drawScaled(
|
||||||
modeX * FRACUNIT - scaledHalf + xoff,
|
modeX * FRACUNIT - scaledHalf + xoff,
|
||||||
modeY * FRACUNIT - scaledHalf,
|
modeY * FRACUNIT - scaledHalf,
|
||||||
@ -259,7 +259,7 @@ local function drawFlags(v, x, y, flags)
|
|||||||
nx = $ + margin
|
nx = $ + margin
|
||||||
end
|
end
|
||||||
if flags & F_SPBEXP then
|
if flags & F_SPBEXP then
|
||||||
local invp = v.cachePatch("K_ISINV"..(leveltime / 6 % 6 + 1))
|
local invp = v.cachePatch("K_ISINV"..(leveltime / 3 % 6 + 1))
|
||||||
v.drawScaled(nx, ny, scale, invp)
|
v.drawScaled(nx, ny, scale, invp)
|
||||||
nx = $ + margin
|
nx = $ + margin
|
||||||
end
|
end
|
||||||
|
@ -863,7 +863,7 @@ local modePatches = {
|
|||||||
|
|
||||||
local function modePatch(flag)
|
local function modePatch(flag)
|
||||||
if flag == F_SPBEXP then
|
if flag == F_SPBEXP then
|
||||||
return PATCH[modePatches[flag]][(leveltime / 4) % 6]
|
return PATCH[modePatches[flag]][(leveltime / 3) % 6]
|
||||||
end
|
end
|
||||||
return PATCH[modePatches[flag]]
|
return PATCH[modePatches[flag]]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user