hedgewars/uAIMisc.pas
Wed, 25 Jul 2012 10:56:14 -0400 nemo Changes for the benefit of pas2c. Use downto in for loops to avoid repeated calls of Random/GetRandom. Wrap nots.
Fri, 13 Jul 2012 01:07:53 +0400 unc0rr Don't consider moving hedgehogs in place rating in after attack mode
Thu, 12 Jul 2012 06:19:32 -0400 nemo Reduce number of walk bonuses further, doubt even 128 are needed. Fix count reset.
Wed, 11 Jul 2012 22:18:43 -0400 nemo Tell AI to avoid edges, especially ones over water (this does not include checking whether a knock could drown yet). Also make flakes pick a new random dx/dy on respawn to further reduce patterns. Also disable a couple of weapons for the particularly dumb AI levels, and disable switching for the dumbest.
Sun, 08 Jul 2012 10:35:40 -0400 nemo Intended to help on bottom border maps or "red" maps - don't assume erasure if there is indestructible land below the hog
Mon, 25 Jun 2012 10:16:19 +0400 unc0rr oops
Sun, 24 Jun 2012 22:37:44 +0400 unc0rr Fix completely broken RateHammer
Sat, 23 Jun 2012 23:04:06 -0400 nemo Try to use TestCollExcludingMe a bit less - the flag bit is a bit (heh) more accurate.
Sat, 09 Jun 2012 16:51:56 -0400 nemo Remove debug pixel draws, skip tracing on own shoved hogs. Should speed things up allowing more evaluations of stuff.
Sat, 09 Jun 2012 21:31:26 +0400 unc0rr - Adjust some consts so whip and firepunch work perfectly
Sat, 09 Jun 2012 10:28:45 -0400 nemo Ignore all objects for fall tracing with shove to avoid considering checkins as obstacles. many objects will get knocked by the kick anyway, so end result should be pretty good. Oh, and ditch the sniper rifle doubling.
Fri, 01 Jun 2012 12:42:44 +0400 unc0rr Some brainfucking code which greatly reduces number of TestCollision* calls in hedgehog walk routine. Especially helpful to AI optimization. Also fixes some edge cases.
Thu, 31 May 2012 12:52:31 -0400 nemo Name the flags for fall tracking and indicating whether the explosion erases terrain.
Thu, 31 May 2012 18:02:30 +0400 unc0rr Improve TestWhip
Thu, 10 May 2012 22:55:13 +0400 unc0rr More definitions and mess with pascal code
Wed, 02 May 2012 10:53:13 +0100 koda change every return value into a more pascal-ish form, using the name of the fucntion (helps the parser and macpas compaitilibity)
Wed, 02 May 2012 08:07:17 +0100 koda add support for default pascal mode by removing default arguments value (maybe this also helps the parser)
Sat, 28 Apr 2012 18:56:31 +0200 sheepluva license header year range adjustments
Sat, 14 Apr 2012 23:19:45 +0400 unc0rr Get rid of TGearsType to simplify pas2c
Wed, 14 Mar 2012 21:12:04 -0400 nemo Allow RC plane to go through portals
Tue, 13 Mar 2012 22:25:43 -0400 nemo Add fall damage
Tue, 13 Mar 2012 21:51:50 -0400 nemo For reasons I can't fathom, if this portion isn't commented out, the AI completely fails w/ a weaponset of only firepunch.
Tue, 13 Mar 2012 00:05:03 -0400 nemo Minimise another sqrt check.
Mon, 12 Mar 2012 23:46:28 +0400 unc0rr Avoid local rate minimums around hog (within 15 pixels). Not tested.
Mon, 12 Mar 2012 16:08:40 +0400 unc0rr Compatibility
Mon, 12 Mar 2012 01:00:17 -0400 nemo Change rest of AI tests to floats, reenable snowball
Sun, 11 Mar 2012 23:24:09 -0400 nemo 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.
Sun, 11 Mar 2012 22:44:57 -0400 nemo Hm. Score was a bit too much, AI was doing suicidal things.
Sun, 11 Mar 2012 22:35:55 -0400 nemo small tweak. make drowning prefer higher health hogs
Sun, 11 Mar 2012 20:36:50 -0400 nemo Teach AI to drown with shotgun too
less more (0) -100 -50 -30 tip