nemo [Sun, 11 Mar 2012 20:36:50 -0400] rev 6771
Teach AI to drown with shotgun too
nemo [Sun, 11 Mar 2012 20:12:31 -0400] rev 6770
Start on adding drowning bonus to bat/firepunch/whip. AI still is not smart enough to change direction when firepunching to face the water, or change the angle of the bat.
Also try to weight cost of switches based on how many switches were available.
nemo [Sun, 11 Mar 2012 18:28:32 -0400] rev 6769
Add drowning to grenade too, try some little optimisations
unc0rr [Sun, 11 Mar 2012 23:31:32 +0400] rev 6768
Fix silliness
nemo [Sun, 11 Mar 2012 14:43:36 -0400] rev 6767
First pass at making AI drowning aware. No concerns of performance, only applied to bazooka (not bat/fp etc)
nemo [Sun, 11 Mar 2012 12:19:04 -0400] rev 6766
Minor optimisation for AI to cut down on hwSqrt calls
nemo [Sun, 11 Mar 2012 11:39:45 -0400] rev 6765
nemo [Sat, 10 Mar 2012 23:00:39 -0500] rev 6764
Add div to allow safe integer division from lua
nemo [Sat, 10 Mar 2012 16:32:46 -0500] rev 6763
Recount team health if modifying hedgehog health
nemo [Sat, 10 Mar 2012 16:10:38 -0500] rev 6762
Set default empty ammo sets. Current mission handling appears to not pass any default ammo set, so script was never getting a chance to set its own.
nemo [Sat, 10 Mar 2012 15:56:36 -0500] rev 6761
Avoid rare double decrement.
nemo [Sat, 10 Mar 2012 14:38:31 -0500] rev 6760
Prevent pirate ship from repeating on Islands, remove vertical line in art landback
nemo [Sat, 03 Mar 2012 22:40:00 -0500] rev 6759
unc0rr [Thu, 01 Mar 2012 23:55:19 +0400] rev 6758
Oh, should also check for game finish when player quits without ROUNDFINISHED message: small refactoring, not tested at all
nemo [Thu, 01 Mar 2012 14:45:42 -0500] rev 6757
comment out reserve to maintain old Qt compat
unc0rr [Thu, 01 Mar 2012 23:35:13 +0400] rev 6756
Also consider game finished when the last player reports ROUNDFINISHED despite the correctness parameter.
nemo [Wed, 29 Feb 2012 18:30:37 -0500] rev 6755
Someone might find this useful. Plan to link to it from the wiki.
nemo [Wed, 29 Feb 2012 18:24:56 -0500] rev 6754
Fix for
bug #366, delete gear if hog is drowning (needed either that or a check on nil Gear^.Hedgehog^.Gear)
unc0rr [Wed, 29 Feb 2012 23:44:49 +0400] rev 6753
Don't remove client's teams from teams list on "ROUNDFINISHED 0", just send team removal message to others.
This should fix problems with ghost teams in frontend.
Not tested at all, successfully built on first attempt, which is considered as a bad sign :D
Server still thinks game proceeds, so restart isn't possible.
nemo [Tue, 28 Feb 2012 21:25:36 -0500] rev 6752
oops
Xeli [Tue, 28 Feb 2012 22:00:33 +0100] rev 6751
android: fix finding cache dir on prefroyo devices, it now creates the Hedgewars folder if it wasn't there
nemo [Tue, 28 Feb 2012 09:40:48 -0500] rev 6750
attractiveness tweak to the text clip
nemo [Mon, 27 Feb 2012 19:01:44 -0500] rev 6749
Clamp name/team name textures to avoid long team / hog name abuse. Limit width in px instead of chars to avoid unicode issues.
nemo [Sun, 26 Feb 2012 18:13:26 -0500] rev 6748
don't use currenthedgehog
mikade [Sun, 26 Feb 2012 16:31:25 -0500] rev 6747
use per hog ammo game flag. improves AI play
nemo [Sun, 26 Feb 2012 15:42:28 -0500] rev 6746
oops
nemo [Sun, 26 Feb 2012 13:37:17 -0500] rev 6745
right-click colour selection to scroll backwards through colours (bit hackish, subclassing + right click handling would be better than custom menu item signal)
nemo [Sun, 26 Feb 2012 12:56:53 -0500] rev 6744
ugh
nemo [Sun, 26 Feb 2012 12:45:00 -0500] rev 6743
make onAmmoStoreInit optional in the case of onNewAmmoStore
nemo [Sun, 26 Feb 2012 12:32:48 -0500] rev 6742
pass indexes for the clan/team/hedgehog