hedgewars/uCollisions.pas
Fri, 23 Nov 2018 15:54:23 -0500 nemo overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.
Sat, 27 Oct 2018 07:20:07 +0300 alfadur make firepunch hit moving gears (airmines are not amused)
Tue, 10 Jul 2018 18:35:31 +0200 Wuzzy Refactor collision mask checks, remove hardcoded numbers
Tue, 10 Jul 2018 18:00:04 +0200 Wuzzy Refactor: lfCurrentHog→lfCurHogCrate, lfNotCurrentMask→lfNotCurHogCrate
Mon, 12 Mar 2018 00:59:47 +0100 alfadur Fix minigun bullets sometimes failing to hit when shooting same thing twice in row
Wed, 31 Jan 2018 13:42:52 -0500 alfadur Machinegun. also tweaked ignore
Thu, 03 Mar 2016 16:36:05 -0500 nemo Break up the hog/object collision. Currently is $7F, allowing 128 overlapping objects accurately. Breaking it up into 15 for hogs, 7 for other objects. I'm thinking the overall accuracy should be just fine as far as people noticing even with a ton of overlapping hogs, and this way we can tell the difference between a hog and "something else". For experiment and rope-breaking purposes, make rope pass through hogs.
Sun, 31 Jan 2016 16:07:14 +0300 unc0rr Bye-bye TryDo
Thu, 10 Sep 2015 04:59:02 +0200 sheepluva small code cleanup
Mon, 10 Aug 2015 03:53:11 +0200 sheepluva more copyright fixes
Sat, 14 Feb 2015 17:34:12 -0500 nemo Add placement of airmines in engine outside of hog proximity. Has a bug, only protecting 1st team. Also fix a spelling error and rename gstHHChooseTarget to gstChooseTarget
Mon, 08 Dec 2014 10:14:47 -0500 nemo nil out CurrentHedgehog in FreeModule, add a test for nil'd CurrentHedgehog in DelCI since I'd still like to use DeleteGear for the other stuff it does. Move some variable initialiasations in AI Misc to hopefully avoid some uninit val errors.
Tue, 25 Nov 2014 16:46:44 -0500 nemo Skip checkin on collision for frequently spammed gear types if collision gets huge instead of trying to delete mines.
Fri, 14 Nov 2014 17:00:47 +0300 unC0Rr Fix warnings given by 32-bit fpc
Sat, 05 Jul 2014 20:15:56 +0200 sheepluva WIP: weSea tweaks, functional and visual
Tue, 04 Feb 2014 19:45:22 +0100 sheepluva update FSF address. note: two sdl include files (by Sam Lantinga) still have the old FSF address in their copyright - but I ain't gonna touch their copyright headers
Tue, 21 Jan 2014 22:38:13 +0100 koda partial merge of the webgl branch
Fri, 17 Jan 2014 01:06:54 +0100 sheepluva update copyright to 2014
Sat, 04 Jan 2014 23:55:54 +0400 unc0rr merge default webgl
Mon, 02 Dec 2013 17:13:22 +0100 sheepluva fix for: uCollisions.pas(63,50) Hint: Unit "uGearsList" not used in uCollisions
Sat, 30 Nov 2013 22:34:39 -0500 nemo Make sticky mine respect lfBouncy, make hogs do same, kinda... make uCollisions return land w/ mask, restrict bouncy to advbounce gears only, which means piano doesn't bounce anymore
Fri, 22 Nov 2013 15:23:28 -0500 nemo gear deletion called inappropriately.
Tue, 19 Nov 2013 22:15:40 -0500 nemo return land word from uCollisions to make decisions based on it. Should be handy for trampoline.
Fri, 11 Oct 2013 17:43:13 +0200 koda merge with latest defaul, fixing compiling with fpc, parsing and rendering with pas2c, some minor problems with compiling with clang webgl
Sun, 30 Jun 2013 21:37:29 -0400 nemo bug #668 + reorder conditions for kick slightly, to call the math last
Thu, 27 Jun 2013 14:01:43 -0400 nemo Make add/delete consistent (this has bugged me for so long)
Tue, 18 Jun 2013 18:39:12 +0200 koda BOM, pas2c only support ASCII webgl
Sun, 23 Jun 2013 13:35:26 -0400 nemo poor AI thought he should avoid stepping on frozen crates, and jump for non-frozen ones
Wed, 29 May 2013 15:12:06 -0400 unc0rr bump copyright year for Andrey entries
Tue, 21 May 2013 22:56:31 -0400 nemo Make frozen crates uncollectable, add some tinting to frozen items. Suggestions needed for what should happen to explosives
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
Thu, 18 Oct 2012 14:04:24 -0400 nemo damn nots
Mon, 15 Oct 2012 10:10:54 -0400 nemo Try to prevent a situation where hogs embedded in other hogs/barrels/cleavers get stuck, by checking for gears overlapping on Y
Sun, 14 Oct 2012 13:35:15 -0400 nemo First pass at cleaver.
Sat, 04 Aug 2012 22:26:51 -0400 nemo Also flag cases. Side effect might be some odd collision in rare cases w/ portals. Also, might cause unexpected collisions w/ cases in TestColl - although we could add a proximity check to the flag there, or simply switch to TestCollExcludingMe again. uCollisions seems mismatched w/ AI TestColl anyway. Possibly r+1+r vs r+r for gear diametre.
Tue, 26 Jun 2012 20:05:24 -0400 nemo Extend TARDIS away time a bit (minimum, range) to make it a bit more useful. Remove a couple of unused variables.
Sat, 23 Jun 2012 22:39:00 -0400 nemo Second part of the change. Make collision check use the new mask bit.
Sat, 23 Jun 2012 21:37:47 -0400 nemo Step 1. Add current hedgehog as top bit of bottom byte.
Sat, 23 Jun 2012 22:44:11 +0400 unc0rr - Fix cake bug introduced in r2ccfc93c6b5e
Wed, 02 May 2012 11:43:43 +0100 koda marked a couple of functions as inline
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)
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.
Sat, 31 Dec 2011 01:52:14 +0300 unc0rr Fix build
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Fri, 04 Nov 2011 21:44:57 +0100 sheepluva I hope this helps...
Tue, 11 Oct 2011 01:07:37 +0200 sheepluva something for nemo to play around with
Tue, 11 Oct 2011 00:06:46 +0200 sheepluva make slope calcs skip small gaps
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.
Fri, 16 Sep 2011 00:18:21 +0200 sheepluva TestRectForObstacle: areas outside map borders are not passable
Wed, 14 Sep 2011 17:17:50 +0200 sheepluva lua: boolean TestRectForObstacle(x1, y1, x2, y2, landOnly)
Sat, 10 Sep 2011 03:27:47 +0200 sheepluva rollin' back my silly hack ( rea4d1fe665d7 )
Fri, 09 Sep 2011 20:17:50 +0200 sheepluva move hedgehogs out of walls
Sat, 03 Sep 2011 18:04:19 -0400 nemo Reenable a bunch of old portal play stuff, like dropping grenade into portal on hog, jumping through portal w/ hog on other end, collecting crate w/ portal etc. Also add cooldown to cake/portal interaction. It may still not do what you expect, but it probably shouldn't spin in place.
Mon, 15 Aug 2011 20:18:18 +0400 unc0rr Why so suspicious?
Sun, 14 Aug 2011 23:52:45 -0400 nemo suggestion of mikade's - delete old mines if the collision array shows signs of filling up. This is kind of an edge case, esp now that array is up to 1024, but should prevent (easiest) way to crash by collision array overflow (endless mines/minestrikes).
Sun, 14 Aug 2011 23:06:00 -0400 nemo bump up max collision to 1024 entries
Wed, 22 Jun 2011 18:55:58 -0400 nemo This can afford to be a bit larger. Does not impact performance.
less more (0) -100 -60 tip