hedgewars/CCHandlers.inc
changeset 4208 dd54999c2822
parent 4099 af612377fcba
child 4210 caa9b08990eb
equal deleted inserted replaced
4207:31e77dcf18fe 4208:dd54999c2822
   141 procedure chScript(var s: shortstring);
   141 procedure chScript(var s: shortstring);
   142 begin
   142 begin
   143 if s[1]='"' then Delete(s, 1, 1);
   143 if s[1]='"' then Delete(s, 1, 1);
   144 if s[byte(s[0])]='"' then Delete(s, byte(s[0]), 1);
   144 if s[byte(s[0])]='"' then Delete(s, byte(s[0]), 1);
   145 ScriptLoad(s)
   145 ScriptLoad(s)
       
   146 end;
       
   147 
       
   148 procedure chTurnTime(var s: shortstring);
       
   149 var temp: Longint;
       
   150 begin
       
   151 val(s, temp);
       
   152 cHedgehogTurnTime:= temp * 1000;
   146 end;
   153 end;
   147 
   154 
   148 procedure chAddHH(var id: shortstring);
   155 procedure chAddHH(var id: shortstring);
   149 var s: shortstring;
   156 var s: shortstring;
   150     Gear: PGear;
   157     Gear: PGear;