hedgewars/uGearsHedgehog.pas
Thu, 15 Jun 2017 14:57:16 -0400 nemo bug #230 - Precise aiming is disabled after firing first Deagle shot (when held down)
Tue, 25 Apr 2017 04:54:46 +0200 Wuzzy Fix sndBoring being played when force-ending turn due to victory
Mon, 24 Apr 2017 19:31:53 +0200 Wuzzy Drop rubber duck like dynamite
Sat, 22 Apr 2017 20:37:51 +0200 Wuzzy Backed out changeset 071a05275798
Sat, 22 Apr 2017 19:30:24 +0200 Wuzzy Fix warning caused in uGearsHedgehog.pas
Sat, 22 Apr 2017 02:33:32 +0200 Wuzzy Allow to press [Precise]+[Slot] to cycle through weapons in reverse order
Thu, 20 Apr 2017 02:38:45 +0200 Wuzzy Make health gain message translatable
Wed, 19 Apr 2017 17:50:31 +0200 Wuzzy New Lua call: EndTurn to end turn
Fri, 13 May 2016 00:17:05 +0200 Wuzzy Don't play duck drop sound when duck spawns in water
Sat, 08 Apr 2017 21:48:25 +0200 Wuzzy Add sounds for rubberduck drop, destruction and water collision
Sat, 08 Apr 2017 21:43:48 +0200 Wuzzy Add ammotype amDuck for rubber duck
Fri, 07 Apr 2017 04:56:51 +0200 Wuzzy Add support for hog name in home run message
Thu, 06 Apr 2017 07:34:00 +0200 Wuzzy More ticker messages: Sick, king died, resurrect, time box return, timeout, kamikaze
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, 09 May 2016 22:49:31 +0200 Wuzzy Add Lua API function SetAmmoTexts (see issue 82)
Sun, 01 May 2016 02:40:12 +0200 Wuzzy Add “boring” voice to voice queue to avoid voice overlapping
Sat, 19 Nov 2016 15:00:14 +0100 Wuzzy Play countdown sounds for 4-1 remaining seconds and “boring” voice on timeout
Sat, 30 Apr 2016 20:55:16 +0200 Wuzzy Make the timer red when it is the get-away time
Sat, 19 Nov 2016 06:43:44 +0100 Wuzzy Add sounds for blowtorch, invuln., f. saucer, lasersight, portal gun
Tue, 15 Nov 2016 03:00:56 +0100 Wuzzy Show symbols at bottom right while extra damage / low grav. are active
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, 13 Apr 2016 12:17:30 +0200 Wuzzy Add sound effects for: cleaver impact, air mine impact, using extra time
Mon, 28 Mar 2016 18:19:20 -0400 nemo RC planes should not pick up frozen crates
Fri, 15 Jan 2016 13:29:27 +0100 sheepluva fix comment; revert unintentional commit of some testing png
Fri, 15 Jan 2016 13:18:40 +0100 sheepluva serious anti wall sticking protection for hedgewars
Wed, 13 Jan 2016 21:29:04 +0300 unc0rr Damaged hog is not in a jumping state
Tue, 05 Jan 2016 15:15:54 -0500 nemo limit Y increment to 6 (saucer/birdy bug)
Tue, 29 Dec 2015 14:44:32 -0500 nemo Make weapon damage in most cases be a structure value and also expose it to lua. Needs testing/review due to conditions at time of doing this (w/ one arm, dizzy/tingling due to sodium citrate), and just number of places changed..
Sun, 01 Nov 2015 15:08:39 -0500 nemo do the same thing for the chute/birdy/saucer block 0.9.22-release
Thu, 08 Oct 2015 10:42:00 -0400 nemo restore uid on resurrection as well
Sun, 04 Oct 2015 16:30:55 -0400 nemo Avoid waiting past end of turn for smine.
Mon, 10 Aug 2015 03:53:11 +0200 sheepluva more copyright fixes
Tue, 26 May 2015 23:29:53 +0200 sheepluva LuaAPI: fix OnHogAttack the incorrect AmmoType (amNothing) under certain conditions. Thanks for CheezeMonkey for reporting this
Mon, 11 May 2015 13:53:08 -0400 nemo This probably fixes bug #839 - mine time was hardcoded to 3000 in Attack, instead of using the "0 as undefined" input that other places were using. When re653e96b0ec3 started paying attention to the input parameter, this previously ignored value became a problem.
Sun, 05 Apr 2015 16:41:39 -0400 nemo Make bouncing a bit less wtf for various gears tested (hog, 'zooka, saucer hog, drill strike). Less hacky is another matter.
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
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.
Wed, 24 Dec 2014 12:19:18 -0500 nemo fix for issue #894
Sun, 14 Dec 2014 03:32:11 +0100 sheepluva Issue 755: Lua API: Add ammo type parameter for onHogAttack
Sat, 29 Nov 2014 14:57:07 -0500 nemo Move cake FollowGear to Attack like most others, remove the gmAttack clearing which is also done in Attack.
Sat, 29 Nov 2014 18:56:42 +0100 sheepluva don't drown unplaced hedgehogs. thanks to zimmux and Wohlstand for reporting
Sat, 25 Oct 2014 11:29:45 -0400 nemo Remove switching of hog's hat to chef. do it in draw instead.
Sun, 19 Oct 2014 15:46:09 -0400 nemo allow hogs to repeatedly enter portals placed on the ground
Sat, 05 Jul 2014 20:15:56 +0200 sheepluva WIP: weSea tweaks, functional and visual
Wed, 05 Mar 2014 12:38:01 +0100 sheepluva don't stack bye/teleport sounds of hogs (when a team is gone)
Thu, 20 Feb 2014 00:28:49 +0400 unc0rr Fix tinting of AI kills counter
Wed, 19 Feb 2014 19:10:11 +0400 unc0rr Should never use State like this, since some states aren't synced (thinking state for example)
Sun, 09 Feb 2014 00:44:29 +0400 unc0rr Even more explicit type conversions and other stuff to help pas2c use ansistrings
Sat, 08 Feb 2014 16:29:34 +0400 unc0rr Implicit type casts to help pas2c
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
Fri, 17 Jan 2014 01:06:54 +0100 sheepluva update copyright to 2014
Sun, 12 Jan 2014 11:07:49 +0400 unc0rr That check was too weird and complicated
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
Wed, 05 Mar 2014 12:35:51 +0100 sheepluva don't stack bye/teleport sounds of hogs (when a team is gone) 0.9.20
Fri, 03 Jan 2014 00:31:07 -0500 nemo tweak
Thu, 02 Jan 2014 23:52:34 -0500 nemo hey, if unc0rr can screw with gravity...
Sat, 21 Dec 2013 01:14:59 +0400 unC0Rr Fix warnings
Sat, 14 Dec 2013 14:24:03 -0500 nemo clear gstCollision from doStepFallingGear once I'm done with it. hog "physics" doesn't use it, and was screwing up labels
Tue, 10 Dec 2013 00:05:27 -0500 nemo fix for fail to place using ammo
Sun, 08 Dec 2013 16:04:40 -0500 nemo Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
Sun, 01 Dec 2013 13:22:06 -0500 nemo don't abort changeammo on attacking/attacked in infattack mode, keep scrolling through slot after setweap even if a multishoot was aborted triggering gstattacked, to ensure proper ammo gets set for next turn
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
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,
Mon, 04 Nov 2013 22:41:55 -0500 nemo cleanup of timer accidentally exposed prob w/ timebox
Sun, 03 Nov 2013 14:45:07 -0500 nemo this should prevent sliding when game clock isn't running. sorry unc0rr, not going to bother encapsulating. maybe later. short on time right now/lazy
Sun, 03 Nov 2013 22:39:00 +0400 unc0rr Quick and simple implementation of afk mode (toggled by /pause)
Thu, 31 Oct 2013 21:04:39 -0400 nemo ok. this should avoid calling switch inappropriately. also, add skip to trophyrace and add the per-team achievement reporting.
Sat, 26 Oct 2013 13:58:49 -0400 nemo Remove this looping past F10. causes infinite loop with no weapons. Besides, should always have skip in last slot unless a script is screwing with it.
Mon, 14 Oct 2013 00:33:10 -0400 nemo don't kill rope if not extended
Sun, 13 Oct 2013 13:14:32 -0400 nemo make wrapping nicer when there's collision
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
Wed, 09 Oct 2013 20:25:16 -0400 nemo skip kill for bounce
Wed, 09 Oct 2013 20:23:06 -0400 nemo kill rope on wrap
Tue, 08 Oct 2013 10:28:57 +0400 unc0rr boo, nemo, boo
Mon, 07 Oct 2013 21:31:47 -0400 nemo make this a tiny bit less aggressive
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 14:01:43 -0400 nemo Make add/delete consistent (this has bugged me for so long)
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
Wed, 05 Jun 2013 12:47:33 -0400 nemo Restore CurAmmoType check as well, that was removed in r8f317ba10675 when trying to fix aiming during alt attack.
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
Mon, 27 May 2013 16:56:44 -0400 nemo don't resurrect frozen
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
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
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
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
Fri, 29 Mar 2013 10:54:12 -0400 nemo This should ensure rope can still be aimed quickly when an alt weapon is active.
Wed, 27 Mar 2013 11:18:00 +0100 koda merge correction, also what's with all those trailing whitespaces?
Tue, 26 Mar 2013 17:47:06 -0400 nemo Try to document TGear a bit, so people know what is commonly overridden, and what stuff is used for. Remove gtIceGun-specific values from TGear and abuse a couple of commonly abused members instead.
Tue, 19 Mar 2013 22:19:28 +0100 sheepluva fix ancient issue with hedgehogs sliding through/into think gaps; fixes issue 542; could and should be optimized (also to make sure that hogs can't slide through little pixel turds) - feel free to do so =P
Sun, 17 Mar 2013 14:09:54 -0400 nemo Add some flags for a few of the magic Land values
Tue, 05 Mar 2013 20:28:33 -0500 nemo oups
Tue, 05 Mar 2013 16:04:22 -0500 nemo At multiple requests, change ice to be turn based. This is a more modest adjustment of existing code, that can be fairly easily flagged or reverted if desired. It also allows scripts to extend freezing, and preserves fire melting.
Sun, 03 Mar 2013 20:08:55 -0500 nemo keep hogs from sliding while they are being frozen
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, 03 Mar 2013 14:58:58 -0500 nemo Call act as if attack ended on last shot if switching while in mid multi-shoot. Thanks to AI for discovering this.
Thu, 28 Feb 2013 22:10:49 -0500 nemo Safety check. The main place this can be a problem is on a mild bowl w/ multiple hogs. Could possibly add a hog collision check in here.
Tue, 26 Feb 2013 20:37:58 -0500 nemo merge w/ default icegun
Mon, 25 Feb 2013 12:54:50 -0500 nemo workaround for frequent AllHH active call in hedgehog step icegun
Mon, 25 Feb 2013 12:29:39 -0500 nemo More fiddling w/ sliding icegun
Sat, 23 Feb 2013 23:01:50 -0500 nemo This and the "retain freezing" stuff could probably use a flag.
Sun, 24 Feb 2013 23:07:46 -0500 nemo Trying to improve rendering, sliding and thawing. Messing around w/ making fire thaw faster. icegun
Fri, 22 Feb 2013 19:24:59 -0500 nemo Restore freezing hedgehog for shotgun, sniper rifle and deagle to make unc0rr happy. You'll still be able to get away after throwing cleaver and sticky bomb tho.
Sun, 24 Feb 2013 21:44:40 -0500 nemo Messing around w/ Freezer icegun
Sun, 24 Feb 2013 21:40:06 +0200 Urbertar Add freezing hogs with icegun icegun
Fri, 22 Feb 2013 14:33:21 -0500 nemo Allow switching away from any weapon when during multishoot.
Sun, 10 Feb 2013 09:50:09 -0500 nemo Cleaver tweaks based on feedback. Nerf damage, shrink radius. This means cleaver will embed into ground quite a bit further.
Sun, 10 Feb 2013 09:22:29 -0500 nemo oops. more specific ammo tests. maybe could use a few more properties
Sat, 09 Feb 2013 20:28:05 -0500 nemo Allow moving after firing cleaver. This changes multishoot behaviour quite a bit. Needs a lot of testing.
Sun, 27 Jan 2013 00:28:57 +0100 koda update branch webgl
Sun, 20 Jan 2013 20:42:20 -0500 nemo Start piano higher (piano on maps that matched land_height was really weird before). Experiment w/ trying to make birdy shrink into distance to avoid odd birdy vanishes if tracking it.
Tue, 25 Dec 2012 04:45:22 +0100 koda update branch with default webgl
Sat, 01 Dec 2012 02:12:10 +0100 deepdog GCI2012: Remove Structure Weapon Code
Thu, 22 Nov 2012 00:41:53 +0100 koda updated branch webgl
Sat, 17 Nov 2012 09:03:47 -0500 nemo oft-requested, should make the shoppa guys happy, probably, but, knowing them, I'm sure someone will complain
Wed, 14 Nov 2012 23:23:56 -0500 nemo Call fallers less often. Should hopefully still be about as effective at the intended purpose. Should help loads quite a bit.
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 14:02:10 -0500 nemo LongInt Land width/height, mouse coords
Sun, 04 Nov 2012 17:24:14 -0500 nemo Causes AI fail. Needs testing 'cause at some point, I thought this was needed for portal, I don't remember *why*
Sat, 27 Oct 2012 00:27:15 +0400 unc0rr Fix cake splashing bug (issue 429)
Sun, 21 Oct 2012 22:42:50 -0400 nemo *sigh* revert the multishoot thingy. worked fine in my tests w/ smine and cleaver, screwed up deagle. need to find out why, but sleepy. for later
Sun, 21 Oct 2012 21:14:33 -0400 nemo Turn off freezing in multishoot, unless unc0rr can come up w/ a good reason why this was here :)
Tue, 16 Oct 2012 22:57:48 -0400 nemo I like this condition for home run better
Sun, 14 Oct 2012 13:35:15 -0400 nemo First pass at cleaver.
Wed, 10 Oct 2012 00:40:00 +0400 unc0rr Please pas2c
Mon, 08 Oct 2012 21:07:18 -0400 nemo Knife is still broken, but so koda can fix it...
Mon, 08 Oct 2012 13:27:46 -0400 nemo A bit more on the knife. Also add missing files to CMakeLists
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, 05 Sep 2012 02:17:04 +0400 unc0rr Fix some warnings
Sat, 01 Sep 2012 17:11:39 -0400 unc0rr Rope fix without hacks.
Sat, 01 Sep 2012 15:46:22 -0400 nemo oops
Wed, 29 Aug 2012 09:58:23 -0400 nemo isZero appears to be never used. Use it in a few obvious cases and add web variant.
Tue, 28 Aug 2012 20:30:57 +0400 unc0rr Merge Stepik-777's video recording gsoc project
Sat, 25 Aug 2012 18:22:15 -0400 nemo Fix throwing things off rope, also make throwing things a bit more generic and gear density dependent (so you can throw mines further, and also throw dynamite a little).
Sat, 25 Aug 2012 09:17:42 -0400 nemo let's see if mikade will still accept this at least
Sat, 25 Aug 2012 08:39:52 -0400 nemo make cheating a bit easier (mikade insisted). Also, try flipping dust for a bit more variety.
Mon, 06 Aug 2012 00:40:26 +0400 Stepan777 merge
Fri, 27 Jul 2012 23:16:30 -0400 nemo oops
Fri, 27 Jul 2012 19:27:39 -0400 nemo Allow AfterAttack to proceed even if the Hedgehog is dead. They could be resurrected after all.
Thu, 26 Jul 2012 21:58:25 +0400 Stepan777 uploading to youtube, it works, but user interface is still incomplete
Thu, 26 Jul 2012 21:56:47 +0400 Stepan777 merge
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, 20 Jul 2012 18:48:04 -0400 nemo Avoid desync playing back demos
Fri, 20 Jul 2012 14:16:05 -0400 nemo Try avoiding spamming the log by retaining the gears. untested.
Sun, 15 Jul 2012 15:35:28 -0400 nemo Apparently order of multiple getrandom in params is undefined. Also remove broken and pointless getrandom call.
Fri, 13 Jul 2012 16:35:42 +0400 Stepan777 merge
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.
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.
Mon, 09 Jul 2012 16:42:13 +0400 Stepan777 merge
Sun, 08 Jul 2012 18:59:25 +0400 unc0rr Fix rare condition when hog's gear stucks in an infinite loop which adds 1 to its Y coordinate not checking for drowning
Fri, 06 Jul 2012 12:50:18 +0400 Stepan777 merge
Wed, 04 Jul 2012 12:41:47 -0400 nemo free up power for use by script
Wed, 04 Jul 2012 10:56:42 -0400 nemo Allow script to set number of ammo in a crate. untested.
Sun, 24 Jun 2012 20:31:26 +0400 Stepan777 merge
Sat, 23 Jun 2012 22:39:00 -0400 nemo Second part of the change. Make collision check use the new mask bit.
Thu, 07 Jun 2012 17:42:32 +0400 Stepan777 merge
Tue, 05 Jun 2012 14:07:28 +0400 unc0rr - Allow camera movement while current hedgehog is falling
Mon, 04 Jun 2012 21:32:30 +0400 Stepan777 here it is
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.
Sat, 12 May 2012 23:55:09 +0400 unc0rr pas2c stuff again
Sat, 12 May 2012 22:44:39 +0400 unc0rr A solution to char vs string problem: mark single-letter strings with _S macro
Fri, 11 May 2012 20:01:57 +0400 unc0rr Make pas2c happier with uSound
Sat, 05 May 2012 19:04:59 +0100 koda old typed const moved to their proper unit
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 11:43:43 +0100 koda marked a couple of functions as inline
Tue, 01 May 2012 19:56:55 +0200 koda breaking news, we don't support typed consts anymore
Tue, 24 Apr 2012 23:50:40 +0400 unc0rr Get rid of overloaded functions in uAmmo
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
Sat, 17 Dec 2011 13:12:33 -0500 nemo Little tweak to reduce noob fail. Delay drill rocket explosion by 250ms after spawn in Attack. Unless you drop it straight down w/ no power, it should not explode immediately in your face.
Wed, 07 Dec 2011 11:35:03 -0500 nemo Suggestion of sheepluva's - disable timebox in crates after SD, and set to disabled in Ammo. Also disable switch hedgehog for teams of 1 hedgehog in size, and try and correct what appears to be a bug in reserved hats.
Fri, 30 Dec 2011 13:54:39 +0400 unc0rr Start refactoring uGears. Breaks build.
less more (0) tip