lines
Definition
-- @/=[C]:-1
function lines(...)
Callers
@/lua/ge/extensions/editor/drivePathEditor.lua
local minNumLaps, maxNumLaps = 1, 10 -- The min/max allowable number of laps for a drive path spline, when looping is used.
local elevScale = 17.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/ge/extensions/editor/gen/network.lua
local lines = {}
for line in io.lines(fname) do
lines[#lines + 1] = line
@/lua/ge/extensions/gameplay/rally/util/jsonlUtils.lua
-- Simple JSONL file reader using io.lines (for backward compatibility)
-- Calls callback(obj) for each line
for line in io.lines(fname) do
local obj = jsonDecode(line)
@/lua/ge/extensions/editor/assemblySpline.lua
local defaultSplineWidth = 10.0 -- The default width for a spline when adding a new node, in meters.
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/inspector/External/CodeMirror/codemirror.js
// A lineView may contain multiple logical lines (when merged by
// collapsed spans). The widgets for all of them need to be drawn.
@/lua/ge/extensions/editor/assetBrowser.lua
file.inspectorData.data = {}
for line in io.lines(file.path) do
file.inspectorData.data[#file.inspectorData.data+1] = jsonDecode(line)
@/lua/ge/extensions/editor/roadSpline.lua
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/common/libs/luasec/options.lua
local f = assert(io.open(file, "r"))
for line in f:lines() do
local op = string.match(line, "define%s+(SSL_OP_%S+)")
@/lua/ge/extensions/editor/gen/exp_meshexplorer.lua
local aline = {}
for line in io.lines(beamdata.cpart.file) do
aline[#aline+1] = line
local aline = {}
for line in io.lines(beamdata.cpart.file) do
aline[#aline+1] = line
@/lua/vehicle/powertrain/combustionEngine.lua
--push our summed fuels into the delay lines (shift fuel does not have any delay and therefore does not need a line)
if device.shiftAfterFireFuel <= 0 then
@/lua/ge/extensions/editor/decalSpline.lua
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/common/extensions/ui/improfiler.lua
end
for line in fp:lines() do
if line:byte() == 27 then
@/lua/ge/extensions/editor/resourceChecker.lua
if f then
for line in f:lines() do
addText = addText..line..'\n'
@/lua/ge/extensions/editor/gen/world.lua
daePath[cls] = {}
local fl = io.open(path..'/list'):lines() --:read('*all')
local line = fl()
@/lua/ge/extensions/editor/tech/sensorConfiguration/utilities.lua
local beamColour = ColorF(0.5, 0.5, 0.5, 0.1) -- The colour of the sensor beam (ultrasonic, RADAR).
local sensorLineThickness = 7 -- The thickness of the sensor box lines (visualisation).
local frameLineThickness = 7 -- The thickness of the frame lines, when drawing sensor poses.
@/lua/ge/extensions/editor/meshSpline.lua
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/vehicle/extensions/profiling/p.lua
end
for line in fp:lines() do
if line:byte() == 27 then
@/lua/ge/extensions/core/vehicles.lua
if f then
for line in f:lines() do
local key, value = line:match("^%%(%w+)%s-=%s-\"(.+)\";")
@/lua/ge/extensions/editor/masterSpline.lua
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/ge/extensions/ui/apps/minimap/utils.lua
-- Draw vertical lines (X-axis aligned)
for x = startX, endX, gridSpacing do
-- Draw horizontal lines (Y-axis aligned)
for y = startY, endY, gridSpacing do
@/lua/common/utils.lua
if not f then return nil end
for line in f:lines() do
if string.len(line) > 0 then
@/lua/ge/extensions/core/audioRibbon.lua
for line in file:lines() do
local ribbon = {}
@/lua/ge/extensions/editor/tech/roadArchitect/utilities.lua
-- Finds the intersection between two lines (p1 -> p2), (p3 -> p4).
local function intersection2Lines(p1, p2, p3, p4)
@/lua/ge/extensions/editor/resourceChecker/resourceUtil.lua
local titleS
for line in f:lines() do
local title = line:match('%b()')
if f then
for line in f:lines() do
job.yield()
local f = io.open(fn, "r")
for line in f:lines() do
job.yield()
if f then
for line in f:lines() do
job.yield()
local f = io.open(fn, "r")
for line in f:lines() do
job.yield()
local f = io.open(fn, "r")
for line in f:lines() do
job.yield()
if f then
for line in f:lines() do
job.yield()
local f = io.open(fn, "r")
for line in f:lines() do
job.yield()
if f then
for line in f:lines() do
local data = json.decode(line)
@/lua/common/jit/p.lua
end
for line in fp:lines() do
if line:byte() == 27 then
@/lua/ge/extensions/editor/sidewalkSpline.lua
local defaultSplineWidth = 5.0 -- The default width for a spline when adding a new node, in meters.
local elevScale = 100.0 -- The scale factor for the elevation drop lines (used for blue->red colour transition).
@/lua/ge/extensions/editor/buildingEditor.lua
local lines = {}
for line in io.lines(fname) do
lines[#lines + 1] = line
@/lua/ge/extensions/editor/toolUtilities/style.lua
colourPreviewWire = color(255, 180, 180, 255), -- The colour of the preview wire frame lines.
colourRibLine = color(80, 130, 200, 255), -- The colour of the rib lines (the line segment between the two rib handles).
colourBarLine = color(200, 130, 80, 255), -- The colour of the bar lines (the line segment between the bar and the ground).
colourRibLine = color(80, 130, 200, 255), -- The colour of the rib lines (the line segment between the two rib handles).
colourBarLine = color(200, 130, 80, 255), -- The colour of the bar lines (the line segment between the bar and the ground).
colourGround = color(0, 30, 70, 255), -- The colour of the ground line when selected (for 3D splines).
wireGlowThickness = 14,
ribThickness = 4, -- The thickness of the rib lines (slightly thinner so glow reads around it).
barThickness = 4, -- The thickness of the bar lines.