581 lines
67 KiB
Lua
581 lines
67 KiB
Lua
SongTransition = {}
|
|
SongTransition.__index = SongTransition
|
|
|
|
local FADE_DELAY, FADE_MS, FADE_OUT_MS = 266.0, 266.0, 133.0
|
|
local SCENE_MS = FADE_DELAY + FADE_MS -- 532 ms: how long each scene shows
|
|
|
|
local F_IN, F_STOP, F_OUT, F_END = 5, 55, 60, 109
|
|
local F_FULL_A, F_FULL_B = 35, 78 -- the full-rainbow window
|
|
|
|
-- sub-rects inside the two atlases
|
|
local SRC_CURT_L = { x = 0, y = 0, width = 960, height = 1080 }
|
|
local SRC_CURT_R = { x = 960, y = 0, width = 960, height = 1080 }
|
|
local SRC_BAND = { x = 0, y = 0, width = 1600, height = 256 }
|
|
local SRC_GLOW = { x = 0, y = 288, width = 1600, height = 512 }
|
|
local SRC_STAR = { x = 0, y = 832, width = 128, height = 128 }
|
|
|
|
-- rest positions from texture.json; draws pass a delta off them
|
|
local REST_CHARA_L = { -120, 506 }
|
|
local REST_CHARA_R = { 1480, 506 }
|
|
local REST_HINT = { 0, 568 }
|
|
|
|
-- eleven star placements, already in screen px
|
|
local STARS = {
|
|
{ 209.75, 542.55, 0.59998 }, { 92.35, 283.00, 0.47829 },
|
|
{ 154.20, 330.75, 0.26784 }, { 292.35, 246.35, 0.44998 },
|
|
{ 1259.00, 201.85, 0.78998 }, { 1845.70, 228.45, 0.37422 },
|
|
{ 1791.70, 268.40, 0.24998 }, { 1388.50, 664.80, 0.44713 },
|
|
{ 1821.20, 423.20, 0.56000 }, { 1472.00, 607.70, 0.25038 },
|
|
{ 552.60, 628.95, 0.74998 },
|
|
}
|
|
|
|
local function clamp(v, a, b) if v < a then return a elseif v > b then return b else return v end end
|
|
|
|
local function lerp(f, f0, f1, v0, v1)
|
|
if f <= f0 then return v0 end
|
|
if f >= f1 then return v1 end
|
|
return v0 + (v1 - v0) * (f - f0) / (f1 - f0)
|
|
end
|
|
|
|
-- Don's pose at frame f: swings in along an arc, dips, then drops away; Katsu mirrors it.
|
|
local function chara_pose(f)
|
|
if f < 35 or f >= 79 then return 160, 294, 0 end
|
|
if f < 55 then
|
|
local u = (f - 35) / 20
|
|
local ang = math.rad(-145.6 + 127.9 * u)
|
|
return -14.8 + 184 * math.cos(ang), 841.8 + 184 * math.sin(ang), u
|
|
end
|
|
if f < 60 then return 160, 786, 1 end
|
|
if f < 65 then return 160, 786 + 20 * (1 - (1 - (f - 60) / 5) ^ 2), 1 end
|
|
local u = (f - 65) / 14
|
|
local e = 0.5 * u + 0.5 * u * u
|
|
return 160, 806 - 512 * e, 1 - e
|
|
end
|
|
|
|
-- 演奏スキップON badge (624x104 pill at (38,54))
|
|
local SKIP_BADGE_X, SKIP_BADGE_Y = 38, 54
|
|
local SKIP_BADGE_CX = 350 -- 38 + 624/2, the EditText's centre
|
|
local SKIP_TEXT_CY = 109 -- 69 + 80/2, the EditText box's centre
|
|
local SKIP_TEXT_SIZE = 30
|
|
-- badge.png declares its own (38,54) origin, so pass it back as rest to cancel
|
|
local SKIP_REST = { 38, 54 }
|
|
|
|
local ai_setup -- defined below (the AI battle's start screens)
|
|
local TIPS = require("global/transition_tips")
|
|
local tip_bag, tip_last, tip_current = {}, nil, nil
|
|
local HINT_COUNT, HINT_LAST = 0, nil -- normal loading: the hint card alternates (arcade: hint block / wash-your-hands card)
|
|
|
|
-- one tip per loading screen, drawn from a bag that holds each tip as many times as the arcade weights it
|
|
local function tip_language(t)
|
|
local lang = tex.language and tex.language() or "ja"
|
|
return t[lang] or (lang:find("^zh") and t["zh-tw"]) or t.en or t.ja or ""
|
|
end
|
|
|
|
local TIP_SIZE, TIP_MAX_WIDTH = 26, 1500
|
|
|
|
-- a long line splits in two at the space (or character) nearest its middle
|
|
local function split_line(str)
|
|
local chars = {}
|
|
for ch in str:gmatch("[%z\1-\127\194-\244][\128-\191]*") do chars[#chars + 1] = ch end
|
|
local mid, best, cut = #chars / 2, nil, nil
|
|
for i, ch in ipairs(chars) do
|
|
if ch == " " and (not best or math.abs(i - mid) < best) then best, cut = math.abs(i - mid), i end
|
|
end
|
|
cut = cut or math.floor(mid) + 1
|
|
local head, tail = {}, {}
|
|
for i, ch in ipairs(chars) do
|
|
if i < cut then head[#head + 1] = ch elseif i > cut or chars[cut] ~= " " then tail[#tail + 1] = ch end
|
|
end
|
|
return table.concat(head), table.concat(tail)
|
|
end
|
|
|
|
local function tip_rows(str)
|
|
local font = tex.language and tex.language() == "ko" and "" or "FOT-Seurat_Pro_B.otf"
|
|
local white, black = { 255, 255, 255, 255 }, { 0, 0, 0, 255 }
|
|
local rows = {}
|
|
local function add(line)
|
|
local t = text.create_raw_text(line, TIP_SIZE, white, black, false, 3.0, 2.0, 1.0, font)
|
|
if t and t.width > TIP_MAX_WIDTH and #line > 1 then
|
|
local a, b = split_line(line)
|
|
add(a)
|
|
add(b)
|
|
elseif t then
|
|
rows[#rows + 1] = t
|
|
end
|
|
end
|
|
for line in (str .. "\n"):gmatch("(.-)\n") do add(line) end
|
|
return rows
|
|
end
|
|
|
|
local function next_tip(is_second)
|
|
if is_second and tip_current then return tip_current end
|
|
if #tip_bag == 0 then
|
|
local ai = tex.ai_transition and tex.ai_transition() or false
|
|
local screen = tex.current_screen and tex.current_screen()
|
|
if screen == "AI_SELECT" or screen == "AI_GAME" then ai = true end
|
|
for i, tip in ipairs(TIPS) do
|
|
for _ = 1, (ai and tip.ai or tip.card) do tip_bag[#tip_bag + 1] = i end
|
|
end
|
|
if #tip_bag == 0 then
|
|
for i = 1, #TIPS do tip_bag[i] = i end
|
|
end
|
|
for i = #tip_bag, 2, -1 do
|
|
local j = math.random(i)
|
|
tip_bag[i], tip_bag[j] = tip_bag[j], tip_bag[i]
|
|
end
|
|
end
|
|
local pick = table.remove(tip_bag)
|
|
if pick == tip_last and #tip_bag > 0 then
|
|
pick, tip_bag[#tip_bag] = tip_bag[#tip_bag], pick
|
|
end
|
|
tip_last = pick
|
|
tip_current = tip_rows(tip_language(TIPS[pick].text))
|
|
return tip_current
|
|
end
|
|
|
|
function SongTransition.new(title, subtitle, is_second)
|
|
local self = setmetatable({}, SongTransition)
|
|
self.is_second = is_second and true or false
|
|
self.t0 = nil
|
|
self.f = self.is_second and F_OUT or F_IN
|
|
self.info = 0 -- band / hint opacity, 0..1
|
|
self.rainbow = tex.get_texture("global/rainbow_transition/rainbow_bg")
|
|
self.atlas_c = tex.get_texture("global/rainbow_transition/rainbow_bg_top")
|
|
self.atlas_b = tex.get_texture("global/rainbow_transition/rainbow_bg_bottom")
|
|
self.chara_l = tex.get_texture("global/rainbow_transition/chara_left")
|
|
self.chara_r = tex.get_texture("global/rainbow_transition/chara_right")
|
|
self.hint = tex.get_texture("global/rainbow_transition/chara_center")
|
|
if text and text.create_text then
|
|
local white, black = { 255, 255, 255, 255 }, { 0, 0, 0, 255 }
|
|
self.hint_title = text.create_text("transition_hint_title", white, black, false, 4.0, 2.0, 1.0, "FOT-Seurat_Pro_B.otf")
|
|
self.hint_rows = next_tip(self.is_second)
|
|
end
|
|
-- 演奏スキップON badge
|
|
self.skip_badge = tex.get_texture("loading/skip_badge/badge")
|
|
-- resolved on first draw (skip state isn't ready at construction)
|
|
self.skip_on = nil
|
|
if text and text.create_raw_text then
|
|
-- built here (not on first draw) so the glyph atlas is ready
|
|
self.skip_text = text.create_raw_text(tex.skin_text("skip_badge_text"), SKIP_TEXT_SIZE,
|
|
{ 0, 0, 0, 255 }, { 0, 0, 0, 0 }, false, 0, 2)
|
|
end
|
|
local ai_screen = tex.current_screen and tex.current_screen()
|
|
local ai_tr = tex.ai_transition and tex.ai_transition()
|
|
if tex.ai_transition == nil then ai_tr = ai_screen == "AI_SELECT" or ai_screen == "AI_GAME" end -- YataiDON's own screens
|
|
if ai_tr then ai_setup(self, title, subtitle) end
|
|
if not self.is_second then HINT_COUNT = HINT_COUNT + 1; HINT_LAST = (HINT_COUNT % 2 == 0) end
|
|
self.wash = HINT_LAST and true or false
|
|
return self
|
|
end
|
|
|
|
-- resolved lazily on first draw, once init_skip() has run
|
|
function SongTransition:skip_armed()
|
|
if self.skip_on == nil then
|
|
self.skip_on = (tex.skip_enabled ~= nil) and tex.skip_enabled() or false
|
|
end
|
|
return self.skip_on
|
|
end
|
|
|
|
-- timeline the engine reads (rainbow rise for the title, title fades, done)
|
|
local RISE_MS, RISE_DIST = 266.0, 1224 -- 816 at 720p, scaled to 1080p
|
|
function SongTransition:state()
|
|
local t = self.t or 0
|
|
local rise = RISE_DIST * clamp(t / RISE_MS, 0, 1) ^ 3
|
|
if self.is_second then
|
|
-- runs the whole scene so the curtains open on the game (frames 79..109)
|
|
return { rainbow_up = rise, fade_out = clamp(1.0 - t / FADE_OUT_MS, 0, 1),
|
|
finished = t >= SCENE_MS }
|
|
end
|
|
return { rainbow_up = rise, fade = clamp((t - FADE_DELAY) / FADE_MS, 0, 1),
|
|
finished = t >= SCENE_MS }
|
|
end
|
|
|
|
function SongTransition:start() self.t0 = nil end
|
|
|
|
function SongTransition:update(current_ms, rainbow_up, song_info_fade)
|
|
if not self.t0 then self.t0 = current_ms end
|
|
self.t = current_ms - self.t0
|
|
local t = clamp(self.t, 0, SCENE_MS)
|
|
if self.is_second then
|
|
self.f = F_OUT + (F_END - F_OUT) * (t / SCENE_MS)
|
|
self.info = clamp(1.0 - t / FADE_OUT_MS, 0, 1)
|
|
else
|
|
self.f = F_IN + (F_STOP - F_IN) * (t / SCENE_MS)
|
|
-- use the engine's fade so the band tracks the title it draws on top
|
|
self.info = clamp(song_info_fade or ((t - FADE_DELAY) / FADE_MS), 0, 1)
|
|
end
|
|
end
|
|
|
|
-- draw a texture into an absolute screen rect (scale=0 -> exact x2/y2)
|
|
local function put(id, rest, x, y, w, h, a, src, blend)
|
|
if not id then return end
|
|
tex.draw_texture(id, {
|
|
x = x - rest[1], y = y - rest[2],
|
|
scale = 0, x2 = w, y2 = h,
|
|
fade = a, src = src, blend = blend,
|
|
})
|
|
end
|
|
|
|
local ORIGIN = { 0, 0 }
|
|
|
|
-- ===== Z-DON AI battle start (the arcade's ai_song_select_before_load + enso_ai/loading/loading_ai) =====
|
|
-- Leaving the AI song select (is_second = false): the board dims, a teal VS window opens, the player's Don (left) and
|
|
-- the AI (right) slide in over "Now Loading...", which turns into "START!", a ring flashes and the screen goes black.
|
|
-- Then the game's own transition (is_second = true) shows the dark loading card with the title, subtitle and a hint.
|
|
-- Both are drawn from the instance (self.draw_bg / draw_info / state / update), so the normal transition is untouched.
|
|
local AI_VS_MS = 3000
|
|
local AI_LOAD_MS = 3250 -- the loading card: intro, hold to 2600, gone at 2700, black to 2950, then the game fades in
|
|
local CARD_HOLD_END, CARD_GONE, CARD_REVEAL = 2600, 2700, 2950
|
|
local AI_T = {}
|
|
local function ai_tex(name)
|
|
local t = AI_T[name]
|
|
if not t then t = tex.get_texture("global/ai_transition/" .. name); AI_T[name] = t or nil end -- loaded on demand: not cached while missing
|
|
return t or nil
|
|
end
|
|
local function ai_info(name)
|
|
return tex.get_texture_info("ai_transition", name) or tex.get_texture_info("global/ai_transition", name)
|
|
end
|
|
local function e_out(t) t = clamp(t, 0, 1); return 1 - (1 - t) * (1 - t) end
|
|
local function e_io(t) t = clamp(t, 0, 1); return t * t * (3 - 2 * t) end
|
|
|
|
local ai_txt = {}
|
|
local function ai_text(s, size, th, maxw, color, outline, font)
|
|
color = color or { 255, 255, 255, 255 }
|
|
outline = outline or { 0, 0, 0, 255 }
|
|
local key = s .. "|" .. size .. "|" .. color[1] .. "|" .. outline[1] .. "|" .. (font or "")
|
|
local t = ai_txt[key]
|
|
if t == nil then
|
|
t = false
|
|
if s ~= "" and text and text.create_raw_text then
|
|
local sz = size
|
|
t = text.create_raw_text(s, sz, color, outline, false, th, 1.0, 1.0, font) or false
|
|
while t and maxw and t.width > maxw and sz > 20 do
|
|
sz = sz - 4
|
|
t = text.create_raw_text(s, sz, color, outline, false, th, 1.0, 1.0, font) or false
|
|
end
|
|
end
|
|
ai_txt[key] = t
|
|
end
|
|
return t or nil
|
|
end
|
|
local function ai_text_c(t, cx, cy, fade)
|
|
if t then t:draw({ x = math.floor(cx - t.width / 2 + 0.5), y = math.floor(cy - t.height / 2 + 0.5), fade = fade }) end
|
|
end
|
|
-- draw a texture of the ai_transition folder centred on (cx, cy)
|
|
local function ai_put(name, cx, cy, sx, sy, fade)
|
|
local t, i = ai_tex(name), ai_info(name)
|
|
if not (t and i) then return end
|
|
sx = sx or 1; sy = sy or sx
|
|
tex.draw_texture(t, { x = cx - i.width * sx / 2, y = cy - i.height * sy / 2, scale = 0,
|
|
x2 = i.width * sx, y2 = i.height * sy, fade = fade or 1 })
|
|
end
|
|
local function ai_black(a)
|
|
a = clamp(a, 0, 1)
|
|
if a > 0.002 then tex.draw_rect(0, 0, 1920, 1080, 0, 0, 0, 255 * a) end
|
|
end
|
|
|
|
-- VS timeline data
|
|
-- generated from ai_song_select_before_load (CHN05 lumen3906) main timeline, 175 frames @60: per instance {tex, center-origin, f0, then 6 numbers per frame tx,ty,sx,sy,rot,a (a=-1 hidden)}
|
|
local VS_TL = {
|
|
{ tex = "vs_dim", f0 = 0, mir = "", v = {960,540,250,140.63,0,0,960,540,249.86,140.62,0,0.0391,960,540,249.86,140.62,0,0.0781,960,540,249.86,140.62,0,0.1172,960,540,249.86,140.62,0,0.1562,960,540,249.86,140.62,0,0.1992,960,540,249.86,140.62,0,0.2383,960,540,249.86,140.62,0,0.2773,960,540,249.86,140.62,0,0.3164,960,540,249.86,140.62,0,0.3555,960,540,249.86,140.62,0,0.3945,960,540,249.86,140.62,0,0.4336,960,540,249.86,140.62,0,0.4727,960,540,249.86,140.62,0,0.5117,960,540,249.86,140.62,0,0.5508,960,540,249.86,140.62,0,0.5938,960,540,249.86,140.62,0,0.6328,960,540,249.86,140.62,0,0.6719,960,540,249.86,140.62,0,0.7109,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,250,140.63,0,0.75,960,540,249.86,140.62,0,0.7617,960,540,249.86,140.62,0,0.7773,960,540,249.86,140.62,0,0.7891,960,540,249.86,140.61,0,0.8008,960,540,249.86,140.61,0,0.8164,960,540,249.86,140.61,0,0.8281,960,540,249.86,140.61,0,0.8438,960,540,249.86,140.61,0,0.8555,960,540,249.86,140.61,0,0.8672,960,539.95,249.86,140.61,0,0.8828,960,539.95,249.86,140.61,0,0.8945,960,539.95,249.86,140.61,0,0.9062,960,539.95,249.86,140.61,0,0.9219,960,539.95,249.86,140.61,0,0.9336,960,539.95,249.86,140.61,0,0.9492,960,539.95,249.86,140.61,0,0.9609,960,539.95,249.86,140.61,0,0.9727,960,539.95,249.86,140.61,0,0.9883,960,539.95,250,140.62,0,1} },
|
|
{ tex = "vs_panel", f0 = 24, mir = "", v = {960,540,0.0045,1,0,1,960,540,0.104,1,0,1,960,540,0.2036,1,0,1,960,540,0.3031,1,0,1,960,540,0.4027,1,0,1,960,540,0.5022,1,0,1,960,540,0.6018,1,0,1,960,540,0.7014,1,0,1,960,540,0.8009,1,0,1,960,540,0.9004,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,0.8917,0,0.8906,960,540,1,0.7833,0,0.7773,960,540,1,0.675,0,0.668,960,540,1,0.5667,0,0.5547,960,540,1,0.4583,0,0.4453,960,540,1,0.35,0,0.332,960,540,1,0.2417,0,0.2227,960,540,1,0.1333,0,0.1094,960,540,1,0.025,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_zig", f0 = 72, mir = "", v = {965,248,1,1,0,0,965,248,1,1,0,0.25,965,248,1,1,0,0.5,965,248,1,1,0,0.75,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,1,965,248,1,1,0,0.75,965,248,1,1,0,0.5,965,248,1,1,0,0.25,965,248,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_zig", f0 = 72, mir = "v", v = {965,816,1,1,0,0,965,816,1,1,0,0.25,965,816,1,1,0,0.5,965,816,1,1,0,0.75,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,1,965,816,1,1,0,0.75,965,816,1,1,0,0.5,965,816,1,1,0,0.25,965,816,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_ring", f0 = 34, mir = "", v = {960,540,0.1449,0.1449,0,1,960,540,0.3159,0.3159,0,1,960,540,0.4869,0.4869,0,1,960,540,0.658,0.658,0,1,960,540,0.829,0.829,0,1,960,540,1,1,0,1,960,540,0.9998,0.9998,-1.2908,1,960,540,0.9996,0.9996,-2.7702,1,960,540,0.9994,0.9994,-4.0616,1,960,540,0.9992,0.9992,-5.5412,1,960,540,0.9989,0.9989,-7.0209,1,960,540,0.9987,0.9987,-8.3136,1,960,540,0.9985,0.9985,-9.7934,1,960,540,0.9983,0.9983,-11.274,1,960,540,0.9981,0.9981,-12.567,1,960,540,0.9979,0.9979,-14.048,1,960,540,0.9977,0.9977,-15.529,1,960,540,0.9975,0.9975,-16.823,1,960,540,0.9973,0.9973,-18.305,1,960,540,0.9982,0.9982,-19.81,1,960,540,0.9971,0.9971,-20.034,1,960,540,0.9971,0.9971,-20.283,1,960,540,0.9971,0.9971,-20.531,1,960,540,0.9971,0.9971,-20.779,1,960,540,0.9971,0.9971,-21.027,1,960,540,0.997,0.997,-21.275,1,960,540,0.9971,0.9971,-21.336,1,960,540,0.997,0.997,-21.584,1,960,540,0.997,0.997,-21.832,1,960,540,0.997,0.997,-22.08,1,960,540,0.997,0.997,-22.329,1,960,540,0.997,0.997,-22.576,1,960,540,0.997,0.997,-22.824,1,960,540,0.997,0.997,-23.071,1,960,540,0.997,0.997,-23.32,1,960,540,0.997,0.997,-23.569,1,960,540,0.997,0.997,-23.817,1,960,540,0.9969,0.9969,-24.066,1,960,540,0.9969,0.9969,-24.314,1,960,540,0.997,0.997,-24.562,1,960,540,0.997,0.997,-24.81,1,960,540,0.9969,0.9969,-25.058,1,960,540,0.9969,0.9969,-25.306,1,960,540,0.9969,0.9969,-25.555,1,960,540,0.9969,0.9969,-25.803,1,960,540,0.9969,0.9969,-26.052,1,960,540,0.9969,0.9969,-26.3,1,960,540,0.9969,0.9969,-26.549,1,960,540,0.9969,0.9969,-26.797,1,960,540,0.9969,0.9969,-27.044,1,960,540,0.9969,0.9969,-27.293,1,960,540,0.9968,0.9968,-27.542,1,960,540,0.9969,0.9969,-27.602,1,960,540,0.9968,0.9968,-27.85,1,960,540,0.9968,0.9968,-28.098,1,960,540,0.9969,0.9969,-28.345,1,960,540,0.9968,0.9968,-28.594,1,960,540,0.9968,0.9968,-28.843,1,960,540,0.9968,0.9968,-29.091,1,960,540,0.9968,0.9968,-29.339,1,960,540,0.9968,0.9968,-29.587,1,960,540,0.9968,0.9968,-29.836,1,960,540,0.9968,0.9968,-30.083,1,960,540,0.9968,0.9968,-30.332,1,960,540,0.9968,0.9968,-30.58,1,960,540,0.9968,0.9968,-30.829,1,960,540,0.9968,0.9968,-31.077,1,960,540,0.9968,0.9968,-31.326,1,960,540,0.9968,0.9968,-31.574,1,960,540,0.9968,0.9968,-31.822,1,960,540,0.9968,0.9968,-32.071,1,960,540,0.9968,0.9968,-32.32,1,960,540,0.9968,0.9968,-32.568,1,960,540,0.9967,0.9967,-32.816,1,960,540,0.9968,0.9968,-33.064,1,960,540,0.9967,0.9967,-33.312,1,960,540,0.9967,0.9967,-33.561,1,960,540,0.9967,0.9967,-33.81,1,960,540,0.9967,0.9967,-33.869,1,960,540,0.9968,0.9968,-34.118,1,960,540,0.9967,0.9967,-34.366,1,960,540,0.9967,0.9967,-34.615,1,960,540,0.9967,0.9967,-34.862,1,960,540,0.9967,0.9967,-35.112,1,960,540,0.9967,0.9967,-35.36,1,960,540,0.9967,0.9967,-35.607,1,960,540,0.9967,0.9967,-35.855,1,960,540,0.9967,0.9967,-36.104,1,960,540,0.9967,0.9967,-36.353,1,960,540,0.9967,0.9967,-36.601,1,960,540,0.9967,0.9967,-36.85,1,960,540,0.9967,0.9967,-37.099,1,960,540,0.9967,0.9967,-37.346,1,960,540,0.9967,0.9967,-37.595,1,960,540,0.9967,0.9967,-37.844,1,960,540,0.9967,0.9967,-38.092,1,960,540,0.9967,0.9967,-38.341,1,960,540,0.9967,0.9967,-38.589,1,960,540,0.9967,0.9967,-38.837,1,960,540,0.9967,0.9967,-39.085,1,960,540,0.9967,0.9967,-39.334,1,960,540,0.9967,0.9967,-39.582,1,960,540,0.9967,0.9967,-39.831,1,960,540,0.9967,0.9967,-40.079,1,960,540,0.9967,0.9967,-40.139,1,960,540,0.9967,0.9967,-40.387,1,960,540,0.9967,0.9967,-40.637,1,960,540,0.9967,0.9967,-40.884,1,960,540,0.9967,0.9967,-41.132,1,960,540,0.9967,0.9967,-41.381,1,960,540,0.9967,0.9967,-41.629,1,960,540,0.9967,0.9967,-41.878,1,960,540,0.9967,0.9967,-42.126,1,960,540,0.9967,0.9967,-42.376,1,960,540,0.9984,0.9984,-42.648,1,960,540,1.1388,1.1388,-53.666,1,960,540,1.2813,1.2813,-64.705,1,960,540,1.4253,1.4253,-75.732,1,960,540,1.5679,1.5679,-86.937,0.75,960,540,1.7104,1.7104,-97.758,0.5,960,540,1.8522,1.8522,-108.78,0.25,960,540,1.9972,1.9972,-119.82,0,960,540,1.9972,1.9972,-119.82,0,960,540,1.9972,1.9972,-119.82,0,960,540,1.9972,1.9972,-119.82,0,960,540,1.9972,1.9972,-119.82,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_s12", f0 = 42, mir = "", v = {960,540,1,1,0,0,960,540,1,1,0,0.293,960,540,1,1,0,0.5156,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.5,960,540,1,1,0,0.6016,960,540,1,1,0,0.6992,960,540,1,1,0,0.8008,960,540,1,1,0,0.8984,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.8906,960,540,1,1,0,0.7773,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.5,960,540,1,1,0,0.6016,960,540,1,1,0,0.6992,960,540,1,1,0,0.8008,960,540,1,1,0,0.8984,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.8906,960,540,1,1,0,0.7773,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.5,960,540,1,1,0,0.6016,960,540,1,1,0,0.6992,960,540,1,1,0,0.8008,960,540,1,1,0,0.8984,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.8906,960,540,1,1,0,0.7773,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.5,960,540,1,1,0,0.6016,960,540,1,1,0,0.6992,960,540,1,1,0,0.8008,960,540,1,1,0,0.8984,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.8906,960,540,1,1,0,0.7773,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.5,960,540,1,1,0,0.6016,960,540,1,1,0,0.6992,960,540,1,1,0,0.8008,960,540,1,1,0,0.8984,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.8906,960,540,1,1,0,0.7773,960,540,1,1,0,0.668,960,540,1,1,0,0.5547,960,540,1,1,0,0.4453,960,540,1,1,0,0.332,960,540,1,1,0,0.2227,960,540,1,1,0,0.1094,960,540,1,1,0,0,960,540,1,1,0,0.1016,960,540,1,1,0,0.1992,960,540,1,1,0,0.3008,960,540,1,1,0,0.3984,960,540,1,1,0,0.375,960,540,1,1,0,0.3008,960,540,1,1,0,0.1719,960,540,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_s10", f0 = 39, mir = "", v = {960,540,0.1042,0.1042,0,0,960,540,0.4028,0.4028,0,0.332,960,540,0.7014,0.7014,0,0.668,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_s32", f0 = 76, mir = "", v = {960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,1,960,540,1,1,0,0.75,960,540,1,1,0,0.5,960,540,1,1,0,0.25,960,540,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_bar", f0 = 42, mir = "", v = {734,583.05,1,1,0,1,734.05,583.05,1.5749,1,0,1,734.05,583.05,2.1499,1,0,1,734.05,583.05,2.7247,1,0,1,734.1,583.05,3.2996,1,0,1,734.15,583.05,3.8746,1,0,1,734.15,583.05,4.4495,1,0,1,734.2,583.05,5.0245,1,0,1,734.2,583.05,5.5993,1,0,1,734.25,583.05,6.1742,1,0,1,734.25,583.05,6.7492,1,0,1,734.3,583.05,7.3241,1,0,1,734.3,583.05,7.8991,1,0,1,734.3,583.05,8.4739,1,0,1,734.35,583.05,9.0488,1,0,1,734.4,583.05,9.6238,1,0,1,734.4,583.05,10.199,1,0,1,734.5,583.05,10.774,1,0,1,734.5,583.05,11.348,1,0,1,734.5,583.05,11.923,1,0,1,734.5,583.05,12.498,1,0,1,734.8,583.05,19.788,1,0,1,734.95,583.05,27.079,1,0,1,735.1,583.05,34.37,1,0,1,735.25,583.05,41.662,1,0,1,735.4,583.05,48.952,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,735,583.05,56.25,1,0,1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_corner", f0 = 42, mir = "", v = {702,464,1,1,0,1,702,464,1,1,0,0.9727,702,464,1,1,0,0.9492,702,464,1,1,0,0.9219,702,464,1,1,0,0.8945,702,464,1,1,0,0.8672,702,464,1,1,0,0.8438,702,464,1,1,0,0.8164,702,464,1,1,0,0.7891,702,464,1,1,0,0.7617,702,464,1,1,0,0.7383,702,464,1,1,0,0.7109,702,464,1,1,0,0.6836,702,464,1,1,0,0.6562,702,464,1,1,0,0.6328,702,464,1,1,0,0.6055,702,464,1,1,0,0.5781,702,464,1,1,0,0.5508,702,464,1,1,0,0.5273,702,464,1,1,0,0.5,702,464,1,1,0,0.5273,702,464,1,1,0,0.5508,702,464,1,1,0,0.5781,702,464,1,1,0,0.6055,702,464,1,1,0,0.6328,702,464,1,1,0,0.6562,702,464,1,1,0,0.6836,702,464,1,1,0,0.7109,702,464,1,1,0,0.7383,702,464,1,1,0,0.7617,702,464,1,1,0,0.7891,702,464,1,1,0,0.8164,702,464,1,1,0,0.8438,702,464,1,1,0,0.8672,702,464,1,1,0,0.8945,702,464,1,1,0,0.9219,702,464,1,1,0,0.9492,702,464,1,1,0,0.9727,702,464,1,1,0,1,702,464,1,1,0,1,702,464,1,1,0,0.9727,702,464,1,1,0,0.9492,702,464,1,1,0,0.9219,702,464,1,1,0,0.8945,702,464,1,1,0,0.8672,702,464,1,1,0,0.8438,702,464,1,1,0,0.8164,702,464,1,1,0,0.7891,702,464,1,1,0,0.7617,702,464,1,1,0,0.7383,702,464,1,1,0,0.7109,702,464,1,1,0,0.6836,702,464,1,1,0,0.6562,702,464,1,1,0,0.6328,702,464,1,1,0,0.6055,702,464,1,1,0,0.5781,702,464,1,1,0,0.5508,702,464,1,1,0,0.5273,702,464,1,1,0,0.5,702,464,1,1,0,0.5273,702,464,1,1,0,0.5508,702,464,1,1,0,0.5781,702,464,1,1,0,0.6055,702,464,1,1,0,0.6328,702,464,1,1,0,0.6562,702,464,1,1,0,0.6836,702,464,1,1,0,0.7109,702,464,1,1,0,0.7383,702,464,1,1,0,0.7617,702,464,1,1,0,0.7891,702,464,1,1,0,0.8164,702,464,1,1,0,0.8438,702,464,1,1,0,0.8672,702,464,1,1,0,0.8945,702,464,1,1,0,0.9219,702,464,1,1,0,0.9492,702,464,1,1,0,0.9727,702,464,1,1,0,1,702,464,1,1,0,1,702,464,1,1,0,0.9727,702,464,1,1,0,0.9492,702,464,1,1,0,0.9219,702,464,1,1,0,0.8945,702,464,1,1,0,0.8672,702,464,1,1,0,0.8438,702,464,1,1,0,0.8164,702,464,1,1,0,0.7891,702,464,1,1,0,0.7617,702,464,1,1,0,0.7383,702,464,1,1,0,0.7109,702,464,1,1,0,0.6836,702,464,1,1,0,0.6562,702,464,1,1,0,0.6328,702,464,1,1,0,0.6055,702,464,1,1,0,0.5781,702,464,1,1,0,0.5508,702,464,1,1,0,0.5273,702,464,1,1,0,0.5,702,464,1,1,0,0.5273,702,464,1,1,0,0.5508,702,464,1,1,0,0.5781,702,464,1,1,0,0.6055,702,464,1,1,0,0.6328,702,464,1,1,0,0.6562,702,464,1,1,0,0.6836,702,464,1,1,0,0.7109,702,464,1,1,0,0.7383,702,464,1,1,0,0.7617,702,464,1,1,0,0.7891,702,464,1,1,0,0.8164,702,464,1,1,0,0.8438,702,464,1,1,0,0.8672,702,464,1,1,0,0.8945,702,464,1,1,0,0.9219,702,464,1,1,0,0.7109,702,464,1,1,0,0.4844,702,464,1,1,0,0.25,702,464,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_corner", f0 = 42, mir = "v", v = {702,616,1,1,0,1,702,616,1,1,0,0.9727,702,616,1,1,0,0.9492,702,616,1,1,0,0.9219,702,616,1,1,0,0.8945,702,616,1,1,0,0.8672,702,616,1,1,0,0.8438,702,616,1,1,0,0.8164,702,616,1,1,0,0.7891,702,616,1,1,0,0.7617,702,616,1,1,0,0.7383,702,616,1,1,0,0.7109,702,616,1,1,0,0.6836,702,616,1,1,0,0.6562,702,616,1,1,0,0.6328,702,616,1,1,0,0.6055,702,616,1,1,0,0.5781,702,616,1,1,0,0.5508,702,616,1,1,0,0.5273,702,616,1,1,0,0.5,702,616,1,1,0,0.5273,702,616,1,1,0,0.5508,702,616,1,1,0,0.5781,702,616,1,1,0,0.6055,702,616,1,1,0,0.6328,702,616,1,1,0,0.6562,702,616,1,1,0,0.6836,702,616,1,1,0,0.7109,702,616,1,1,0,0.7383,702,616,1,1,0,0.7617,702,616,1,1,0,0.7891,702,616,1,1,0,0.8164,702,616,1,1,0,0.8438,702,616,1,1,0,0.8672,702,616,1,1,0,0.8945,702,616,1,1,0,0.9219,702,616,1,1,0,0.9492,702,616,1,1,0,0.9727,702,616,1,1,0,1,702,616,1,1,0,1,702,616,1,1,0,0.9727,702,616,1,1,0,0.9492,702,616,1,1,0,0.9219,702,616,1,1,0,0.8945,702,616,1,1,0,0.8672,702,616,1,1,0,0.8438,702,616,1,1,0,0.8164,702,616,1,1,0,0.7891,702,616,1,1,0,0.7617,702,616,1,1,0,0.7383,702,616,1,1,0,0.7109,702,616,1,1,0,0.6836,702,616,1,1,0,0.6562,702,616,1,1,0,0.6328,702,616,1,1,0,0.6055,702,616,1,1,0,0.5781,702,616,1,1,0,0.5508,702,616,1,1,0,0.5273,702,616,1,1,0,0.5,702,616,1,1,0,0.5273,702,616,1,1,0,0.5508,702,616,1,1,0,0.5781,702,616,1,1,0,0.6055,702,616,1,1,0,0.6328,702,616,1,1,0,0.6562,702,616,1,1,0,0.6836,702,616,1,1,0,0.7109,702,616,1,1,0,0.7383,702,616,1,1,0,0.7617,702,616,1,1,0,0.7891,702,616,1,1,0,0.8164,702,616,1,1,0,0.8438,702,616,1,1,0,0.8672,702,616,1,1,0,0.8945,702,616,1,1,0,0.9219,702,616,1,1,0,0.9492,702,616,1,1,0,0.9727,702,616,1,1,0,1,702,616,1,1,0,1,702,616,1,1,0,0.9727,702,616,1,1,0,0.9492,702,616,1,1,0,0.9219,702,616,1,1,0,0.8945,702,616,1,1,0,0.8672,702,616,1,1,0,0.8438,702,616,1,1,0,0.8164,702,616,1,1,0,0.7891,702,616,1,1,0,0.7617,702,616,1,1,0,0.7383,702,616,1,1,0,0.7109,702,616,1,1,0,0.6836,702,616,1,1,0,0.6562,702,616,1,1,0,0.6328,702,616,1,1,0,0.6055,702,616,1,1,0,0.5781,702,616,1,1,0,0.5508,702,616,1,1,0,0.5273,702,616,1,1,0,0.5,702,616,1,1,0,0.5273,702,616,1,1,0,0.5508,702,616,1,1,0,0.5781,702,616,1,1,0,0.6055,702,616,1,1,0,0.6328,702,616,1,1,0,0.6562,702,616,1,1,0,0.6836,702,616,1,1,0,0.7109,702,616,1,1,0,0.7383,702,616,1,1,0,0.7617,702,616,1,1,0,0.7891,702,616,1,1,0,0.8164,702,616,1,1,0,0.8438,702,616,1,1,0,0.8672,702,616,1,1,0,0.8945,702,616,1,1,0,0.9219,702,616,1,1,0,0.7109,702,616,1,1,0,0.4844,702,616,1,1,0,0.25,702,616,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_corner", f0 = 42, mir = "h", v = {1219,464,1,1,0,1,1219,464,1,1,0,0.9727,1219,464,1,1,0,0.9492,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.9492,1219,464,1,1,0,0.9727,1219,464,1,1,0,1,1219,464,1,1,0,1,1219,464,1,1,0,0.9727,1219,464,1,1,0,0.9492,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.9492,1219,464,1,1,0,0.9727,1219,464,1,1,0,1,1219,464,1,1,0,1,1219,464,1,1,0,0.9727,1219,464,1,1,0,0.9492,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5,1219,464,1,1,0,0.5273,1219,464,1,1,0,0.5508,1219,464,1,1,0,0.5781,1219,464,1,1,0,0.6055,1219,464,1,1,0,0.6328,1219,464,1,1,0,0.6562,1219,464,1,1,0,0.6836,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.7383,1219,464,1,1,0,0.7617,1219,464,1,1,0,0.7891,1219,464,1,1,0,0.8164,1219,464,1,1,0,0.8438,1219,464,1,1,0,0.8672,1219,464,1,1,0,0.8945,1219,464,1,1,0,0.9219,1219,464,1,1,0,0.7109,1219,464,1,1,0,0.4844,1219,464,1,1,0,0.25,1219,464,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_corner", f0 = 42, mir = "hv", v = {1219,616,1,1,0,1,1219,616,1,1,0,0.9727,1219,616,1,1,0,0.9492,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.9492,1219,616,1,1,0,0.9727,1219,616,1,1,0,1,1219,616,1,1,0,1,1219,616,1,1,0,0.9727,1219,616,1,1,0,0.9492,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.9492,1219,616,1,1,0,0.9727,1219,616,1,1,0,1,1219,616,1,1,0,1,1219,616,1,1,0,0.9727,1219,616,1,1,0,0.9492,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5,1219,616,1,1,0,0.5273,1219,616,1,1,0,0.5508,1219,616,1,1,0,0.5781,1219,616,1,1,0,0.6055,1219,616,1,1,0,0.6328,1219,616,1,1,0,0.6562,1219,616,1,1,0,0.6836,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.7383,1219,616,1,1,0,0.7617,1219,616,1,1,0,0.7891,1219,616,1,1,0,0.8164,1219,616,1,1,0,0.8438,1219,616,1,1,0,0.8672,1219,616,1,1,0,0.8945,1219,616,1,1,0,0.9219,1219,616,1,1,0,0.7109,1219,616,1,1,0,0.4844,1219,616,1,1,0,0.25,1219,616,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_s34", f0 = 76, mir = "", v = {960,539.95,2.9762,0.0347,0,0.4297,960,539.95,2.9761,0.3101,0,0.4023,960,539.95,2.9761,0.5857,0,0.3711,960,539.95,2.9761,0.8611,0,0.3438,960,539.95,2.9761,1.1366,0,0.3164,960,539.95,2.9761,1.4121,0,0.2852,960,539.95,2.9761,1.6875,0,0.2578,960,539.95,2.9761,1.963,0,0.2305,960,539.95,2.9761,2.2385,0,0.1992,960,539.95,2.9761,2.514,0,0.1719,960,539.95,2.9761,2.7895,0,0.1445,960,539.95,2.9761,3.0649,0,0.1133,960,539.95,2.9761,3.3404,0,0.0859,960,539.95,2.9761,3.6159,0,0.0586,960,539.95,2.9761,3.8914,0,0.0273,960,539.95,2.9762,4.1669,0,0,960,539.95,2.9241,4.0832,0,0,960,539.95,2.8721,3.9999,0,0,960,539.95,2.8201,3.9166,0,0,960,539.95,2.7681,3.8332,0,0,960,539.95,2.7161,3.7499,0,0,960,539.95,2.6641,3.6665,0,0,960,539.95,2.6121,3.5832,0,0,960,539.95,2.5601,3.4999,0,0,960,539.95,2.508,3.4165,0,0,960,539.95,2.4561,3.3332,0,0,960,539.95,2.4041,3.2499,0,0,960,539.95,2.3521,3.1665,0,0,960,539.95,2.3001,3.0832,0,0,960,539.95,2.2481,2.9999,0,0,960,539.95,2.1961,2.9166,0,0,960,539.95,2.1441,2.8332,0,0,960,539.95,2.092,2.7499,0,0,960,539.95,2.0401,2.6666,0,0,960,540,1.988,2.5832,0,0,960,540,1.936,2.4999,0,0,960,540,1.884,2.4166,0,0,960,540,1.832,2.3332,0,0,960,540,1.78,2.2499,0,0,960,540,1.728,2.1666,0,0,960,540,1.676,2.0832,0,0,960,540,1.624,1.9999,0,0,960,540,1.572,1.9166,0,0,960,540,1.52,1.8332,0,0,960,540,1.468,1.7499,0,0,960,540,1.416,1.6666,0,0,960,540,1.364,1.5832,0,0,960,540,1.312,1.4999,0,0,960,540,1.26,1.4166,0,0,960,540,1.208,1.3332,0,0,960,540,1.156,1.2499,0,0,960,540,1.104,1.1666,0,0,960,540,1.052,1.0832,0,0,960,540,1,1,0,0,960,540,1,1,0,0.1445,960,540,1,1,0,0.2852,960,540,1,1,0,0.4297,960,540,1,1,0,0.5703,960,540,1,1,0,0.7148,960,540,1,1,0,0.8555,960,540,1,1,0,1,960,540,1,1,0,0.668,960,540,1,1,0,0.332,960,540,1,1,0,0,960,540,1,1,0,0.332,960,540,1,1,0,0.668,960,540,1,1,0,1,960,540,1,1,0,0.668,960,540,1,1,0,0.332,960,540,1,1,0,0,960,540,1,1,0,0.332,960,540,1,1,0,0.668,960,540,1,1,0,1,960,540,1.6587,1.0212,0,0.8906,960,540,2.3174,1.0423,0,0.7812,960,540,2.9761,1.0635,0,0.6719,960,540,2.976,0.934,0,0.5898,960,540,2.976,0.8045,0,0.5039,960,540,2.976,0.6751,0,0.4219,960,540,2.976,0.5456,0,0.3359,960,539.95,2.9761,0.4161,0,0.2539,960,539.95,2.9761,0.2867,0,0.168,960,539.95,2.9761,0.1572,0,0.0859,960,539.95,2.9762,0.0278,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_beam", f0 = 42, mir = "", v = {415,733,1,1,0,0,415,733,1,1,0,0.332,415,733,1,1,0,0.668,415,733,1,1,0,1,415,723.9,1,1,0,1,415,714.75,1,1,0,1,415,705.65,1,1,0,1,415,696.5,1,1,0,1,415,687.4,1,1,0,1,415,678.25,1,1,0,1,415,669.15,1,1,0,1,415,660,1,1,0,1,415,642.25,1,1,0,1,415,624.55,1,1,0,1,415,606.8,1,1,0,1,415,589.1,1,1,0,1,415,571.35,1,1,0,1,415,553.65,1,1,0,1,415,535.9,1,1,0,1,415,518.2,1,1,0,1,415,500.45,1,1,0,1,415,482.75,1,1,0,1,415,465,1,1,0,1,415,429.25,1,1,0,0.75,415,393.55,1,1,0,0.5,415,357.8,1,1,0,0.25,415,322.05,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
{ tex = "vs_beam", f0 = 42, mir = "", v = {1505,733,1,1,0,0,1505,733,1,1,0,0.332,1505,733,1,1,0,0.668,1505,733,1,1,0,1,1505,723.9,1,1,0,1,1505,714.75,1,1,0,1,1505,705.65,1,1,0,1,1505,696.5,1,1,0,1,1505,687.4,1,1,0,1,1505,678.25,1,1,0,1,1505,669.15,1,1,0,1,1505,660,1,1,0,1,1505,642.25,1,1,0,1,1505,624.55,1,1,0,1,1505,606.8,1,1,0,1,1505,589.1,1,1,0,1,1505,571.35,1,1,0,1,1505,553.65,1,1,0,1,1505,535.9,1,1,0,1,1505,518.2,1,1,0,1,1505,500.45,1,1,0,1,1505,482.75,1,1,0,1,1505,465,1,1,0,1,1505,429.25,1,1,0,0.75,1505,393.55,1,1,0,0.5,1505,357.8,1,1,0,0.25,1505,322.05,1,1,0,0,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1,0,0,1,1,0,-1} },
|
|
}
|
|
|
|
-- round 3 (official-asset cleanup): the VS window is the raw shapes of ai_song_select_before_load placed by the movie's own
|
|
-- timeline (VS_TL above, frame = ms * 60 / 1000): dim, window, zig-zag lines, ring, label (dark -> teal), progress bar (the
|
|
-- shape's own colour), corners, flash, light beams. Only the Dons, the robot and the two text strings are ours.
|
|
local TX_LOADING, TX_START = { 789, 499 }, { 867, 509 }
|
|
local TX_LANG = { ja = 0, en = 1, ko = 2, tw = 3, zh = 4 } -- jp en kr tw cn glyph sets
|
|
local function ai_tx_frame()
|
|
local ok, l = pcall(function() return tex.language() end)
|
|
local f = (ok and TX_LANG[l]) or 0
|
|
if f == 4 then f = 3 end
|
|
return f
|
|
end
|
|
local function ai_tx_put(name, o, fade)
|
|
local t = ai_tex(name)
|
|
if not t then return false end
|
|
tex.draw_texture(t, { x = o[1], y = o[2], frame = ai_tx_frame(), fade = fade })
|
|
return true
|
|
end
|
|
|
|
local function vs_item(it, f)
|
|
local i = f - it.f0
|
|
local n = #it.v / 6
|
|
if i < 0 then return end
|
|
if i >= n then
|
|
if it.tex ~= "vs_dim" then return end -- the black dim holds on its last frame
|
|
i = n - 1
|
|
end
|
|
local k = i * 6
|
|
local v = it.v
|
|
local a = v[k + 6]
|
|
if a <= 0.002 then return end
|
|
local t, inf = ai_tex(it.tex), ai_info(it.tex)
|
|
if not (t and inf) then return end
|
|
local w, h = inf.width * v[k + 3], inf.height * v[k + 4]
|
|
if w < 0.5 or h < 0.5 then return end
|
|
local p = { x = v[k + 1] - w / 2, y = v[k + 2] - h / 2, scale = 0, x2 = w, y2 = h, fade = a }
|
|
if it.tex == "vs_bar" then p.x = v[k + 1] end -- the bar's shape grows from its left edge (734..1185, centred on the label)
|
|
local rot = v[k + 5]
|
|
if it.mir == "hv" then rot = 180
|
|
elseif it.mir == "h" then p.mirror = "horizontal"
|
|
elseif it.mir == "v" then p.mirror = "vertical" end
|
|
if rot ~= 0 then
|
|
p.x, p.y = v[k + 1], v[k + 2]
|
|
p.rotation = rot
|
|
p.origin = { w / 2, h / 2 }
|
|
end
|
|
tex.draw_texture(t, p)
|
|
end
|
|
|
|
local VS_CHARA_S, VS_CHARA_ROT = 1.25, 20 -- the loading window's 3D Dons
|
|
|
|
local function ai_vs_draw(self)
|
|
local t = self.t or 0
|
|
local f = math.floor(t * 60 / 1000)
|
|
-- the window opens on movie frame 24
|
|
-- the arcade's two loading cues: running as the bar grows (movie f42), finish on START (f76)
|
|
local function cue(flag, at, name)
|
|
if f >= at and not self[flag] then
|
|
self[flag] = true
|
|
if audio and audio.has_sound and audio.has_sound(name) then audio.play_sound(name, "sound") end
|
|
end
|
|
end
|
|
cue("vs_cue_running", 42, "ai_loading_running")
|
|
cue("vs_cue_finish", 76, "ai_loading_finish")
|
|
for _, it in ipairs(VS_TL) do
|
|
if it.tex ~= "vs_corner" and it.tex ~= "vs_s34" and it.tex ~= "vs_beam" and it.tex ~= "vs_bar" then vs_item(it, f) end
|
|
end
|
|
-- the two sides are uncovered from the bottom up by the rising beam and go with the window's close
|
|
-- (arcade capture MBAZD6xA1D8: beam y 695 at f48, 16 px a frame; gone at f153)
|
|
local vs_3d = (tex.get_option("ai_loading_chara_3d") or not tex.ai_active) and tex.ai_vs_chara_draw
|
|
if vs_3d and f < 42 then tex.ai_vs_chara_load() end -- ahead of its first frame
|
|
if vs_3d and f >= 153 then tex.ai_vs_chara_release() end
|
|
if vs_3d and f >= 42 and f < 153 then
|
|
-- the cabinet's 3D Dons, uncovered by the same beam (direct feed 0wD5kkcN5WA 1:52: ~384 / ~1526, feet about y 747)
|
|
local wipe_y = clamp(math.floor(695 - (f - 48) * 16.1), 0, 1080)
|
|
local bob3d = math.sin(t / 260) * 4
|
|
tex.begin_scissor(0, wipe_y, 1920, 1080 - wipe_y)
|
|
tex.ai_vs_chara_draw(0, 384, 747 + bob3d, VS_CHARA_S, VS_CHARA_ROT)
|
|
tex.ai_vs_chara_draw(1, 1526, 747 - bob3d, VS_CHARA_S, -VS_CHARA_ROT)
|
|
tex.end_scissor()
|
|
elseif f >= 42 and f < 153 then
|
|
local wipe = 695 - (f - 48) * 16.1
|
|
local bob = math.sin(t / 260) * 4
|
|
-- the player's Don (the skin's own 2D Don of the rainbow loading; the cabinet seats the 3D Don here; the old
|
|
-- vs_don art was a placeholder box) on the left, the robot on the right (direct feed 0wD5kkcN5WA 1:50: ~400 / ~1520)
|
|
local dc = self.chara_l
|
|
if dc then
|
|
local dsz, y0 = 480, 570 + bob - 240 -- round 3a: the arcade's costumed Don fills about 200 x 190 of the 1000 px sheet (ours was 150 x 142)
|
|
local cut = clamp(wipe - y0, 0, dsz)
|
|
if cut < dsz then
|
|
local di = tex.get_texture_info("global/rainbow_transition", "chara_left")
|
|
or tex.get_texture_info("rainbow_transition", "chara_left")
|
|
local sw, sh = di and di.width or 560, di and di.height or 560
|
|
put(dc, REST_CHARA_L, 384 - dsz / 2, y0 + cut, dsz, dsz - cut, 1,
|
|
{ x = 0, y = sh * cut / dsz, width = sw, height = sh * (1 - cut / dsz) })
|
|
end
|
|
end
|
|
local rt, ri = ai_tex("vs_robot"), ai_info("vs_robot") -- direct feed 0wD5 1:52: robot about 332 px tall, centre (1526, 570)
|
|
if rt and ri then
|
|
local w, h = ri.width * 0.73, ri.height * 0.73
|
|
local y0 = 570 - bob - h / 2
|
|
local cut = clamp(wipe - y0, 0, h)
|
|
if cut < h then
|
|
tex.draw_texture(rt, { x = 1526 - w / 2, y = y0 + cut, scale = 0, x2 = w, y2 = h - cut,
|
|
src = { x = 0, y = ri.height * cut / h, width = ri.width, height = ri.height * (1 - cut / h) } })
|
|
end
|
|
end
|
|
end
|
|
-- txt_loading (movie frames 42..75, over the dark label) / txt_start (76..)
|
|
local la = clamp((f - 42) / 8, 0, 1)
|
|
-- the cabinet's own lettering (txt_derivation, wordlist ai_song_select_derivation_loading / _start, rendered with the
|
|
-- glyph atlases and baked as black + alpha: tx_loading / tx_start, frame = language), at the movie's stage position
|
|
if f >= 153 then
|
|
-- the label's text goes with the sides, only the bar closes
|
|
elseif f >= 76 then
|
|
if not ai_tx_put("tx_start", TX_START, 1) then
|
|
ai_text_c(ai_text("START!", 38, 0, 600, { 0, 0, 0, 255 }), 960, 540, 1)
|
|
end
|
|
elseif f >= 42 then
|
|
if not ai_tx_put("tx_loading", TX_LOADING, la) then
|
|
ai_text_c(ai_text("Now Loading...", 44, 0, 500, { 0, 0, 0, 255 }), 957, 528, la)
|
|
end
|
|
end
|
|
for _, it in ipairs(VS_TL) do
|
|
if it.tex == "vs_bar" or it.tex == "vs_corner" or it.tex == "vs_s34" or it.tex == "vs_beam" then vs_item(it, f) end
|
|
end
|
|
if t >= 2917 then ai_black(1) end
|
|
end
|
|
|
|
local function ai_card_draw(self)
|
|
local t = self.t or 0
|
|
require("global.ai_battle").card_up() -- the floor's opening waits for the card
|
|
if t >= CARD_GONE then
|
|
ai_black(1 - clamp((t - CARD_REVEAL) / (AI_LOAD_MS - CARD_REVEAL), 0, 1)) -- black, then the game fades in
|
|
return
|
|
end
|
|
ai_black(1)
|
|
local a = 1 - clamp((t - CARD_HOLD_END) / (CARD_GONE - CARD_HOLD_END), 0, 1)
|
|
-- the arcade's loading movie (loading_ai): the intro (frames 5..27, every 2nd: 12 baked), then its 120-frame
|
|
-- background loop (every 3rd: 40 baked); the still card when absent
|
|
local c = ai_tex("card")
|
|
if ai_tex("lt_card_1_0") then
|
|
-- from the movie's own tracks: the intro to frame 27, then its 120-frame background loop
|
|
local m = 5 + t * 0.06
|
|
if m >= 147 then m = 27 + (m - 27) % 120 end
|
|
require("global.lumen_tracks").draw(require("global.ai_fx_card"), m, function(n) local q = ai_tex(n); return q and { t = q } end, 0, 0, 1, a)
|
|
elseif c then
|
|
tex.draw_texture(c, { x = 0, y = 0, scale = 0, x2 = 1920, y2 = 1080, fade = a * clamp(t / 350, 0, 1) })
|
|
end
|
|
if t < 130 then return end -- the skip badge comes with the intro's background, the text with its frame
|
|
-- 演奏スキップON badge (the card's own pill is drawn empty)
|
|
if self:skip_armed() and self.skip_badge then
|
|
put(self.skip_badge, SKIP_REST, SKIP_BADGE_X, SKIP_BADGE_Y, 624, 104, a)
|
|
if self.skip_text then
|
|
self.skip_text:draw({ x = SKIP_BADGE_CX - self.skip_text.width / 2,
|
|
y = SKIP_TEXT_CY - self.skip_text.height / 2, fade = a })
|
|
end
|
|
end
|
|
if t < 320 or t >= CARD_HOLD_END then return end
|
|
a = 1
|
|
local TITLE, RIM, GOTHIC = { 255, 255, 255, 255 }, { 38, 150, 160, 255 }, "FOT-Seurat_Pro_B.otf"
|
|
ai_text_c(ai_text(self.ai_title or "", 64, 4, 1500, TITLE, RIM), 960, 449, a) -- round 3a: ink centre 444.5 in the direct feed (was 423.5)
|
|
ai_text_c(ai_text(self.ai_subtitle or "", 40, 3, 1500, TITLE, RIM), 960, 538, a) -- round 3a: direct feed ink centre 537.5 (YOASOBI)
|
|
local function skin(k) local s = tex.skin_text(k); return (s and s ~= "") and s or "" end
|
|
ai_text_c(ai_text(skin("transition_hint_title"), 32, 3, 900, nil, nil, GOTHIC), 960, 743, a)
|
|
ai_text_c(ai_text(skin("ai_load_tip_1"), 32, 3, 1300, nil, nil, GOTHIC), 960, 808, a)
|
|
ai_text_c(ai_text(skin("ai_load_tip_2"), 32, 3, 1300, nil, nil, GOTHIC), 960, 859, a)
|
|
end
|
|
|
|
ai_setup = function(self, title, subtitle)
|
|
if self.is_second then -- load the card's shapes now, not on its first frame
|
|
for _, q in ipairs(require("global.ai_fx_card").pieces) do ai_tex(q.t) end
|
|
end
|
|
-- the folder is unloaded with its screen and only get_texture loads it again: cached handles would keep the
|
|
-- drawing going while get_texture_info finds nothing (window, ring and robot gone on the next battle)
|
|
AI_T = {}
|
|
self.ai, self.ai_title, self.ai_subtitle = true, title, subtitle
|
|
self.draw_bg = function(s) if s.is_second then ai_card_draw(s) else ai_vs_draw(s) end end
|
|
self.draw_info = function() end
|
|
self.state = function(s)
|
|
local t = s.t or 0
|
|
if s.is_second then return { rainbow_up = 0, fade = 1, fade_out = 1, finished = t >= AI_LOAD_MS } end
|
|
return { rainbow_up = 0, fade = 0, finished = t >= AI_VS_MS }
|
|
end
|
|
self.update = function(s, current_ms)
|
|
if not s.t0 then s.t0 = current_ms end
|
|
s.t = current_ms - s.t0
|
|
end
|
|
end
|
|
-- ===== end AI battle start =====
|
|
|
|
|
|
|
|
function SongTransition:draw_bg(total_offset, rainbow_up, mini_up, chara_down)
|
|
local f = self.f
|
|
|
|
-- 1. backdrop: two curved curtains, or the flat full-screen rainbow
|
|
if f >= F_FULL_A and f <= F_FULL_B then
|
|
put(self.rainbow, ORIGIN, 0, 0, 1920, 1080, 1)
|
|
else
|
|
-- the curtains close in over frames 5..34 and part again from 79
|
|
local close = lerp(f, 5, 34, 0, 1) - lerp(f, 79, 109, 0, 1)
|
|
local lx = -240 + 720 * close
|
|
local ls = 0.5 + 0.5 * close
|
|
local rx = 2160 - 720 * close
|
|
local rs = ls
|
|
put(self.atlas_c, ORIGIN, lx - 480 * ls, 0, 960 * ls, 1080, 1, SRC_CURT_L)
|
|
put(self.atlas_c, ORIGIN, rx - 480 * rs, 0, 960 * rs, 1080, 1, SRC_CURT_R)
|
|
end
|
|
|
|
-- 2. glow along the bottom: the cabinet's own black-backed atlas piece, added onto the backdrop
|
|
local ga = lerp(f, 35, 55, 0, 0.3008) - lerp(f, 60, 69, 0, 0.3008)
|
|
if ga > 0.002 then
|
|
put(self.atlas_b, ORIGIN, 0, 568, 1920, 512, ga, SRC_GLOW, "additive")
|
|
end
|
|
|
|
-- 3. the eleven sparkles — fixed placements, one group alpha
|
|
local sa = lerp(f, 45, 55, 0, 1) - lerp(f, 60, 69, 0, 1)
|
|
if sa > 0.002 then
|
|
for i = 1, #STARS do
|
|
local s = STARS[i]
|
|
local d = 128 * s[3]
|
|
put(self.atlas_b, ORIGIN, s[1] - d * 0.5, s[2] - d * 0.5, d, d, sa, SRC_STAR)
|
|
end
|
|
end
|
|
|
|
-- 4. don / katsu on their arc
|
|
local cx, cy, ca = chara_pose(f)
|
|
if ca > 0.002 and not self.wash then
|
|
put(self.chara_l, REST_CHARA_L, cx - 280, cy - 280, 560, 560, ca)
|
|
put(self.chara_r, REST_CHARA_R, 1920 - cx - 280, cy - 280, 560, 560, ca)
|
|
end
|
|
|
|
-- 5. the title band (opens/closes on the engine's title fade)
|
|
local info = self.info
|
|
if info > 0.002 then
|
|
local bw, bh
|
|
if self.is_second then
|
|
bw = 1600 * (1.5 - 0.5 * info)
|
|
bh = 256 * (0.1 + 0.9 * info)
|
|
else
|
|
bw = 1600 * (0.25 + 0.75 * info)
|
|
bh = 256
|
|
end
|
|
put(self.atlas_b, ORIGIN, 960 - bw * 0.5, 400 - bh * 0.5, bw, bh, info, SRC_BAND)
|
|
-- 6. the hint block on the same curve (or the wash-your-hands card, loading_song 'washhands' at 960,810)
|
|
if self.wash then
|
|
local wt = tex.get_texture("global/loading_hint/washhands")
|
|
local wi = tex.get_texture_info("loading_hint", "washhands") or tex.get_texture_info("global/loading_hint", "washhands")
|
|
if wt and wi then
|
|
put(wt, ORIGIN, 289, 559, wi.width, wi.height, info)
|
|
if text and text.create_raw_text then
|
|
self.wash_text = self.wash_text or text.create_raw_text(tex.skin_text("wash_hands_text") or "", 40,
|
|
{ 59, 170, 214, 255 }, { 255, 255, 255, 255 }, false, 5, 1.0)
|
|
local t = self.wash_text
|
|
if t then t:draw({ x = math.floor(960 - t.width / 2), y = math.floor(640 - t.height / 2), fade = info }) end
|
|
end
|
|
end
|
|
elseif self.hint_title then
|
|
-- rows, all centred on x = 960
|
|
local function centred(t, y)
|
|
if t then t:draw({ x = math.floor(960 - t.width / 2 + 0.5), y = y, fade = info }) end
|
|
end
|
|
centred(self.hint_title, 568 + 165)
|
|
local step = 44
|
|
local top = 568 + 255 - (#self.hint_rows - 1) * step / 2
|
|
for i, row in ipairs(self.hint_rows) do
|
|
centred(row, math.floor(top + (i - 1) * step - row.height / 2))
|
|
end
|
|
end
|
|
end
|
|
|
|
-- 7. 演奏スキップON badge, top-left, on the same fade
|
|
if self:skip_armed() and self.skip_badge then
|
|
put(self.skip_badge, SKIP_REST, SKIP_BADGE_X, SKIP_BADGE_Y, 624, 104, info)
|
|
if self.skip_text then
|
|
self.skip_text:draw({
|
|
x = SKIP_BADGE_CX - self.skip_text.width / 2,
|
|
y = SKIP_TEXT_CY - self.skip_text.height / 2,
|
|
fade = info,
|
|
})
|
|
end
|
|
end
|
|
end
|