hedgewars/uAIMisc.pas
Mon, 18 Mar 2013 12:13:46 -0400 nemo More flagging of Land values. Also use less than for tests of non-terrain, instead of "and $FF00 = 0". Saves a couple of ops, which actually matters a small amount in a few places.
Sun, 17 Mar 2013 14:09:54 -0400 nemo Add some flags for a few of the magic Land values
Sun, 11 Nov 2012 17:15:19 +0100 koda merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions) webgl
Thu, 08 Nov 2012 17:18:49 +0400 unc0rr Various tweaks to recent AI change
Wed, 07 Nov 2012 13:23:18 +0400 unc0rr Try to beat AI in Mutant!
Sun, 28 Oct 2012 04:28:39 +0100 koda cleanup in initEverything and freeEverything
Mon, 22 Oct 2012 14:39:49 +0400 unc0rr Track targets better in multiattack mode
Sat, 29 Sep 2012 19:26:18 +0400 unc0rr Move hedgehog's step routine into separate function, use it in both hedgehog and ai code
Fri, 28 Sep 2012 00:51:04 +0400 unc0rr Fix some hints
Sun, 02 Sep 2012 11:44:59 -0400 nemo perf tweak
Fri, 03 Aug 2012 16:58:49 +0400 unc0rr TestKamikaze, needs polishing
Wed, 25 Jul 2012 22:46:03 +0400 unc0rr merge
Wed, 25 Jul 2012 16:31:34 +0400 unc0rr Commit commented out code which I used to debug AI walking
Wed, 25 Jul 2012 16:24:30 +0400 unc0rr - Implement AI land marks which only used to tracks visited areas on the map for now. Significantly reduces wasting of cpu time by AI checking same place several times (10x or even more in rare cases)
Wed, 25 Jul 2012 22:36:39 +0400 unc0rr Bonus for dealing more damage than needed to kill. Should help with cake leaving 1hp issue. Not tested.
Wed, 25 Jul 2012 12:29:53 +0400 unc0rr Some tiny improvements to AI walking algorythm
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
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
Sun, 11 Mar 2012 14:43:36 -0400 nemo First pass at making AI drowning aware. No concerns of performance, only applied to bazooka (not bat/fp etc)
Sun, 11 Mar 2012 12:19:04 -0400 nemo Minor optimisation for AI to cut down on hwSqrt calls
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Tue, 17 Jan 2012 09:01:31 -0500 lovelacer A partial reformatting of the pascal code to have consistent syntax. Things that are still inconsistent.
Thu, 01 Dec 2011 18:02:27 +0400 unc0rr - Improve renderer a bit, disallow nested functions
Fri, 18 Nov 2011 12:47:40 -0500 nemo Only make AI avoid damaged dead mines and dangerously smoking barrels once the attack is finished.
Sun, 13 Nov 2011 10:34:35 -0500 nemo Make AI avoid barrels the more they are damaged
Sun, 02 Oct 2011 10:36:43 -0400 nemo Basic test implementation of an ice flag. Allows for slick parts of terrain. Intended for ice gun, or "ice" mask on portions of land objects.
Sat, 24 Sep 2011 22:16:49 +0400 unC0Rr Fix a bunch of warnings (also improves speed a bit in 32 bit code)
Mon, 12 Sep 2011 16:38:54 -0400 nemo fix for issue #139
Mon, 22 Aug 2011 17:44:30 +0400 unc0rr Implement TestHammer which makes sense
less more (0) -100 -60 tip