Minor tweak, try to make long flavour text last longer, move the hurt self messages to unused messages group, so they don't get wiped by crate an instant later.
--- a/hedgewars/uStats.pas Sun Jan 24 16:39:09 2010 +0000
+++ b/hedgewars/uStats.pas Sun Jan 24 16:46:06 2010 +0000
@@ -110,7 +110,7 @@
else if CurrentHedgehog^.stats.StepDamageRecv > 0 then
begin
PlaySound(sndStupid, false, PreviousTeam^.voicepack);
- if DamageGiven = CurrentHedgehog^.stats.StepDamageRecv then AddCaption(Format(GetEventString(eidHurtSelf), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
+ if DamageGiven = CurrentHedgehog^.stats.StepDamageRecv then AddCaption(Format(GetEventString(eidHurtSelf), CurrentHedgehog^.Name), cWhiteColor, capgrpMessage);
end
else if DamageClan <> 0 then
if DamageTotal > DamageClan then
@@ -136,7 +136,7 @@
else if isTurnSkipped then
begin
PlaySound(sndBoring, false, PreviousTeam^.voicepack);
- AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), cWhiteColor, capgrpGameState);
+ AddCaption(Format(GetEventString(eidTurnSkipped), CurrentHedgehog^.Name), cWhiteColor, capgrpMessage);
end
else
PlaySound(sndCoward, false, PreviousTeam^.voicepack);
--- a/hedgewars/uWorld.pas Sun Jan 24 16:39:09 2010 +0000
+++ b/hedgewars/uWorld.pas Sun Jan 24 16:46:06 2010 +0000
@@ -649,7 +649,7 @@
case Group of
capgrpGameState: Captions[Group].EndTime:= RealTicks + 2200
else
- Captions[Group].EndTime:= RealTicks + 1570
+ Captions[Group].EndTime:= RealTicks + 1400 + Captions[Group].Tex^.w*3;
end;
end;