hedgewars/uTeams.pas
Wed, 10 Dec 2014 08:05:45 -0500 nemo put back the old uteams cleanup, leaks and all, to worry about post-release since my attempt to use DeleteGear was running into the fact that that procedure does way more than just delete a gear. might need an explicit cleanup routine for both to call.
Mon, 08 Dec 2014 15:02:43 -0500 nemo skip a bunch of stuff not applicable to cleanup
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.
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?).
Sat, 29 Nov 2014 21:29:11 -0500 nemo Wuzzy's changes to climbhome w/ some tweaks by me
Sat, 25 Oct 2014 11:29:45 -0400 nemo Remove switching of hog's hat to chef. do it in draw instead.
Sun, 24 Aug 2014 23:41:06 +0400 unc0rr Also convert the message if current team is gone
Sun, 24 Aug 2014 15:18:26 -0400 nemo rename of variable typo for readability
Fri, 04 Jul 2014 22:45:59 +0400 unc0rr Don't pick up own team if only recieved synced teamback message. Fixes second rejoin desync (untested).
Wed, 02 Jul 2014 23:55:00 +0400 unc0rr Fix some issues with rejoining (rejoining client still desyncs though)
Mon, 30 Jun 2014 00:07:03 +0400 unc0rr Make team disappear after 3 turns in 'gone' state
Sun, 29 Jun 2014 22:50:21 +0400 unc0rr Fix issues with unsynced F and G messages being lost if current team which is supposed to convert them to synced f/g quits
Sat, 28 Jun 2014 14:51:45 +0400 unc0rr Finish implementation of ability to take control over your team after being disconnected. Completely untested.
Wed, 12 Mar 2014 22:40:49 -0400 nemo By request. Allow lua to make random things "talk". I'm not sure if this is a good idea, buuuut.
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
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
Fri, 13 Dec 2013 22:14:02 +0400 unc0rr - /owner command to specify team owner
Tue, 03 Dec 2013 22:53:45 -0500 nemo make the team association with hog before calling gear creation. makes some lua a little easier
Thu, 28 Nov 2013 00:41:35 +0400 unc0rr Animate hedgehogs healths inside team health bar. Proper animation for the case when max team health grows is lost though.
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,
Wed, 30 Oct 2013 00:18:10 +0400 unc0rr - More HealthTex to clan structure
Tue, 29 Oct 2013 23:47:57 +0400 unc0rr Tinted crosshair (without that cool white dot in the middle)
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
Fri, 27 Sep 2013 12:58:21 +0400 unc0rr - Actually call uTexture.initModule and .freeModule
Fri, 27 Sep 2013 00:54:18 +0400 unc0rr - Load default binds from settings.ini
Sat, 21 Sep 2013 23:54:57 +0400 unc0rr Finish rework of default binds system. Default binds now work even before first turn.
Fri, 23 Aug 2013 16:02:08 +0400 unc0rr Engine loads team binds from team config. Frontend still sends default binds commands, and default binds in team config aren't processed.
Fri, 28 Jun 2013 12:47:54 -0400 nemo Remove some GLunit dependencies noticed on graph. uUtils was using it for GLfloat - but, the stuff it was returning to was usually converting to "real" anyway. uLand was including it unnecessarily. Minor refactor
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
Mon, 17 Jun 2013 23:10:45 +0200 koda really update with default webgl
Thu, 13 Jun 2013 22:27:23 +0200 koda merge cmake_pascal branch in default
Sun, 09 Jun 2013 12:22:53 +0200 koda update with default webgl
Fri, 07 Jun 2013 22:12:15 -0400 nemo ok. this could be tidier, but, I'm sick of hogs w/ unmodified thaw thawing on exactly wrong turn.
Wed, 05 Jun 2013 16:28:30 +0200 sheepluva fixed all engine compilation hints and notes (that I could see)
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 13:57:11 -0400 nemo < 256 is "thawing"
Tue, 30 Apr 2013 21:06:05 -0400 nemo this is fairer
Sun, 21 Apr 2013 17:38:17 -0400 nemo yep. I did forget to put this back
Sun, 21 Apr 2013 16:39:36 -0400 nemo So. This should fix ammo delays being off on a team that is resurrected later in the game, even up freezing delays a bit, prevent an infinite loop in freezing, and reduces fuel burn when adjusting freezer to one-fourth.
Tue, 02 Apr 2013 21:00:57 +0200 koda update webgl branch webgl
Tue, 19 Mar 2013 18:32:03 +0100 koda move RestoreHog from uGears to uTeams to break a circular dependency cmake_pascal
Wed, 06 Mar 2013 19:50:25 -0500 nemo yeah. this was a bad idea. the minor difference in thaw speed vs last hog of team never unthawing.
Wed, 06 Mar 2013 08:26:14 -0500 nemo extend time a bit. move to defrosting on team's turn. fairer than using round order I think.
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.
Mon, 25 Feb 2013 20:45:13 -0500 nemo forgot this loop icegun
Sun, 24 Feb 2013 21:44:40 -0500 nemo Messing around w/ Freezer icegun
Sun, 27 Jan 2013 00:28:57 +0100 koda update branch webgl
Thu, 10 Jan 2013 22:59:46 +0400 martin_bede Fix tons of warnings
Wed, 02 Jan 2013 10:11:42 +0100 koda also have uTouch follow the new NewTurn policy
Tue, 01 Jan 2013 14:21:51 -0500 nemo move onNewTurn, onGameTick and onGameTick20 to try and avoid ParseCommand breakage after nextturn call. Needs testing, but should be safe for most scripts. Also fix locale loading.
Sat, 29 Dec 2012 22:50:10 +0100 dag10 GCI2012: Advanced Keyboard Configuration
Tue, 25 Dec 2012 04:45:22 +0100 koda update branch with default webgl
Thu, 29 Nov 2012 23:23:19 -0500 Joe Doyle (Ginto8) Move global variables to units that use them
Thu, 22 Nov 2012 00:41:53 +0100 koda updated branch webgl
Sat, 17 Nov 2012 20:27:49 -0500 nemo oops
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
Tue, 06 Nov 2012 23:59:58 +0400 unc0rr Don't zero TeamHealth, only show empty health bar
Tue, 06 Nov 2012 08:38:37 -0500 nemo Remove duplicate files from voices (add a fallback check in uSound). Add JustYouWait as an alternate to IllGetYou. Note that IllGetYou being called every turn seems awkward. IMO they probably should be reserved for significant enemy action. Maybe played by team of heavily damaged or killed hog.
Sat, 27 Oct 2012 14:50:38 +0200 koda minor macro cleanup
Sat, 27 Oct 2012 01:16:35 +0400 unc0rr Clear hedgehog's gear Power value when switching. Should fix issue 446 (not tested, but looks obvious).
Sun, 14 Oct 2012 20:24:08 -0400 nemo Also shove using shotgun, switch off hat when not active hog
Tue, 04 Sep 2012 13:18:26 +0200 sheepluva I didn't want to do this since it seems less clean, but...
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.
Sun, 24 Jun 2012 20:31:26 +0400 Stepan777 merge
Sat, 23 Jun 2012 21:37:47 -0400 nemo Step 1. Add current hedgehog as top bit of bottom byte.
Thu, 07 Jun 2012 17:42:32 +0400 Stepan777 merge
Thu, 07 Jun 2012 01:10:57 +0200 Xeli first attempt at implementing support for keys with modifiers
Tue, 05 Jun 2012 19:33:49 +0200 Xeli only reset those keys which actually change their bindings
Mon, 04 Jun 2012 21:32:30 +0400 Stepan777 here it is
Thu, 31 May 2012 15:14:39 +0400 unc0rr pas2c stuff
Wed, 23 May 2012 23:24:03 +0400 unc0rr Don't remove already removed team
Thu, 10 May 2012 23:21:56 +0200 koda the ios port runs again, although with a few things to sort out
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 22:12:58 +0400 unc0rr GetRandom -> GetRandomf
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)
Tue, 01 May 2012 19:56:55 +0200 koda breaking news, we don't support typed consts anymore
Sun, 29 Apr 2012 21:17:27 +0200 Xeli wops
Sun, 29 Apr 2012 18:08:46 +0200 Xeli hide utilitywidget when changing turns, this also fixes some inconsistency when using targetting weapons
Sat, 28 Apr 2012 15:03:52 +0200 Xeli changed uKeys to uInputHandler to better reflect its function
Tue, 24 Apr 2012 23:50:40 +0400 unc0rr Get rid of overloaded functions in uAmmo
Sun, 22 Apr 2012 13:58:53 -0400 nemo Make clouds/flakes change direction smoothly
Sat, 21 Apr 2012 18:11:24 -0400 nemo *sigh*
Sat, 21 Apr 2012 18:05:42 -0400 nemo Seems to me placing hogs does not need 5s since it is a fixed interval now. Maybe if placing hogs was ever 0 seconds or something.
Sat, 21 Apr 2012 19:51:13 +0400 unc0rr - Remove support for variables in command handlers
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Thu, 16 Feb 2012 21:32:19 +0100 Xeli move the aim buttons to be above the jump button
Thu, 16 Feb 2012 17:48:03 +0100 Xeli added hide/show animation for the aiming keys (should animateWidget() be moved to another unit?)
Sat, 04 Feb 2012 16:22:46 +0100 Xeli Rewrote the Ammomenu:
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 14:46:57 +0300 unc0rr - Improvement to the parser
Wed, 26 Oct 2011 01:50:08 +0200 sheepluva move (prematurely) finishing game by removing all teams into engine since that's where it should happen
Sun, 16 Oct 2011 21:03:30 +0200 koda merge the changes applied to 0.9.16
Sun, 25 Sep 2011 10:48:18 -0400 nemo merge from default. Pulls in sheepluva's frontend work, and unbreaks engine cmake. 0.9.16
Thu, 22 Sep 2011 17:19:39 +0400 unc0rr Fix sheepluva's merge
Mon, 19 Sep 2011 23:25:13 +0200 sheepluva merge the 2 heads. I hope I did it right. also I increased proto and ver number
Mon, 19 Sep 2011 23:55:52 +0400 unc0rr - Unset hhdriven flag for gone hedgehog
Sat, 17 Sep 2011 13:40:54 -0400 nemo Revert 3ec95dc2b249 - causes hogs to be trapped in the teleport animation. bad breakage
Mon, 12 Sep 2011 07:38:16 +0200 sheepluva don't load key binds for AI hedgehogs
Fri, 09 Sep 2011 18:30:40 -0400 nemo Remove some unused variables and options.inc which uFloat doesn't use, probably should never use, and was getting in the way of my testcase - but most importantly, remove the inline on hwSqrt which was causing very bad math on my compiler/machine. We may have to remove more inlining. A pity.
Fri, 09 Sep 2011 22:04:40 +0400 unc0rr Don't test for hasGone in unapproved places. Now any possibility of desync on player quit is ruled out. Not tested at all.
Thu, 08 Sep 2011 21:18:44 -0400 nemo There. Push this back on to unc0rr. This effect can still desync, 'cause it always could, but at least now the two are linked w/o argument I think.
Thu, 08 Sep 2011 13:01:20 -0400 nemo Restore hog on team gone
Sun, 21 Aug 2011 19:29:04 -0400 nemo Try to avoid overlapping voices for major statements (not things like byebye or oof)
Thu, 30 Jun 2011 15:09:10 +0400 unc0rr Tiny optimization: convert smooth wind indicator change gear into visual gear
Thu, 21 Apr 2011 07:41:24 +0200 koda Clean Augean stables 2 (pascal has classnames available)
Mon, 28 Mar 2011 21:44:17 +0400 unc0rr - Use LastDamage in CheckHHDamage
Sat, 26 Mar 2011 22:49:38 +0100 koda fix a couple of loose ends
Sat, 19 Mar 2011 16:19:50 +0100 Henek some final work and buggfix for Tag Team, it is now playable
less more (0) -120 tip