hedgewars/uGearsUtils.pas
Thu, 29 Nov 2018 01:34:58 +0300 alfadur 😢
Thu, 29 Nov 2018 01:23:14 +0300 alfadur make blowtorch hit moving gears
Sun, 25 Nov 2018 00:23:32 +0100 Wuzzy Clear gstHHJumping and gstHHHJump when hog was hurt by explosion
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.
Tue, 13 Nov 2018 07:45:27 +0300 alfadur stun airmines on explosions as well
Tue, 13 Nov 2018 01:56:42 +0300 alfadur stun airmines on shove
Sat, 10 Nov 2018 21:15:42 +0100 Wuzzy Remove all traces of dead code related to amStructure/gtStructure
Wed, 31 Oct 2018 13:35:53 +0100 Wuzzy Add Ouch taunt for particulary damaging hits (fall, bullet, shove, hammer)
Wed, 31 Oct 2018 13:08:56 +0100 Wuzzy Stop using dsUnknown, replace with concrete damage sources
Sun, 28 Oct 2018 00:24:27 +0200 Wuzzy Only play sndThisOneIsMine if crate drops close to hog
Sat, 27 Oct 2018 15:55:19 +0200 Wuzzy Add 7 new taunts
Sat, 27 Oct 2018 08:12:22 +0300 alfadur and finally make the bat hit moving gears for completeness
Sat, 27 Oct 2018 07:53:27 +0300 alfadur make whip hit moving gears
Sat, 27 Oct 2018 07:39:44 +0300 alfadur make kamikaze hit moving gears as well
Sat, 27 Oct 2018 07:20:07 +0300 alfadur make firepunch hit moving gears (airmines are not amused)
Sat, 27 Oct 2018 05:17:46 +0300 alfadur prevent firepunch from hitting the same gear multiple times
Sat, 27 Oct 2018 03:17:05 +0200 Wuzzy No firepunch hit sound for sticky mines
Sat, 27 Oct 2018 03:58:01 +0300 alfadur Tweak firepunch sound that Wuzzy found
Sun, 14 Oct 2018 18:58:39 +0300 alfadur fix return name and bound type
Sun, 14 Oct 2018 18:52:00 +0300 alfadur remove extra begin
Sun, 14 Oct 2018 18:45:11 +0300 alfadur add missing .
Sat, 13 Oct 2018 23:49:23 +0300 alfadur improve stability for checks
Sat, 13 Oct 2018 23:08:15 +0300 alfadur fix offsets
Sat, 13 Oct 2018 22:44:21 +0300 alfadur Fix overflow in CheckGearNear
Fri, 05 Oct 2018 17:27:12 +0200 Wuzzy Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
Tue, 11 Sep 2018 22:49:27 +0200 alfadur Only show bullet hits for shovable gears
Tue, 11 Sep 2018 21:32:28 +0200 alfadur Revert sinegun brokenness to previous levels
Wed, 08 Aug 2018 14:38:54 +0200 Wuzzy Refactor text color variable names, export 2 color values to Lua
Tue, 07 Aug 2018 12:15:59 +0200 Wuzzy Report spawning visual gear in onGearResurrect
Tue, 07 Aug 2018 10:29:01 +0200 Wuzzy Move max. number of crate spawns into variable
Mon, 06 Aug 2018 22:39:39 +0200 Wuzzy Show correct health increase when hog health cap is reached
Mon, 06 Aug 2018 15:56:03 +0200 Wuzzy Add bounce effect to cake when it touches bounce edge
Thu, 02 Aug 2018 23:43:31 +0200 Wuzzy Fix hammer/pickhammer not digging land with gfSolidLand on
Thu, 02 Aug 2018 03:16:08 +0200 Wuzzy Cap hedgehog health to prevent overflow bugs
Mon, 30 Jul 2018 13:20:01 +0200 Wuzzy Fix freeze ray not working through wrap world edge; add DrawLineWrapped
Sat, 28 Jul 2018 12:58:12 -0400 nemo merge of 0.9.24 - hopefully correctly this time
Tue, 24 Jul 2018 20:07:58 +0200 Wuzzy Limit max droplet count to 50 (fix for 0.9.24 branch only) 0.9.24
Mon, 28 May 2018 19:50:15 -0400 alfadur ensure shotgun works with portals and make it hit airmines
Thu, 24 May 2018 13:04:56 -0400 nemo make all bullets function similar to machinegun bullets (can hit/shove objects without checkin)
Wed, 23 May 2018 20:45:42 -0400 nemo Allow freezing airmines because whyyy not
Thu, 03 May 2018 14:44:17 -0400 alfadur fix trace when bullets skip on water
Thu, 12 Apr 2018 01:51:38 +0200 alfadur Fix minigun bullets hitting shooter when it hits hog on other side of world wrap
Fri, 09 Mar 2018 19:48:15 +0100 alfadur Fix minigun bullet impact image being drawn over hog sometimes
Fri, 09 Feb 2018 11:30:04 +0100 Wuzzy Refactor health gain effects and message into util fuction HHHeal
Thu, 08 Feb 2018 07:09:39 +0100 Wuzzy Fix timebox being usable in SD w/ damage=0
Wed, 31 Jan 2018 13:42:52 -0500 alfadur Machinegun. also tweaked ignore
Mon, 30 Oct 2017 21:59:25 +0100 Wuzzy Backed out changeset d08afea02908
Mon, 23 Oct 2017 17:29:56 +0200 Wuzzy Make GearsNear and CheckGearNear check gears across wrap world edge
Sun, 22 Oct 2017 02:25:27 +0200 Wuzzy Fix bee homing incorrectly when target is across wrap world edge
Sat, 21 Oct 2017 23:59:31 +0200 Wuzzy Move CalcWorldWrap to uUtils.pas
Fri, 20 Oct 2017 13:27:48 +0200 Wuzzy AI player checks if it can use tardis before selecting it
Fri, 06 Oct 2017 14:03:13 +0200 Wuzzy Fix teleport allowing you to teleport in land if you clicked beyond the wrap-around border
Sat, 30 Sep 2017 21:54:47 +0200 sheepluva fix some fpc hints
Sat, 30 Sep 2017 00:09:48 +0200 sheepluva pas2c happiness initiative 2017, continued
Thu, 10 Aug 2017 08:13:37 -0400 alfadur block spawning on ice slopes
Wed, 09 Aug 2017 15:36:05 -0400 nemo So, was trying to allow spawning on level surfaces of ice but not girders, but seems to be failing. We'll call this WIP
Wed, 09 Aug 2017 12:46:52 -0400 nemo trying to eliminate that annoying impact sound for gears that are well under the water and not even exiting it. sheepluva might want to look this over since this is modifying his code and should perhaps be part of the addSplashForGear checks, but hadn't had much luck getting him to examine it past year or so
Wed, 09 Aug 2017 12:22:05 -0400 nemo don't spawn things on ice. it's too unpredictable what'll happen to them
Wed, 26 Apr 2017 19:38:34 +0200 Wuzzy Disable resurrection message for respawning with heResurrectalbe
Thu, 20 Apr 2017 02:38:45 +0200 Wuzzy Make health gain message translatable
Wed, 19 Apr 2017 22:03:11 +0200 Wuzzy Fix hedgehog self-damage not counted, and there were never Stupid taunts/announces
Mon, 10 Apr 2017 13:51:07 +0200 Wuzzy Fix syntax error in uGearsUtils
Mon, 10 Apr 2017 13:30:44 +0200 Wuzzy Play different bounce sound for rubber duck
Fri, 07 Apr 2017 00:57:09 +0200 Wuzzy Set turn time to 0 when current hog drowns
Thu, 06 Apr 2017 23:28:13 +0200 Wuzzy Fix enemy saying “Missed” when poisoned w/o damage
Thu, 06 Apr 2017 07:34:00 +0200 Wuzzy More ticker messages: Sick, king died, resurrect, time box return, timeout, kamikaze
Mon, 20 Mar 2017 08:58:30 -0400 nemo sanity cutoff for splash sound
Wed, 23 Nov 2016 20:25:44 +0100 Wuzzy Fix game extremely slowing down if hog collects crate with huge health, or vampire gets huge health.
Mon, 03 Oct 2016 14:10:25 -0400 nemo Make frozen hogs poison immune
Fri, 16 Sep 2016 00:22:05 +0200 sheepluva Highlander: give visual and acustic feedback when weapons are collected from a kill, similar to collecting a crate
Fri, 16 Sep 2016 00:01:43 +0200 sheepluva Lua API: IsHogLocal(gearUid)
Sun, 15 May 2016 14:29:37 +0300 unc0rr - Use IntToStr() in preference to Str()
Wed, 27 Apr 2016 23:52:43 +0200 sheepluva make hog fallback (flower-in-hole) positioning respect limits (e.g. used by gfDivideTeams)
Tue, 16 Feb 2016 04:25:00 +0100 sheepluva apply to deagle and sniper only
Tue, 16 Feb 2016 03:19:23 +0100 sheepluva disallow bullets to hit the hedgehog that fired them (unless bounced/wrapped/portal'd)
Fri, 01 Jan 2016 10:49:59 -0500 nemo add 32px to top offset
Thu, 31 Dec 2015 15:11:44 -0500 nemo Tweak the hole carving to become less agressive about spacing if random points keep failing.
Thu, 31 Dec 2015 12:47:33 -0500 nemo Force locations for hogs if even TryHard fails on initial spawn.
Wed, 30 Dec 2015 23:20:57 -0500 nemo remove hardcoded shotgun val
Fri, 25 Sep 2015 23:31:16 -0400 nemo Scan from right too. Not sure this is actually helpful, so committing separately.
Fri, 25 Sep 2015 23:30:21 -0400 nemo This should probably fix feedback that hogs weren't spawning on left side of map.
Mon, 10 Aug 2015 03:53:11 +0200 sheepluva more copyright fixes
Tue, 17 Feb 2015 09:50:22 -0500 nemo bit more friction. remove gstSubmersible clearing. was for the old "sea" thing that is totally gone now. As a general attribute, better to let other stuff clear it as needed.
Mon, 16 Feb 2015 13:58:32 -0500 nemo make mines submersible
Fri, 16 Jan 2015 17:51:29 -0500 nemo experiment with air mines. thought they could make shoppa... interesting. ToDo: Allow mines to give up, tweak distances, real graphics, toggle for whether they can acquire a new target while they haven't given up.
Sun, 14 Dec 2014 03:16:40 +0100 sheepluva lua API event: onGearWaterSkip
Thu, 11 Dec 2014 15:20:23 +0100 sheepluva pas2c doesn't like semi-colons after repeat
Thu, 11 Dec 2014 10:33:49 +0100 sheepluva cont.
Thu, 11 Dec 2014 10:22:51 +0100 sheepluva wrap explosions!
Mon, 08 Dec 2014 09:35:14 -0500 nemo Use FreeAndNil across the board. Even if we are immediately assigning after, probably avoids accidental mistakes. Also free neglected owner tex on shutdown, and delete hog gears using the normal deletion procedure if for any reason they still exist (EndGame call?).
Fri, 28 Nov 2014 21:30:36 -0500 nemo fix invulnerability check for shotgun
Sat, 22 Nov 2014 10:22:07 -0500 nemo Avoid promoting violence to hedgehogs. At least once a year.
Mon, 17 Nov 2014 23:23:10 +0100 sheepluva fix underwater-skipping bug and make air-strike missiles submersible when fired from within weSea
Sun, 16 Nov 2014 17:56:27 +0100 sheepluva add bounce effect to bouncy world edges
Sun, 16 Nov 2014 17:07:13 +0100 sheepluva fix health crate collision
Fri, 14 Nov 2014 17:00:47 +0300 unC0Rr Fix warnings given by 32-bit fpc
Thu, 02 Oct 2014 00:06:59 +0200 sheepluva some more splash code tweaking/fixing
Wed, 01 Oct 2014 22:46:58 +0200 sheepluva tweak splash position
Mon, 07 Jul 2014 15:43:48 +0200 sheepluva drowning tweaks
Sat, 05 Jul 2014 21:22:42 +0200 sheepluva for real this time
Sat, 05 Jul 2014 20:15:56 +0200 sheepluva WIP: weSea tweaks, functional and visual
Wed, 11 Jun 2014 00:35:23 +0400 unc0rr Fallback to old heuristic if not pit position
Wed, 11 Jun 2014 00:28:17 +0400 unc0rr Allow barrels to spawn in U-shaped pits in stable position
Thu, 15 May 2014 21:58:37 +0400 unc0rr Fix some pas2c engine warnings
Wed, 26 Feb 2014 00:28:27 +0400 unc0rr - Make world wrap edges not depend on gear radius
Sun, 09 Feb 2014 00:44:29 +0400 unc0rr Even more explicit type conversions and other stuff to help pas2c use ansistrings
Thu, 06 Feb 2014 22:03:53 +0100 sheepluva rolling back my PChar stuff, because unC0Rr improves string handling pas2c instead <3
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, 04 Feb 2014 16:35:31 +0100 sheepluva fixing the remaining PChar issues pas2c ran into to this point, now it stops because of being unable to deal with "set of char"
Tue, 21 Jan 2014 22:38:13 +0100 koda partial merge of the webgl branch
Sat, 18 Jan 2014 08:09:55 -0500 nemo Make poison damage possibly variable (might as well since effects is a count). Scripts might find it handy.
Fri, 17 Jan 2014 16:13:10 -0500 nemo Add check for gear kind of hedgehog on invulnerability effect. This probably fixes bug #766, is similar to change in previous r2a1483d91977 and was introduced by r7d925e82e572
Fri, 17 Jan 2014 15:37:24 -0500 nemo well. let's fix this at least - only apply to gears that are actually hedgehogs, not just ones associated with a hedgehog (which can be pretty much any gear since damage tracking was added)
Fri, 17 Jan 2014 01:06:54 +0100 sheepluva update copyright to 2014
Sun, 05 Jan 2014 10:54:03 +0400 unc0rr - Fix build via pas2c webgl
Sat, 04 Jan 2014 23:55:54 +0400 unc0rr merge default webgl
Sun, 22 Dec 2013 13:44:28 -0500 nemo Graves should not be kicked for EXPLDoNotTouchAny
Sat, 21 Dec 2013 01:14:59 +0400 unC0Rr Fix warnings
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, 08 Nov 2013 23:11:13 -0500 nemo Tweak trophyrace to work better w/ skip (probably, needs testing), drop Invulnerable in favour of effects - heInvulnerable is already in effects,
Sat, 19 Oct 2013 23:44:40 -0400 nemo call bounce sound less often
Sat, 19 Oct 2013 15:59:47 -0400 nemo differentiate borders a bit
Fri, 11 Oct 2013 10:42:50 -0400 nemo tiny tweak to silly mode
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
Thu, 03 Oct 2013 14:47:33 -0400 nemo add world edges to config
Thu, 03 Oct 2013 12:10:30 -0400 nemo add shotgun wrap, revert 100px offset. Problematic w/ things that rely on Land.
Mon, 30 Sep 2013 12:37:44 -0400 nemo move border back a bit from left/right bounds, bee tweak
Sun, 29 Sep 2013 19:03:15 -0400 nemo Make a few more gears honour world edge checks
Sun, 29 Sep 2013 16:10:32 -0400 nemo partial implementation of non-infinite world (edge wrap/warp/bounce)
Thu, 27 Jun 2013 15:33:02 +0400 unc0rr Refactoring: get rid of GSHandlers.inc
Thu, 27 Jun 2013 14:37:03 +0400 unc0rr Refactoring: VGSHandlers.inc -> uVisualGearsHandlers.pas
Sun, 09 Jun 2013 12:22:53 +0200 koda update with default webgl
Fri, 07 Jun 2013 21:15:11 +0200 sheepluva update changelog
Fri, 07 Jun 2013 14:44:34 -0400 nemo move 0.01 to the end to avoid increase damage fail on small values like fire. thanks to hedgewars wiki for noting this for fire damage.
Tue, 04 Jun 2013 22:28:12 +0200 koda update branch webgl
Wed, 29 May 2013 15:12:06 -0400 unc0rr bump copyright year for Andrey entries
Tue, 28 May 2013 14:09:19 -0400 nemo frozen hog impact. koda says he'll add the beam
Tue, 14 May 2013 08:57:30 -0400 nemo Rename submersible state, increase getaway time for attack underwater, slow down gear dx/dy underwater to simulate water resistance
Tue, 14 May 2013 07:16:14 -0400 nemo Actually, let's use *4 since could be fired from lower down
Tue, 14 May 2013 07:14:41 -0400 nemo more drowning fixes
Tue, 14 May 2013 06:33:59 -0400 nemo check for gear being current ammo
Mon, 13 May 2013 22:40:32 -0400 nemo some saucer thing for firing weps underwater and aiming and such. bit drunk and sleepy so testing I guess
Tue, 07 May 2013 15:43:34 -0400 nemo remove redundant abs, and some incorrect 1+ to damage
Thu, 02 May 2013 21:56:24 +0400 unc0rr CheckGearDrowning could delete hedgehogs gear! (CheckGearDrowning -> ResurrectHedgehog -> FindPlace). Fixes bug 620.
Tue, 02 Apr 2013 21:00:57 +0200 koda update webgl branch webgl
Thu, 21 Mar 2013 15:01:27 +0100 sheepluva don't poison the dead, it's not cool.
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, 03 Mar 2013 19:43:01 -0500 nemo Make hogs thaw only on enemy turns, make timebox counter decrement only on your turn, adjust knock for frozen hogs, increase damage on frozen hogs, make freezer fuel only reduce when not adjusting angle.
Sun, 24 Feb 2013 21:44:40 -0500 nemo Messing around w/ Freezer icegun
Tue, 25 Dec 2012 04:45:22 +0100 koda update branch with default webgl
Mon, 03 Dec 2012 13:31:39 +0400 unc0rr Fix crashes and wtf behaviour introduced in r0b8beacff8a5
Sat, 01 Dec 2012 02:12:10 +0100 deepdog GCI2012: Remove Structure Weapon Code
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
Wed, 07 Nov 2012 15:37:02 -0500 nemo Make FindPlace more flexible on large maps.
Wed, 07 Nov 2012 14:02:10 -0500 nemo LongInt Land width/height, mouse coords
Fri, 26 Oct 2012 12:42:56 -0400 nemo issue #445 spin math
Thu, 18 Oct 2012 14:04:24 -0400 nemo damn nots
Sun, 14 Oct 2012 13:35:15 -0400 nemo First pass at cleaver.
Mon, 01 Oct 2012 12:01:39 +0400 unc0rr - Fix warnings and hints
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
Wed, 29 Aug 2012 23:12:47 -0400 nemo preliminary creeper (not yet functional)
Wed, 29 Aug 2012 11:48:10 -0400 nemo tiny (probably) optimisation
Mon, 27 Aug 2012 16:52:50 -0400 nemo Starting to rewrite uFloat routines to avoid QWordValue - in the interests of JS which may get uint64/int64 in the spec in the future but does not have it now.
Sat, 25 Aug 2012 18:35:59 -0400 nemo reducing this value is sufficient to ensure crates drop just below top border or a girder
Sat, 25 Aug 2012 13:06:28 -0400 nemo Ensure crates can spawn just below the border on a bordered map.
Fri, 24 Aug 2012 14:01:07 +0400 unc0rr Move rope code to separate unit
Mon, 06 Aug 2012 10:18:57 -0400 nemo revert 3188794b9d87. does not do what I'd like.
Sat, 04 Aug 2012 22:51:41 -0400 nemo Perf opt for the c conversion. Use downto instead to avoid repeated function calls in the loop
Tue, 24 Jul 2012 17:50:42 -0400 nemo Fix bee crasher, tweak splash values
Fri, 20 Jul 2012 14:16:05 -0400 nemo Try avoiding spamming the log by retaining the gears. untested.
Sat, 14 Jul 2012 23:19:09 -0400 nemo Sorry about the slight delay in pickup. You can blame a few lame cheaters. This is to make their cheating a bit harder.
Mon, 09 Jul 2012 23:28:02 -0400 nemo Spread the droplets around more so it looks less square (looked especially bad with piano). Slow down large splashes a bit for dramatic purposes, also taking low-g into account. Small splashes you can't really tell anyway.
Sun, 08 Jul 2012 10:03:31 -0400 nemo Score AI resurrection as a kill. These values will not be the same as the in-game scoring, since in-game scoring doesn't count friendlies.
Sat, 23 Jun 2012 22:39:00 -0400 nemo Second part of the change. Make collision check use the new mask bit.
Wed, 06 Jun 2012 17:56:39 -0400 nemo Make it AI survival almost definitely impossible by adding a 3rd pass to FindGear. 1st pass normal, 2nd pass allow close to objects, 3rd pass, allow overlapping objects.
Mon, 04 Jun 2012 08:11:47 -0400 nemo Make watching AI v AI on ai survival a bit more entertaining
Sun, 03 Jun 2012 11:02:12 -0400 nemo warp sound when AI survival hog respawns. attempt at a bit of a crate spawn animation (moar sparkles and a quick fadein)
Fri, 18 May 2012 13:35:22 -0400 nemo Add an emergency return to the timebox in the case of death of rest of team. Also add a small visual effect to AI survival
Sat, 12 May 2012 22:13:56 +0400 unc0rr Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
Fri, 11 May 2012 20:01:57 +0400 unc0rr Make pas2c happier with uSound
Thu, 03 May 2012 00:20:58 -0400 nemo Switch effects to longint for convenience of tracking ice states. I could add a new Hedgehog value, but since we have this effects list being all useless as booleans anyway...
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, 14 Apr 2012 23:19:45 +0400 unc0rr Get rid of TGearsType to simplify pas2c
Wed, 21 Mar 2012 00:05:46 -0400 nemo Try different splash sounds too
Tue, 20 Mar 2012 01:30:54 -0400 nemo bit of an experiment in variable splash sizes based on object/speed. not sure if it looks good yet. need to drown more stuff.
Sun, 11 Mar 2012 18:28:32 -0400 nemo Add drowning to grenade too, try some little optimisations
Sun, 11 Mar 2012 11:39:45 -0400 nemo bug #336
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Tue, 17 Jan 2012 09:20:16 -0500 nemo fix line endings
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
Thu, 15 Dec 2011 12:57:26 -0500 nemo Remove density adjustment in ammoshove. Means a mine and a barrel will be batted same distance again.
Fri, 02 Dec 2011 15:03:27 +0400 unc0rr Some tiny optimizations
Sun, 04 Dec 2011 00:52:47 +0300 unc0rr - Give uLand more modularity
Fri, 30 Dec 2011 13:54:39 +0400 unc0rr Start refactoring uGears. Breaks build.
less more (0) tip