hedgewars/uAmmos.pas
Tue, 07 Jul 2020 00:17:05 +0200 Wuzzy Remove Vamp/Resurrect ammos in gfInvulnerable mode
Mon, 07 Oct 2019 14:18:31 +0200 Wuzzy Make sure AI doesn't skip after collecting ammo. Fixes bug 796
Tue, 27 Aug 2019 06:05:03 +0200 Wuzzy King Mode: Automatically select teleport in king placement phase
Wed, 17 Jul 2019 00:33:55 +0200 Wuzzy Fix cursor not being disabled when teleporting hog into water
Mon, 08 Jul 2019 21:44:26 +0200 Wuzzy King Mode: Fix king placement phase not working correctly with multiple teams in a clan
Fri, 05 Oct 2018 20:20:09 +0200 Wuzzy Hide creeper from frontend, prevent addition of creeper ammo via ammo scheme
Tue, 17 Jul 2018 19:44:29 +0200 Wuzzy Clarify the wording of a few checkFails messages
Sun, 08 Jul 2018 02:06:08 +0200 Wuzzy Fix GetAmmo getting wrong ammo count
Sun, 08 Jul 2018 01:30:13 +0200 Wuzzy New Lua API function: GetAmmo, to get ammo config
Sat, 21 Oct 2017 23:03:52 +0200 Wuzzy Fix AddAmmo setting ammo to 99 when trying to add infinite ammo
Wed, 11 Oct 2017 20:16:00 +0200 Wuzzy Fix rope angle possible to go below 0° if having secondary weapon selected
Sun, 08 Oct 2017 04:57:28 +0200 Wuzzy Fix team getting inf. ammo when stockpiling >= 100 ammo
Thu, 05 Oct 2017 01:37:49 +0200 Wuzzy Show selected weapon again when using it in inf attack mode
Tue, 04 Apr 2017 17:02:38 +0200 Wuzzy Lua callback: onUsedAmmo, after using up an ammo
Mon, 09 May 2016 22:49:31 +0200 Wuzzy Add Lua API function SetAmmoTexts (see issue 82)
Thu, 04 Feb 2016 21:04:08 +0300 unc0rr Fix a crasher
Sun, 31 Jan 2016 16:07:14 +0300 unc0rr Bye-bye TryDo
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
Sat, 29 Nov 2014 01:19:29 +0100 sheepluva fix some pas2c related issues
Sat, 25 Oct 2014 11:29:45 -0400 nemo Remove switching of hog's hat to chef. do it in draw instead.
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
Sat, 04 Jan 2014 23:55:54 +0400 unc0rr merge default webgl
Mon, 25 Nov 2013 10:12:18 +0100 sheepluva don't let (am)Nothing change allowed aiming angles. e.g. fixes aiming problems when on last rope. please test for possible side effects (flying saucer and whatnot)
Thu, 31 Oct 2013 10:46:52 -0400 nemo Prevent using SetAmmo to set amNothing to anything.
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, 16 Aug 2013 13:43:08 +0400 unc0rr Preserve weapon settings in AddAmmo. Fixes issue 450.
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
Thu, 16 May 2013 14:05:16 -0400 nemo bleah. sorry for spam. this reverts the first attempt in uAmmos
Thu, 16 May 2013 14:02:33 -0400 nemo Yeah, this isn't safe either. Caused bug #629 - removing.
Wed, 15 May 2013 23:33:38 -0400 nemo better way to do it that avoids screwing up angle bounds on single saucer
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
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
Sun, 14 Oct 2012 13:35:15 -0400 nemo First pass at cleaver.
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.
Thu, 05 Jul 2012 20:53:55 +0400 unc0rr Fix crash when hedgehog dies while switching from it
Wed, 04 Jul 2012 10:56:42 -0400 nemo Allow script to set number of ammo in a crate. untested.
Thu, 10 May 2012 11:29:18 +0400 unc0rr uAmmos.c now compiles (3 warnings though)
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, 24 Apr 2012 23:50:40 +0400 unc0rr Get rid of overloaded functions in uAmmo
Sat, 21 Apr 2012 19:51:13 +0400 unc0rr - Remove support for variables in command handlers
Sun, 11 Mar 2012 20:12:31 -0400 nemo Start on adding drowning bonus to bat/firepunch/whip. AI still is not smart enough to change direction when firepunching to face the water, or change the angle of the bat.
Sat, 10 Mar 2012 16:10:38 -0500 nemo Set default empty ammo sets. Current mission handling appears to not pass any default ammo set, so script was never getting a chance to set its own.
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Sun, 05 Feb 2012 20:08:17 -0500 nemo unbreak ammo menu
Sun, 05 Feb 2012 15:52:26 +0100 koda BUUUUURN OBJC AMMOMENU BUUUURNhg diff! (on a separate note, this reduces the codesize by ~37k)
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.
Wed, 07 Dec 2011 19:38:33 -0500 nemo oops. this is more efficient anyway.
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.
Wed, 30 Nov 2011 23:16:44 +0100 Henek present somthing that could be taken as a structure
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
Tue, 20 Sep 2011 16:00:20 -0400 nemo check for amNothing
Sun, 04 Sep 2011 16:42:51 -0400 nemo Add check on amNothing
Fri, 26 Aug 2011 21:38:11 -0400 nemo Correctly check for failure to look up ammo, check for damaged mines
Wed, 24 Aug 2011 23:37:03 -0400 nemo another silly mistake
Wed, 24 Aug 2011 15:09:41 -0400 nemo Scripting changes. Add override of mapgen, templatefilter. Expose waterline, add "GetAmmoCount". Default to amNothing in uAmmos if entry is not found.
Sun, 21 Aug 2011 22:41:10 -0400 nemo make it easier to do portal shoppa, ensure structure doesn't show up by accident in a weaponset
Sun, 07 Aug 2011 13:32:28 -0400 nemo disable extra time in timeless mode
Wed, 29 Jun 2011 17:32:05 +0400 unc0rr Simplify code using 'with', convert some tabs to spaces
Sun, 26 Jun 2011 13:38:47 -0400 nemo Allow control of grenade bounce. Not sure if this is a good idea, but has been requested a lot, so...
Mon, 20 Jun 2011 19:00:19 -0400 nemo oops
Mon, 20 Jun 2011 18:58:26 -0400 nemo Allow scripting to set arbitrary weapon counts
Thu, 21 Apr 2011 07:41:24 +0200 koda Clean Augean stables 2 (pascal has classnames available)
Sun, 10 Apr 2011 14:04:56 -0400 nemo Fix a few crosshair bugs. Disable ShowCrosshair and just decide when drawing.
Sun, 20 Mar 2011 12:52:36 -0400 nemo Adjust conditions for showing crosshair
Wed, 02 Mar 2011 00:27:20 +0100 koda Happy 2011 :)
Sun, 02 Jan 2011 18:12:16 +0100 koda remove obsolete TrainingFlags code
Sun, 02 Jan 2011 13:54:28 +0100 sheepluva display caption for ammotype amNothing when switched to so that players know what just happened
Sun, 21 Nov 2010 19:41:19 +0300 unc0rr uDebug
Sun, 21 Nov 2010 19:07:43 +0300 unc0rr Remove uAmmos dependaency from uCommands
Sun, 21 Nov 2010 16:53:31 +0300 unc0rr uCaptions
Thu, 18 Nov 2010 12:12:51 +0300 unC0Rr Haven't found a better place than uIO for OutError
Thu, 18 Nov 2010 11:32:47 +0300 unC0Rr Move some stuff from uMisc to uUtils
Thu, 18 Nov 2010 09:12:27 +0300 unC0Rr Introduce uCommands.pas
Wed, 17 Nov 2010 22:14:41 +0300 unc0rr uTeams
Wed, 17 Nov 2010 17:45:55 +0300 unC0Rr Move variables from uMisc to uVariables
Wed, 17 Nov 2010 17:22:36 +0300 unC0Rr Introduce unit uTypes in order to remove some cyclic unit dependencies
Sun, 21 Nov 2010 04:10:39 +0100 koda display an empty table for missions
Mon, 15 Nov 2010 14:39:58 -0500 nemo This should fix Chip's bug with unlimited teleports. Also remove more hog placement special behaviour and just use ResetWeapons with a check against PlacingHogs mode
Sun, 14 Nov 2010 23:28:45 +0100 Henek resets CurAmmoType in ResetWeapons
Sun, 14 Nov 2010 12:53:33 -0500 nemo fix placement 0.9.14.1
Tue, 09 Nov 2010 22:44:12 -0500 nemo hide crosshair when switching to no weapon
Sat, 06 Nov 2010 12:56:09 -0400 henek Decouple forts from divide/mines/explosives, since those can be set individually these days
Fri, 05 Nov 2010 22:32:00 -0400 henek Remove the last vestiges of the shoppa hack by adding 2 spinners for percentage health and amount of health in crate, also update translations and increase SD spinner (some users have requested it)
Fri, 05 Nov 2010 19:07:17 -0400 nemo 2 minor bugfixes. fix shoppa hack, strip translation from 2 scheme/weapon filters - breaks otherwise.
Wed, 03 Nov 2010 13:00:17 -0400 nemo Extend shoppa hack to disable health crates to saucer and portal modes as well
Mon, 11 Oct 2010 21:45:25 +0200 koda merge
Mon, 11 Oct 2010 12:13:06 -0400 nemo Remove bit of debug code from prior, don't switch weapons on end of turn (stick with whatever the last weapon was)
Sun, 10 Oct 2010 21:43:22 -0400 nemo You win fillammostore
Mon, 11 Oct 2010 03:28:15 +0200 koda moved some utilities to a separate column with round buttons
Sun, 10 Oct 2010 20:16:17 -0400 nemo Correct another bug in slot switching, adjust width of theme list, really truly fix reset of weps (I hope) should also fix infinite teleport bug in place hogs mode. Slow update of health to 5s for inf attack mode.
Sun, 10 Oct 2010 12:08:16 -0400 nemo Add per-hog ammo option, initial stubs for infinite attack and weapon reset, fix a bug in ammo switching
Sat, 09 Oct 2010 18:01:47 +0200 koda merge
Sat, 09 Oct 2010 18:00:53 +0200 koda made the new menu toggable
Wed, 06 Oct 2010 20:20:54 -0400 nemo Set ammo to amNothing after using up the current ammo. This should reduce noob fail where they blow themselves up w/ bazooka.
Mon, 06 Sep 2010 16:23:47 -0400 nemo Change all use of curslot/idx to CurAmmoType to try and avoid some bugs with use of last weapon.
Sat, 31 Jul 2010 11:24:53 +0200 koda remove trailing spaces from end of line
Sun, 02 May 2010 22:00:50 +0000 smxx Engine:
Sun, 02 May 2010 18:42:19 +0000 koda js' patch that restores Vsync on snow leopard
Fri, 16 Apr 2010 14:37:28 +0000 smxx Engine/Frontend:
Wed, 07 Apr 2010 03:29:38 +0000 nemo Correct interaction of cave and placement.
Fri, 02 Apr 2010 15:41:39 +0000 nemo Alter distribution of probabilities from frontend, allow utility crates in shoppa if probabilities permit (still ban health crates)
Sat, 27 Mar 2010 17:03:27 +0000 nemo Tidier way to handle crosshair drawing. show/hide based on CurAmmoGear for alt attack weps
Fri, 26 Mar 2010 12:34:18 +0000 smxx Engine:
Tue, 23 Mar 2010 16:53:45 +0000 unc0rr wtf
Sun, 21 Mar 2010 19:02:03 +0000 unc0rr In pascal unit is a namespace
Sun, 21 Mar 2010 16:04:57 +0000 nemo FillAmmoStore is reused - check for before start of play.
Sun, 21 Mar 2010 13:41:11 +0000 nemo Remove Timer2 from Gear, add a Timer to Hedgehog
Sun, 21 Mar 2010 03:51:53 +0000 nemo Add a 2nd timer variable due to conflicts. This could perhaps use renaming
Sun, 14 Mar 2010 20:23:11 +0000 nemo An animation requested by Tiy. Needs testing.
Sat, 06 Mar 2010 10:59:20 +0000 unc0rr Replace tabs with spaces using 'expand -t 4' command
Thu, 25 Feb 2010 04:04:26 +0000 nemo Awesome patch from TheException - adds editing of weapon delay and crate count. Tiy might want to tweak the crate graphic, could make be smaller or less overlappy.
Wed, 24 Feb 2010 01:55:59 +0000 nemo Show the ammo menu of the last local non-bot team when not local turn. needs testing
Sun, 21 Feb 2010 22:01:59 +0000 nemo ok... how about this?
Sun, 21 Feb 2010 21:55:34 +0000 nemo Be sure to initialise count for teleport in placement mode
Tue, 16 Feb 2010 03:03:26 +0000 nemo Ensure InitialCount gets a value
Tue, 16 Feb 2010 02:23:12 +0000 nemo Should be equivalent, but in any case, not needed
Wed, 10 Feb 2010 17:31:12 +0000 smxx Engine:
Mon, 08 Feb 2010 15:56:43 +0000 nemo Some handling of interaction between king mode and place hogs mode.
Mon, 08 Feb 2010 12:49:58 +0000 nemo Yay for burning through revision numbers
Mon, 08 Feb 2010 12:49:41 +0000 nemo redundant
Mon, 08 Feb 2010 12:46:09 +0000 nemo Allow for ammos w/o teleports
Mon, 08 Feb 2010 03:03:18 +0000 nemo Mode to place hogs at start of game. Will probably need a bit more testing.
Sun, 31 Jan 2010 19:32:43 +0000 nemo Only add turn timeout for weapons that don't already have a timeout
Sun, 31 Jan 2010 19:25:31 +0000 nemo oops. forgot skip turn
Sun, 31 Jan 2010 19:24:22 +0000 nemo Remove king invulnerability, disable everything but teleport instead.
Tue, 26 Jan 2010 21:55:51 +0000 koda complete the replacement of init/free wrappers for every unit
Tue, 26 Jan 2010 04:13:37 +0000 nemo Free up some unfreed memory. Needed for Koda's iphone lib work
Fri, 20 Nov 2009 21:22:05 +0000 koda revamped file access and debug display
Mon, 09 Nov 2009 20:29:21 +0000 unc0rr - Formatting changes
Thu, 05 Nov 2009 16:23:09 +0000 koda move compiler directives to standard pascal
Thu, 15 Oct 2009 19:13:08 +0000 nemo Tweak shoppa probabilities
Thu, 15 Oct 2009 17:42:21 +0000 nemo Initial molotov cocktail. Still needs graphics, tweaking of fire behaviour. Also changed probabilities for default weapon sets
Thu, 15 Oct 2009 15:49:42 +0000 nemo Restore crate probability restriction for "shoppa" weapon sets
Mon, 12 Oct 2009 19:39:47 +0000 unc0rr Smaxx: less hacks
Mon, 12 Oct 2009 16:58:05 +0000 unc0rr Switch to first legal ammo when hedgehog can't hold current one
Mon, 12 Oct 2009 16:53:01 +0000 unc0rr Real fix to ammo slot overflow (bug triggered by r2411 fix)
Thu, 08 Oct 2009 00:58:17 +0000 koda fix a very rare bug in which CurSlot becomes greater than cMaxCurSlot
Thu, 10 Sep 2009 12:23:02 +0000 unc0rr - Support probabilies from ammo scheme in engine
Thu, 10 Sep 2009 12:16:11 +0000 unc0rr Implement probability editor for weapon schemes (engine doesn't support that yet)
Thu, 10 Sep 2009 03:03:04 +0000 unc0rr Fix braindead check
Wed, 09 Sep 2009 01:55:37 +0000 nemo Ok. This time I think I have it. amNothing should work.
Tue, 08 Sep 2009 19:44:49 +0000 nemo Add an empty weapon to avoid selection of weapons which aren't yet ready. Might all be useful to switch to amNothing in certain situations, like after using up all ropes, instead of bazooka.
Fri, 10 Jul 2009 00:39:16 +0000 nemo damn mortars
Fri, 03 Jul 2009 22:02:13 +0000 koda typos
Sat, 20 Jun 2009 07:50:03 +0000 unc0rr Don't show enemy's number of ammo
Tue, 02 Jun 2009 18:59:13 +0000 nemo A few FIXME flags for easy grepping
Wed, 27 May 2009 15:55:14 +0000 nemo explicit nesting
Sun, 17 May 2009 18:02:21 +0000 nemo I suck at pascal booleans
Sat, 16 May 2009 14:51:04 +0000 nemo Should disable construction in the shoppa hack, I think. Construction is annoying
Thu, 30 Apr 2009 20:13:44 +0000 unc0rr nemo's great patch:
Sun, 12 Apr 2009 15:24:08 +0000 unc0rr nemo's patch + ropes ammo scheme hack
Sun, 12 Apr 2009 12:50:43 +0000 unc0rr - Another way of defining official server
Thu, 26 Mar 2009 19:22:40 +0000 unc0rr Fix bug with rope and bazooka
Mon, 23 Mar 2009 19:03:51 +0000 unc0rr patch by nemo:
Sun, 22 Mar 2009 17:41:07 +0000 unc0rr nemo's patch for girder + some fixes
Sun, 15 Mar 2009 17:47:06 +0000 unc0rr More game options by nemo
Sat, 07 Mar 2009 17:42:54 +0000 unc0rr - nemo's patch: some animations, zero probability for infinite weapons
Sun, 01 Mar 2009 17:30:10 +0000 unc0rr a patch :P
Sun, 01 Mar 2009 17:24:25 +0000 unc0rr 4 utilities by nemo
Sun, 01 Feb 2009 15:58:44 +0000 unc0rr Apply nemo's patch polished by me:
Mon, 07 Jul 2008 13:06:25 +0000 unc0rr Update copyright headers a bit
Mon, 02 Jun 2008 19:15:53 +0000 unc0rr Fix a bug with automatic weapon switching when attacking from rope
Sun, 18 May 2008 10:54:43 +0000 unc0rr - Fix bug with picking up ammos from cases, when total ammo count may become more than AMMO_INFINITE
Sun, 11 May 2008 19:30:40 +0000 unc0rr Remove AltSlot and AltAmmo fields of Hedgehog record, as they are not actually needed
Sun, 27 Apr 2008 11:40:22 +0000 unc0rr Update copyright info in source files headers
Tue, 05 Feb 2008 18:25:46 +0000 unc0rr - Handle new command in game record and net
Tue, 05 Feb 2008 17:53:38 +0000 unc0rr - New command 'set weapon'
Sun, 08 Jul 2007 17:16:46 +0000 unc0rr - Switch to bazooka (or whatever) after use of some weapon (fixes problem with bots)
Mon, 02 Jul 2007 21:33:21 +0000 unc0rr Convert teams list to array
Mon, 02 Jul 2007 16:21:07 +0000 unc0rr Fix some warnings
Sun, 03 Jun 2007 17:21:57 +0000 unc0rr - Fix some bugs
Mon, 05 Feb 2007 20:26:13 +0000 unc0rr - Implement hack to let ammo stores work without needed assistance of frontend
Mon, 05 Feb 2007 19:33:24 +0000 unc0rr Update copyright information
Sat, 27 Jan 2007 14:18:33 +0000 unc0rr integer -> LongInt
Sun, 21 Jan 2007 19:51:02 +0000 unc0rr Fixed-point arithmetics in engine.
Sun, 10 Dec 2006 15:55:53 +0000 unc0rr - Implement ammo cases
Tue, 05 Dec 2006 17:27:27 +0000 unc0rr Ammo schemes and ammo stores support in engine
less more (0) tip