share/hedgewars/Data/Scripts/Params.lua
author Vittorio Giovara <vittorio.giovara@gmail.com>
Tue, 10 Nov 2015 13:53:14 +0100
changeset 11350 846aa36f7cdc
parent 9985 42cd42e44c9a
permissions -rw-r--r--
videorec: Always initialize audio and video time bases In both context and stream.

-- Library for parameters handling

params = {}

function parseParams()
    if ScriptParam ~= nil then
        for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
            params[k] = v
        end
    end
end