--- a/hedgewars/uVisualGears.pas Wed Jun 29 18:09:24 2011 +0200
+++ b/hedgewars/uVisualGears.pas Fri Jul 01 08:46:47 2011 +0200
@@ -108,7 +108,8 @@
@doStepNote,
@doStepLineTrail,
@doStepBulletHit,
- @doStepCircle
+ @doStepCircle,
+ @doStepSmoothWindBar
);
function AddVisualGear(X, Y: LongInt; Kind: TVisualGearType; State: LongWord = 0; Critical: Boolean = false): PVisualGear;
@@ -134,7 +135,8 @@
vgtExplosion,
vgtSmokeTrace,
vgtEvilTrace,
- vgtNote]) then
+ vgtNote,
+ vgtSmoothWindBar]) then
begin
AddVisualGear:= nil;
exit
@@ -327,6 +329,7 @@
Frame:= 7;
Angle := 0;
end;
+vgtSmoothWindBar: Tag:= hwRound(cWindSpeed * 72 / cMaxWindSpeed);
end;
if State <> 0 then gear^.State:= State;