For information, looks like it has changed since the last revision (452, thanks Cvet)
Update script compiler (ASCompiler).
When using "-run" now in addition to the function
void Log (string & text)
will work with the following functions
int Random(int min, int max)
bool StrToInt(string@+ text, int& result)
bool StrToFloat(string@+ text, float& result)
uint GetDistantion(uint16 hexX1, uint16 hexY1, uint16 hexX2, uint16 hexY2)
uint8 GetDirection(uint16 fromHexX, uint16 fromHexY, uint16 toHexX, uint16 toHexY)
uint8 GetOffsetDir(uint16 fromHexX, uint16 fromHexY, uint16 toHexX, uint16 toHexY, float offset)
uint GetTick()
uint GetAngelScriptProperty(int property)
void SetAngelScriptProperty(int property, uint value)
uint GetStrHash(string@+ str)
uint DecodeUTF8(const string& text, uint& length)
string@ EncodeUTF8(uint ucs)