share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 20 Jan 2014 10:40:59 +0100
changeset 10025 ec966363adbe
parent 9985 42cd42e44c9a
permissions -rw-r--r--
new cmake option NOVERSIONINFOUPDATE -- to be used if source is in a git/repo that is NOT the hedgewars repo

-- 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