hedgewars/PascalExports.pas
changeset 4150 050163c35c83
parent 3989 adffb668f06e
child 4187 adb144a907aa
equal deleted inserted replaced
4149:51200479f9d8 4150:050163c35c83
   192     exit(bShowAmmoMenu);
   192     exit(bShowAmmoMenu);
   193 end;
   193 end;
   194 
   194 
   195 function HW_isAmmoMenuNotAllowed: boolean; cdecl; export;
   195 function HW_isAmmoMenuNotAllowed: boolean; cdecl; export;
   196 begin;
   196 begin;
   197     exit ( (TurnTimeLeft = 0) or (not CurrentTeam^.ExtDriven and (((CurAmmoGear = nil) or ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) = 0)) and hideAmmoMenu)) );
   197     exit ( (TurnTimeLeft = 0) or (not CurrentTeam^.ExtDriven and (((CurAmmoGear = nil) or
       
   198            ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) = 0)) and hideAmmoMenu)) );
   198 end;
   199 end;
   199 
   200 
   200 function HW_isPaused: boolean; cdecl; export;
   201 function HW_isPaused: boolean; cdecl; export;
   201 begin
   202 begin
   202     exit( isPaused );
   203     exit( isPaused );