hedgewars/uMisc.pas
changeset 802 ed5450a89b96
parent 788 00720357601f
child 836 150c7c87e66c
equal deleted inserted replaced
801:0323e5c7ee54 802:ed5450a89b96
    93     RealTicks: Longword = 0;
    93     RealTicks: Longword = 0;
    94     
    94     
    95     AttackBar: LongInt = 0; // 0 - none, 1 - just bar at the right-down corner, 2 - like in WWP
    95     AttackBar: LongInt = 0; // 0 - none, 1 - just bar at the right-down corner, 2 - like in WWP
    96 
    96 
    97 function hwSign(r: hwFloat): LongInt;
    97 function hwSign(r: hwFloat): LongInt;
    98 function Min(a, b: LongInt): LongInt; 
    98 function Min(a, b: LongInt): LongInt;
    99 function Max(a, b: LongInt): LongInt;
    99 function Max(a, b: LongInt): LongInt;
   100 function rndSign(num: hwFloat): hwFloat;
   100 function rndSign(num: hwFloat): hwFloat;
   101 procedure OutError(Msg: String; isFatalError: boolean);
   101 procedure OutError(Msg: String; isFatalError: boolean);
   102 procedure TryDo(Assert: boolean; Msg: string; isFatal: boolean);
   102 procedure TryDo(Assert: boolean; Msg: string; isFatal: boolean);
   103 procedure SDLTry(Assert: boolean; isFatal: boolean);
   103 procedure SDLTry(Assert: boolean; isFatal: boolean);