share/hedgewars/Data/Scripts/Params.lua
author nemo
Tue, 21 Jun 2016 18:02:46 -0400
changeset 11841 1d41f297b3d3
parent 9985 42cd42e44c9a
permissions -rw-r--r--
bit of a start on HDPI monitor support. Fonts.

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