hedgewars/uGearsUtils.pas
2019-05-13 Wuzzy Don't remove gstWinner after GameOver
2019-04-08 Wuzzy New callback: onCaseDrop (called when engine MIGHT drop a crate)
2019-04-07 Wuzzy Add key to display extra gear info tags
2019-01-14 Wuzzy Tweak bounce effects of some gears
2019-01-14 Wuzzy Remove a bunch of dead out-commented code
2019-01-14 Wuzzy Fix WorldWrap returning sometimes true unjustifiably
2019-01-13 Wuzzy Bounce off gears at bouncy world edge only if they move towards it
2019-01-09 Wuzzy Fix double water splash if flying saucer drowns (bug 681)
2019-01-03 Wuzzy Fix bee targeting fail across wrap world edge
2018-11-28 alfadur 😢
2018-11-28 alfadur make blowtorch hit moving gears
2018-11-24 Wuzzy Clear gstHHJumping and gstHHHJump when hog was hurt by explosion
2018-11-23 nemo overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.
2018-11-13 alfadur stun airmines on explosions as well
2018-11-12 alfadur stun airmines on shove
2018-11-10 Wuzzy Remove all traces of dead code related to amStructure/gtStructure
2018-10-31 Wuzzy Add Ouch taunt for particulary damaging hits (fall, bullet, shove, hammer)
2018-10-31 Wuzzy Stop using dsUnknown, replace with concrete damage sources
2018-10-27 Wuzzy Only play sndThisOneIsMine if crate drops close to hog
2018-10-27 Wuzzy Add 7 new taunts
2018-10-27 alfadur and finally make the bat hit moving gears for completeness
2018-10-27 alfadur make whip hit moving gears
2018-10-27 alfadur make kamikaze hit moving gears as well
2018-10-27 alfadur make firepunch hit moving gears (airmines are not amused)
2018-10-27 alfadur prevent firepunch from hitting the same gear multiple times
2018-10-27 Wuzzy No firepunch hit sound for sticky mines
2018-10-27 alfadur Tweak firepunch sound that Wuzzy found
2018-10-14 alfadur fix return name and bound type
2018-10-14 alfadur remove extra begin
2018-10-14 alfadur add missing .
2018-10-13 alfadur improve stability for checks
2018-10-13 alfadur fix offsets
2018-10-13 alfadur Fix overflow in CheckGearNear
2018-10-05 Wuzzy Rename amDuck and related symbols to amCreeper, gtCreeper, etc.
2018-09-11 alfadur Only show bullet hits for shovable gears
2018-08-08 Wuzzy Refactor text color variable names, export 2 color values to Lua
2018-08-07 Wuzzy Report spawning visual gear in onGearResurrect
2018-08-07 Wuzzy Move max. number of crate spawns into variable
2018-08-06 Wuzzy Show correct health increase when hog health cap is reached
2018-08-06 Wuzzy Add bounce effect to cake when it touches bounce edge
2018-08-02 Wuzzy Fix hammer/pickhammer not digging land with gfSolidLand on
2018-08-02 Wuzzy Cap hedgehog health to prevent overflow bugs
2018-07-30 Wuzzy Fix freeze ray not working through wrap world edge; add DrawLineWrapped
2018-07-28 nemo merge of 0.9.24 - hopefully correctly this time
2018-07-24 Wuzzy Limit max droplet count to 50 (fix for 0.9.24 branch only) 0.9.24
2018-05-28 alfadur ensure shotgun works with portals and make it hit airmines
2018-05-24 nemo make all bullets function similar to machinegun bullets (can hit/shove objects without checkin)
2018-05-24 nemo Allow freezing airmines because whyyy not
2018-05-03 alfadur fix trace when bullets skip on water
2018-04-11 alfadur Fix minigun bullets hitting shooter when it hits hog on other side of world wrap
2018-03-09 alfadur Fix minigun bullet impact image being drawn over hog sometimes
2018-02-09 Wuzzy Refactor health gain effects and message into util fuction HHHeal
2018-02-08 Wuzzy Fix timebox being usable in SD w/ damage=0
2018-01-31 alfadur Machinegun. also tweaked ignore
2017-10-30 Wuzzy Backed out changeset d08afea02908
2017-10-23 Wuzzy Make GearsNear and CheckGearNear check gears across wrap world edge
2017-10-22 Wuzzy Fix bee homing incorrectly when target is across wrap world edge
2017-10-21 Wuzzy Move CalcWorldWrap to uUtils.pas
2017-10-20 Wuzzy AI player checks if it can use tardis before selecting it
2017-10-06 Wuzzy Fix teleport allowing you to teleport in land if you clicked beyond the wrap-around border
2017-09-30 sheepluva fix some fpc hints
2017-09-29 sheepluva pas2c happiness initiative 2017, continued
2017-08-10 alfadur block spawning on ice slopes
2017-08-09 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
2017-08-09 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
2017-08-09 nemo don't spawn things on ice. it's too unpredictable what'll happen to them
2017-04-26 Wuzzy Disable resurrection message for respawning with heResurrectalbe
2017-04-20 Wuzzy Make health gain message translatable
2017-04-19 Wuzzy Fix hedgehog self-damage not counted, and there were never Stupid taunts/announces
2017-04-10 Wuzzy Fix syntax error in uGearsUtils
2017-04-10 Wuzzy Play different bounce sound for rubber duck
2017-04-06 Wuzzy Set turn time to 0 when current hog drowns
2017-04-06 Wuzzy Fix enemy saying “Missed” when poisoned w/o damage
2017-04-06 Wuzzy More ticker messages: Sick, king died, resurrect, time box return, timeout, kamikaze
2017-03-20 nemo sanity cutoff for splash sound
2016-11-23 Wuzzy Fix game extremely slowing down if hog collects crate with huge health, or vampire gets huge health.
2016-10-03 nemo Make frozen hogs poison immune
2016-09-15 sheepluva Highlander: give visual and acustic feedback when weapons are collected from a kill, similar to collecting a crate
2016-09-15 sheepluva Lua API: IsHogLocal(gearUid)
2016-05-15 unc0rr - Use IntToStr() in preference to Str()
2016-04-27 sheepluva make hog fallback (flower-in-hole) positioning respect limits (e.g. used by gfDivideTeams)
2016-02-16 sheepluva apply to deagle and sniper only
2016-02-16 sheepluva disallow bullets to hit the hedgehog that fired them (unless bounced/wrapped/portal'd)
2016-01-01 nemo add 32px to top offset
2015-12-31 nemo Tweak the hole carving to become less agressive about spacing if random points keep failing.
2015-12-31 nemo Force locations for hogs if even TryHard fails on initial spawn.
2015-12-31 nemo remove hardcoded shotgun val
2015-09-26 nemo Scan from right too. Not sure this is actually helpful, so committing separately.
2015-09-26 nemo This should probably fix feedback that hogs weren't spawning on left side of map.
2015-08-10 sheepluva more copyright fixes
2015-02-17 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.
2015-02-16 nemo make mines submersible
2015-01-16 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.
2014-12-14 sheepluva lua API event: onGearWaterSkip
2014-12-11 sheepluva pas2c doesn't like semi-colons after repeat
2014-12-11 sheepluva cont.
2014-12-11 sheepluva wrap explosions!
2014-12-08 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?).
2014-11-29 nemo fix invulnerability check for shotgun
2014-11-22 nemo Avoid promoting violence to hedgehogs. At least once a year.
2014-11-17 sheepluva fix underwater-skipping bug and make air-strike missiles submersible when fired from within weSea
2014-11-16 sheepluva add bounce effect to bouncy world edges
2014-11-16 sheepluva fix health crate collision
2014-11-14 unC0Rr Fix warnings given by 32-bit fpc
2014-10-01 sheepluva some more splash code tweaking/fixing
2014-10-01 sheepluva tweak splash position
2014-07-07 sheepluva drowning tweaks
2014-07-05 sheepluva for real this time
2014-07-05 sheepluva WIP: weSea tweaks, functional and visual
2014-06-10 unc0rr Fallback to old heuristic if not pit position
2014-06-10 unc0rr Allow barrels to spawn in U-shaped pits in stable position
2014-05-15 unc0rr Fix some pas2c engine warnings
2014-02-25 unc0rr - Make world wrap edges not depend on gear radius
2014-02-08 unc0rr Even more explicit type conversions and other stuff to help pas2c use ansistrings
2014-02-06 sheepluva rolling back my PChar stuff, because unC0Rr improves string handling pas2c instead <3
2014-02-04 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
2014-02-04 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"
2014-01-21 koda partial merge of the webgl branch
2014-01-18 nemo Make poison damage possibly variable (might as well since effects is a count). Scripts might find it handy.
2014-01-17 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
2014-01-17 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)
2014-01-17 sheepluva update copyright to 2014
2014-01-05 unc0rr - Fix build via pas2c webgl
2014-01-04 unc0rr merge default webgl
2013-12-22 nemo Graves should not be kicked for EXPLDoNotTouchAny
2013-12-20 unC0Rr Fix warnings
2013-11-20 nemo return land word from uCollisions to make decisions based on it. Should be handy for trampoline.
2013-11-09 nemo Tweak trophyrace to work better w/ skip (probably, needs testing), drop Invulnerable in favour of effects - heInvulnerable is already in effects,
2013-10-20 nemo call bounce sound less often
2013-10-19 nemo differentiate borders a bit
2013-10-11 nemo tiny tweak to silly mode
2013-10-11 koda merge with latest defaul, fixing compiling with fpc, parsing and rendering with pas2c, some minor problems with compiling with clang webgl
2013-10-03 nemo add world edges to config
2013-10-03 nemo add shotgun wrap, revert 100px offset. Problematic w/ things that rely on Land.
2013-09-30 nemo move border back a bit from left/right bounds, bee tweak
2013-09-29 nemo Make a few more gears honour world edge checks
2013-09-29 nemo partial implementation of non-infinite world (edge wrap/warp/bounce)
2013-06-27 unc0rr Refactoring: get rid of GSHandlers.inc
2013-06-27 unc0rr Refactoring: VGSHandlers.inc -> uVisualGearsHandlers.pas
2013-06-09 koda update with default webgl
2013-06-07 sheepluva update changelog
2013-06-07 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.
2013-06-04 koda update branch webgl
2013-05-29 unc0rr bump copyright year for Andrey entries
2013-05-28 nemo frozen hog impact. koda says he'll add the beam
2013-05-14 nemo Rename submersible state, increase getaway time for attack underwater, slow down gear dx/dy underwater to simulate water resistance
2013-05-14 nemo Actually, let's use *4 since could be fired from lower down
2013-05-14 nemo more drowning fixes
2013-05-14 nemo check for gear being current ammo
2013-05-14 nemo some saucer thing for firing weps underwater and aiming and such. bit drunk and sleepy so testing I guess
2013-05-07 nemo remove redundant abs, and some incorrect 1+ to damage
2013-05-02 unc0rr CheckGearDrowning could delete hedgehogs gear! (CheckGearDrowning -> ResurrectHedgehog -> FindPlace). Fixes bug 620.
2013-04-02 koda update webgl branch webgl
2013-03-21 sheepluva don't poison the dead, it's not cool.
2013-03-18 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.
2013-03-04 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.
2013-02-25 nemo Messing around w/ Freezer icegun
2012-12-25 koda update branch with default webgl
2012-12-03 unc0rr Fix crashes and wtf behaviour introduced in r0b8beacff8a5
2012-12-01 deepdog GCI2012: Remove Structure Weapon Code
2012-11-11 koda merge xymeng's gsoc engine with a few updates (and further checks on symbol definitions) webgl
2012-11-07 nemo Make FindPlace more flexible on large maps.
2012-11-07 nemo LongInt Land width/height, mouse coords
2012-10-26 nemo issue #445 spin math
2012-10-18 nemo damn nots
2012-10-14 nemo First pass at cleaver.
2012-10-01 unc0rr - Fix warnings and hints
2012-09-29 unc0rr Move hedgehog's step routine into separate function, use it in both hedgehog and ai code
2012-08-30 nemo preliminary creeper (not yet functional)
2012-08-29 nemo tiny (probably) optimisation
2012-08-27 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.
2012-08-25 nemo reducing this value is sufficient to ensure crates drop just below top border or a girder
2012-08-25 nemo Ensure crates can spawn just below the border on a bordered map.
2012-08-24 unc0rr Move rope code to separate unit
2012-08-06 nemo revert 3188794b9d87. does not do what I'd like.
2012-08-05 nemo Perf opt for the c conversion. Use downto instead to avoid repeated function calls in the loop
2012-07-24 nemo Fix bee crasher, tweak splash values
2012-07-20 nemo Try avoiding spamming the log by retaining the gears. untested.
2012-07-15 nemo Sorry about the slight delay in pickup. You can blame a few lame cheaters. This is to make their cheating a bit harder.
2012-07-10 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.
2012-07-08 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.
2012-06-24 nemo Second part of the change. Make collision check use the new mask bit.
2012-06-06 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.
2012-06-04 nemo Make watching AI v AI on ai survival a bit more entertaining
2012-06-03 nemo warp sound when AI survival hog respawns. attempt at a bit of a crate spawn animation (moar sparkles and a quick fadein)
2012-05-18 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
2012-05-12 unc0rr Make pas2c even more happier with uGears.c, allow assigning arrays in some cases
2012-05-11 unc0rr Make pas2c happier with uSound
2012-05-03 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...
2012-05-02 koda change every return value into a more pascal-ish form, using the name of the fucntion (helps the parser and macpas compaitilibity)
2012-05-02 koda add support for default pascal mode by removing default arguments value (maybe this also helps the parser)
2012-04-14 unc0rr Get rid of TGearsType to simplify pas2c
2012-03-21 nemo Try different splash sounds too
2012-03-20 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.
2012-03-11 nemo Add drowning to grenade too, try some little optimisations
2012-03-11 nemo bug #336
2012-02-17 koda the most important commit of the year
2012-01-17 nemo fix line endings
2012-01-17 lovelacer A partial reformatting of the pascal code to have consistent syntax. Things that are still inconsistent.
2011-12-30 unc0rr Fix build
2011-12-15 nemo Remove density adjustment in ammoshove. Means a mine and a barrel will be batted same distance again.
2011-12-02 unc0rr Some tiny optimizations
2011-12-03 unc0rr - Give uLand more modularity
2011-12-30 unc0rr Start refactoring uGears. Breaks build.
less more (0) tip