hedgewars/uAIMisc.pas
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
Sun, 11 Mar 2012 20:12:31 -0400 nemo 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.
Sun, 11 Mar 2012 18:28:32 -0400 nemo Add drowning to grenade too, try some little optimisations
Sun, 11 Mar 2012 23:31:32 +0400 unc0rr Fix silliness
less more (0) -100 -50 -30 tip