nemo [Sat, 17 Mar 2012 14:02:11 -0400] rev 6788
I think this is a little more efficient than dxdy, and easier to read. We call DxDy2 a lot, can any of those use Angle/DirAngle?
nemo [Sat, 17 Mar 2012 13:16:50 -0400] rev 6787
orient kamikaze correctly when going through portals
nemo [Wed, 14 Mar 2012 23:58:56 -0400] rev 6786
oh yeah, dY...
nemo [Wed, 14 Mar 2012 21:12:04 -0400] rev 6785
Allow RC plane to go through portals
unc0rr [Wed, 14 Mar 2012 11:07:22 +0400] rev 6784
Oops, fix range (2 is too small value)
nemo [Tue, 13 Mar 2012 22:25:43 -0400] rev 6783
Add fall damage
nemo [Tue, 13 Mar 2012 21:51:50 -0400] rev 6782
For reasons I can't fathom, if this portion isn't commented out, the AI completely fails w/ a weaponset of only firepunch.
Something is seriously screwed up in RateShove, but after reading it many times, I still don't see it.
unc0rr [Tue, 13 Mar 2012 22:46:55 +0400] rev 6781
Variable pen width
nemo [Tue, 13 Mar 2012 12:22:56 -0400] rev 6780
tweak take 2
nemo [Tue, 13 Mar 2012 12:10:48 -0400] rev 6779
Small tweak to return something more useful in the negative 0 case on dX
nemo [Tue, 13 Mar 2012 00:05:03 -0400] rev 6778
Minimise another sqrt check.
unc0rr [Mon, 12 Mar 2012 23:46:28 +0400] rev 6777
Avoid local rate minimums around hog (within 15 pixels). Not tested.
unc0rr [Mon, 12 Mar 2012 16:08:40 +0400] rev 6776
Compatibility
nemo [Mon, 12 Mar 2012 01:00:17 -0400] rev 6775
Change rest of AI tests to floats, reenable snowball
nemo [Sun, 11 Mar 2012 23:24:09 -0400] rev 6774
Try adding it to deagle too. Although the routine still doesn't consider angle, so it'll pretty much be luck. Might be a waste of time.
Also fix some neglected scores from before.
nemo [Sun, 11 Mar 2012 22:44:57 -0400] rev 6773
Hm. Score was a bit too much, AI was doing suicidal things.
nemo [Sun, 11 Mar 2012 22:35:55 -0400] rev 6772
small tweak. make drowning prefer higher health hogs
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
nemo [Sun, 26 Feb 2012 11:28:28 -0500] rev 6741
copypasta fail
nemo [Sun, 26 Feb 2012 11:21:32 -0500] rev 6740
Add a new script hook. onNewAmmoStore. This will allow scripts like The Specialists to define separate ammo sets for each hog
unc0rr [Sun, 26 Feb 2012 12:15:32 +0400] rev 6739
Send ROUND_FINISHED only once (only from in game mode)
unc0rr [Sat, 25 Feb 2012 22:18:08 +0400] rev 6738
Remove client's teams only when game is running and exit status is 'incorrect exit'. Frontend still sends excessive ROUND_FINISHED, so the bug is not fixed completely.
unc0rr [Fri, 24 Feb 2012 23:49:31 +0400] rev 6737
- Increase server version number due to rooms list protocol changes
- Frontend doesn't allow to play on old server
unc0rr [Thu, 23 Feb 2012 23:13:48 +0400] rev 6736
Bring back functionality to "Join" button
unc0rr [Thu, 23 Feb 2012 22:58:52 +0400] rev 6735
Setup rooms list headers
nemo [Thu, 23 Feb 2012 12:58:17 -0500] rev 6734
Revert most of 033e4a8a9c74 and 9d501dc22f71 (see
bug #362)
unc0rr [Thu, 23 Feb 2012 18:41:52 +0400] rev 6733
Handle ROOM* commands in rooms list model