hedgewars/uAIMisc.pas
changeset 8793 43e106417a05
parent 8751 4609823efc94
child 8810 b885b995aa95
equal deleted inserted replaced
8789:caba5291face 8793:43e106417a05
    62 function  RatePlace(Gear: PGear): LongInt;
    62 function  RatePlace(Gear: PGear): LongInt;
    63 function  TestColl(x, y, r: LongInt): boolean; inline;
    63 function  TestColl(x, y, r: LongInt): boolean; inline;
    64 function  TestCollExcludingObjects(x, y, r: LongInt): boolean; inline;
    64 function  TestCollExcludingObjects(x, y, r: LongInt): boolean; inline;
    65 function  TestCollExcludingMe(Me: PGear; x, y, r: LongInt): boolean; inline;
    65 function  TestCollExcludingMe(Me: PGear; x, y, r: LongInt): boolean; inline;
    66 function  TraceShoveFall(x, y, dX, dY: Real): LongInt;
    66 function  TraceShoveFall(x, y, dX, dY: Real): LongInt;
       
    67 function TestCollWithLand(x, y, r: LongInt): boolean; inline;
    67 
    68 
    68 function  RateExplosion(Me: PGear; x, y, r: LongInt): LongInt; inline;
    69 function  RateExplosion(Me: PGear; x, y, r: LongInt): LongInt; inline;
    69 function  RateExplosion(Me: PGear; x, y, r: LongInt; Flags: LongWord): LongInt;
    70 function  RateExplosion(Me: PGear; x, y, r: LongInt; Flags: LongWord): LongInt;
    70 function  RateShove(x, y, r, power, kick: LongInt; gdX, gdY: real; Flags: LongWord): LongInt;
    71 function  RateShove(x, y, r, power, kick: LongInt; gdX, gdY: real; Flags: LongWord): LongInt;
    71 function  RateShotgun(Me: PGear; gdX, gdY: real; x, y: LongInt): LongInt;
    72 function  RateShotgun(Me: PGear; gdX, gdY: real; x, y: LongInt): LongInt;