hedgewars/uVisualGears.pas
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, 24 Jun 2012 20:31:26 +0400 Stepan777 merge
Sun, 24 Jun 2012 09:12:53 -0400 nemo Another take at prettier crate appearance
Mon, 04 Jun 2012 21:32:30 +0400 Stepan777 here it is
Thu, 31 May 2012 15:14:39 +0400 unc0rr pas2c stuff
Sat, 05 May 2012 19:04:59 +0100 koda old typed const moved to their proper unit
Wed, 02 May 2012 16:36:11 +0100 koda rename a few Draw* routines
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)
Tue, 01 May 2012 19:56:55 +0200 koda breaking news, we don't support typed consts anymore
Sun, 22 Apr 2012 13:58:53 -0400 nemo Make clouds/flakes change direction smoothly
Thu, 05 Apr 2012 00:42:43 +0400 unc0rr More external definitions for pas2c
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.
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
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.
Mon, 09 Jan 2012 00:50:39 -0500 nemo Slow down flakes/clouds that are farther away. Also unbreak NTPX w/ SDL 1.2
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Mon, 14 Nov 2011 18:08:36 -0500 nemo Remove a bunch of unnecessary nil checks. FreeTexture does its own nil check.
Fri, 11 Nov 2011 14:05:39 -0500 nemo Dir should not be 0, but set it to 1 if 0 in case I missed some other place this was done. Also correct cloud scaling.
Thu, 10 Nov 2011 21:11:57 -0500 nemo If I'm going to be arbitrary about it, might as well go for the more minimal arbitrariness
Thu, 10 Nov 2011 17:37:24 -0500 nemo unsquash the rescaled clouds
Sun, 06 Nov 2011 14:15:43 -0500 nemo tweak % again
Sun, 06 Nov 2011 12:40:35 -0500 nemo Spread flakes out over 5 layers now (far back, mid distance, just behind land, just in front of lands and hog, near distance). Spread clouds out over 3 layers (far back, mid distance, just behind land). Add a flatten clouds option, use
Sat, 05 Nov 2011 17:24:09 -0400 nemo A bit less WTF of ice, ice chutes now work. Also tweak flake respawn positions a bit
Sat, 05 Nov 2011 12:10:49 -0400 nemo Increase rarity of near flakes (don't want them intruding in game much). Also fix stereo. Near flakes were being drawn far.
Sat, 05 Nov 2011 11:41:56 -0400 nemo Flatten flakes for halloween theme, based on feedback from sheepluva
Sat, 22 Oct 2011 11:50:55 -0400 nemo Tweak ratios to deemphasise foreground flakes further
Sat, 22 Oct 2011 00:49:55 -0400 nemo Bit of an experiment with giving flakes a bit more depth. Might need to be theme flagged, or theme flakes reworked on some themes. Looks neat in stereo. Also finally use an array for the layers
Mon, 10 Oct 2011 14:13:35 -0400 nemo Experiment in making ice more treacherous. also tweak to snow/christmas flake spawn
Thu, 15 Sep 2011 20:39:04 -0400 nemo Tweak sparkles, glass. Left glass commented out in case he prefers old behaviour.
Mon, 12 Sep 2011 07:27:34 +0200 sheepluva nemo's molotov burst effect; with a slight color modification added
Sun, 11 Sep 2011 10:22:09 -0400 nemo I do believe the only thing that was *ever* wrong with camera shake was someone decided to use getRandom on something that had always been a visual effect anyway. Pretty sure WorldDx is in fact safe to modify.
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.
Wed, 07 Sep 2011 20:12:20 -0400 nemo NEEDS TESTING. Try reenabling camera shake based on unc0rr's comment.
Sat, 03 Sep 2011 14:01:52 -0400 nemo Just for fun. Flowers! Also, use a less blatant image in ammo menu.
Fri, 26 Aug 2011 22:15:09 -0400 nemo Allow vgtSmoke to scale. Scale it down 50% for mines, so smoke doesn't seem so oversized
Thu, 18 Aug 2011 23:33:39 -0400 nemo oops
Wed, 17 Aug 2011 00:11:57 -0400 nemo Break visual gears list up into 4, to avoid iterating over entire list to draw a single layer. Also fix error in tag zoom.
Tue, 16 Aug 2011 21:37:10 -0400 nemo At mikade's request, expose screenheight/screenwidth and allow setting tag zoom level
Mon, 15 Aug 2011 16:48:39 -0400 nemo Move HealthTag dY init into AddGear
Mon, 15 Aug 2011 12:47:53 -0400 nemo Use Frame instead of State for the health flag
Mon, 15 Aug 2011 10:16:18 -0400 nemo forgot scale
Sun, 14 Aug 2011 21:49:04 -0400 nemo draw health tag relative to screen if State <> 0
Sun, 14 Aug 2011 17:49:12 -0400 nemo For mikade's sake, use old dx/dy/frametick as default, so health crosses move the same
Sun, 14 Aug 2011 17:42:26 -0400 nemo Use same visual gear for health tags and hearts.
Sun, 14 Aug 2011 16:59:55 -0400 nemo Seduction animation. New visual gear type.
Mon, 01 Aug 2011 16:45:45 -0400 nemo minor tweak since health tag was being retinted anyway. make it fade out. also disable unneeded tinted flag, save a handful of ops
Mon, 01 Aug 2011 15:37:27 -0400 nemo Make vgtHealth use Tint
Thu, 30 Jun 2011 15:09:10 +0400 unc0rr Tiny optimization: convert smooth wind indicator change gear into visual gear
Sun, 19 Jun 2011 00:49:13 +0200 koda fix water bubbles like sheepluva wanted (also code formatting)
Wed, 27 Apr 2011 15:57:23 +0400 unc0rr Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
Sun, 17 Apr 2011 12:48:32 -0400 nemo An experiment - make bazooka AI use float instead of hwFloat - should be as accurate, but faster.
Thu, 07 Apr 2011 23:54:09 +0200 sheepluva added some comments in order to confuse the GSoC students as much as possible ;D
Mon, 28 Mar 2011 20:13:03 -0400 nemo mikade really likes the snow dust
Wed, 16 Mar 2011 22:45:42 +0100 Henek should probably fix broken flakes, my bad
Wed, 02 Mar 2011 00:27:20 +0100 koda Happy 2011 :)
Sun, 16 Jan 2011 05:21:00 +0100 koda rename "frame alternate" to "wiggle" as it's more appropriate experimental3D
Sun, 02 Jan 2011 19:30:16 +0100 koda rearrange quality flags a little, disable snow rendering on rqLowRes
Sat, 01 Jan 2011 23:10:57 +0100 Henek added flake configuration also in sudden death and SDClouds for underwater
Fri, 31 Dec 2010 01:05:23 +0100 Henek sudden death changes: only change visual bit on health decrease and support for water transparancy change and clouds number change
Thu, 30 Dec 2010 01:44:55 +0100 Henek added also splash and droplets to sd and refactored theme.cfg, not all themes updated
Wed, 29 Dec 2010 16:21:30 -0500 nemo add a couple of variables to speed up UID lookups. Based on the assumption new visual gears and gears will tend to be at the end of the list. Set them on successful lookup or script gear creation, clear on delete. Oh also pick up a couple of TrevInc's translation changes
Wed, 29 Dec 2010 02:15:37 +0100 Henek sudden death: now having theme support, still some work though with config
Tue, 28 Dec 2010 23:53:37 +0100 Henek sudden death, now with visual and audial effects :D
Thu, 16 Dec 2010 15:26:19 -0500 nemo oops, forgot world offset, also add a kind of hack to the already hackish set function for visual gears
Thu, 16 Dec 2010 15:02:35 -0500 nemo offset the sprite
Thu, 16 Dec 2010 14:34:11 -0500 nemo If this works right, setting Angle (yeah, yeah) switches between an aura circle and a drawn circle. aura is scaled at size 100 being 100% - 200, 200% etc.
Mon, 13 Dec 2010 18:13:42 -0500 nemo Add override for speech bubble position 0: default, 1: background/translucent 2: foreground/opaque
Mon, 06 Dec 2010 21:15:41 -0500 nemo rendering optimisations. remove the recursive flames in explosions (might need more due to the gravity change in the new flames) but more usefully, eliminate a number of redundant Tint calls
Sun, 05 Dec 2010 22:02:30 -0500 nemo Allow hog speech when not your turn. Currently is set to 40% opacity (could be fainter) and drawn behind the hogs instead of in front. Also allows hog targetting using a number.
Thu, 02 Dec 2010 20:29:46 -0500 nemo make Tint(longword) use RGBA
Thu, 02 Dec 2010 19:51:30 -0500 nemo trying to get tint to behave more as I expect. need to ask Smaxx what he intended here, to avoid too many pointless colour calls
Thu, 02 Dec 2010 18:45:16 -0500 nemo Add an extra pass in FindPlace for AI resurrection mode to try to make it unwinnable, add DeleteGear, DeleteVisualGear, AddVisualGear, GetVisualGearValues, SetVisualGearValues to Lua
Fri, 26 Nov 2010 15:31:57 -0500 nemo add a uid to VGs for purpose of Lua manipulation
Thu, 25 Nov 2010 22:56:28 -0500 nemo Add a visual gear for drawing circles. Intent is to allow specifying areas on map for lua scripts (such as to indicate a location to go to). Could also be used to, say, circle a hog in CTF. Also add a "Critical" flag for visual gears so a gear flagges as such will always be created.
Sat, 20 Nov 2010 23:55:00 +0300 unc0rr Move localization data to uVariables, some Uses cleanup
Thu, 18 Nov 2010 16:19:55 +0300 unC0Rr Introduce uRenderUtils
Thu, 18 Nov 2010 15:55:02 +0300 unC0Rr No need for Extended data type just to draw some visual gears. It's a shame we have Math unit dependency
Thu, 18 Nov 2010 15:45:35 +0300 unC0Rr Introduce uRender
Thu, 18 Nov 2010 11:45:31 +0300 unC0Rr Introduce uTextures
Thu, 18 Nov 2010 09:12:27 +0300 unC0Rr Introduce uCommands.pas
Wed, 17 Nov 2010 22:26:34 +0300 unc0rr Some more
Wed, 17 Nov 2010 22:14:41 +0300 unc0rr uTeams
Wed, 17 Nov 2010 20:28:42 +0300 unc0rr Move variables from uConsts to uVariables
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, 14 Nov 2010 12:57:01 +0100 Palewolf Small animation on bullet impact
Fri, 12 Nov 2010 22:38:05 +0100 Palewolf Light trails for bullets
Sun, 07 Nov 2010 16:41:03 +0300 unc0rr REmove stupid int64 conversions, provide real fixes to compiler hints
Sun, 31 Oct 2010 18:04:02 +0100 koda add some phone rumbling to big explosions, airbomb and sinegun
Sun, 24 Oct 2010 22:00:36 +0200 sheepluva fix/tweak let clouds reflect wind speed and direction again + stronger
Thu, 14 Oct 2010 22:01:33 +0200 koda less warning, no rotation glitch, more comments
Sun, 26 Sep 2010 19:06:59 -0400 nemo remove windspeed from bubbles, remove initial dY from bubbles, apply dY/dX to bubbles, correct offsets on flying saucer flame graphics, add bubbles when flying saucer thrusts underwater, make flying saucer sink more slowly underwater
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.
Tue, 24 Aug 2010 17:03:44 +0200 smaxx Engine:
Mon, 23 Aug 2010 00:54:56 +0200 smaxx Engine:
Sun, 22 Aug 2010 16:31:57 +0200 smaxx Engine:
Mon, 02 Aug 2010 01:07:51 +0200 smaxx Engine:
Mon, 02 Aug 2010 00:48:15 +0200 smaxx Engine:
Sat, 31 Jul 2010 11:24:53 +0200 koda remove trailing spaces from end of line
Fri, 30 Jul 2010 18:20:42 +0200 smaxx Engine:
Wed, 14 Jul 2010 00:43:36 +0200 koda save the gl client state to get a nice 80% fps boost
Sat, 03 Jul 2010 04:42:29 +0200 koda tackling the iphoneos todo (another trial for the beginning sporadic bug, remove curl animation, don't need to go to detail page)
Sat, 03 Jul 2010 04:09:27 +0200 koda further code cleanup and less redundancy
Sat, 03 Jul 2010 00:11:23 +0200 koda interpret parameters before initializing everything
Wed, 30 Jun 2010 22:20:52 +0200 sheepluva visual gears: fixing nemo's c-style assignment/multiplications
Wed, 30 Jun 2010 12:55:33 +0200 koda turn cReducedQuality into a LongInt and provide a series of quality flags (and best of all, this is still compatible with current frontend)
Tue, 29 Jun 2010 23:30:49 -0400 nemo Remove hwFloat from VisualGears - they don't need the precision for syncing purposes, and it saves a whole lot of operations.
Wed, 30 Jun 2010 03:26:15 +0200 sheepluva clouds: up-and-down-bouncing now without evil loop
Thu, 17 Jun 2010 19:57:51 +0200 koda now it's possible to select the scheme file in the ifrontendfix a type about loading an image (iphone file system IS case senstive)
Tue, 18 May 2010 13:09:57 +0000 smxx Engine:
Fri, 07 May 2010 14:41:07 +0000 sheepluva make some of the newly migrated visual gears visible in reduced quality mode
Fri, 07 May 2010 06:29:46 +0000 sheepluva finishing the gtHealthTag -> vgtHealthTag, no segfaults and hogzombies no more, hopefully
Thu, 06 May 2010 22:02:56 +0000 sheepluva * gtHealthTag, gtSmokeTrace, gtEvilTrace, gtExplosion and gtBigExplosion are visual gears now (vgt*)
Tue, 04 May 2010 16:31:15 +0000 smxx Engine:
Sun, 02 May 2010 22:00:50 +0000 smxx Engine:
Sat, 01 May 2010 20:02:20 +0000 smxx Engine:
Thu, 29 Apr 2010 17:21:10 +0000 smxx Engine:
Fri, 09 Apr 2010 00:01:53 +0000 palewolf Fix splashes for older graphics cards
Fri, 02 Apr 2010 20:49:23 +0000 palewolf Slightly different easing equations for bigexplosion
Fri, 02 Apr 2010 08:46:57 +0000 palewolf - Added SkyOffset, HorizontOffset as global vars
Mon, 29 Mar 2010 23:20:34 +0000 koda just some very sane stuff for the iphone port (plus some macro on pascal files)
Sun, 28 Mar 2010 23:21:07 +0000 mbait Feather: sprites was moved to another layer
Sun, 28 Mar 2010 23:10:33 +0000 mbait Birdy's falling feathers
Sat, 27 Mar 2010 17:32:04 +0000 nemo New impact sounds for HHG
Sat, 27 Mar 2010 17:22:33 +0000 smxx Engine:
Sat, 27 Mar 2010 03:55:12 +0000 nemo Remove Distance from flake kick, reduce calls to Random() in flame replacing w/ checks on game tick and a little randomness.
Fri, 26 Mar 2010 17:22:52 +0000 nemo Eliminate flake kick on themes with no flakes, more than 200 flakes (city) or explosions of 25 or smaller
Fri, 26 Mar 2010 15:59:21 +0000 smxx Engine:
Thu, 25 Mar 2010 02:02:53 +0000 nemo tweak kick in case of wrapping
Mon, 22 Mar 2010 17:48:19 +0000 unc0rr Clean Augean stables
Sun, 21 Mar 2010 19:02:03 +0000 unc0rr In pascal unit is a namespace
Sun, 21 Mar 2010 15:50:38 +0000 palewolf Insert commit message here
Sun, 14 Mar 2010 14:59:08 +0000 nemo Trying to tweak kicks a bit
Sun, 14 Mar 2010 14:47:21 +0000 nemo Kick flakes a bit when an explosion is nearby. Needs testing / review by those more artistically inclined
Sat, 13 Mar 2010 14:30:41 +0000 nemo Palewolf adds droplets to his splashes
Thu, 11 Mar 2010 17:56:26 +0000 smxx Engine:
Wed, 10 Mar 2010 06:50:06 +0000 unc0rr Patch by soreau (polished by me): show floating away ammo icon when you pick up a crate
Sat, 06 Mar 2010 10:59:20 +0000 unc0rr Replace tabs with spaces using 'expand -t 4' command
Fri, 05 Mar 2010 17:32:13 +0000 nemo White/Black smoke, break out rolling barrel into its own routine, adjust rolling barrel impact damage. NEEDS TESTING
Tue, 23 Feb 2010 00:21:20 +0000 smxx Engine:
Fri, 19 Feb 2010 00:51:37 +0000 smxx Engine:
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
Sun, 24 Jan 2010 19:01:51 +0000 nemo Palewolf's smoke traces for fire.
Mon, 18 Jan 2010 05:36:08 +0000 koda replace initialization/finalization statements with custom init functions
Thu, 14 Jan 2010 16:46:50 +0000 koda makes freepascal code compatible with OBJFPC mode
Sun, 03 Jan 2010 15:40:41 +0000 koda smaller patches, one missing Sky-lowres, IMG_Init and Mix_Init (might require newer libraries), updates to SDL bindings, code cleanup, new compile flags
Thu, 05 Nov 2009 16:23:09 +0000 koda move compiler directives to standard pascal
Sun, 25 Oct 2009 16:35:09 +0000 koda fix a segfault in the iphone simulator by moving options.inc at the beginning of the file
Mon, 12 Oct 2009 16:44:30 +0000 unc0rr Huge Smaxx patch with some fixes by me:
Thu, 10 Sep 2009 15:29:28 +0000 nemo Strip trailing spaces
Thu, 11 Jun 2009 15:22:02 +0000 unc0rr Patch by koda:
Tue, 02 Jun 2009 19:02:54 +0000 nemo Remove steam on explosion effects
Tue, 02 Jun 2009 18:27:15 +0000 nemo New baseball bat sound, steam when fire lands on water (needs new hiss sound), bubbles when hedgehog drowns, more messages on
Wed, 13 May 2009 19:53:45 +0000 unc0rr Fix engine crash due to screwing up visual gears list in speechbubbles handler
Mon, 11 May 2009 21:27:31 +0000 nemo Allow speech bubble/small damage tags in "reduced quality"
Mon, 11 May 2009 21:19:47 +0000 unc0rr - Fix network (my crappy fault, triggered by nemo's patch)
Mon, 11 May 2009 19:42:29 +0000 unc0rr Remove unnecessary loop in speechbubble code, thus removing use-after-freeing bug
Mon, 11 May 2009 18:56:55 +0000 nemo Move Speech to visual gears. This checkin CRASHES on deletion of visual gear outside the doStep
Fri, 24 Apr 2009 16:53:38 +0000 unc0rr Fix health widget in reduced quality mode
Sun, 19 Apr 2009 11:59:23 +0000 unc0rr Move health sorter to visual gears:
Sun, 22 Mar 2009 14:32:22 +0000 unc0rr Apply koda's OpenGL ES compatibility patch
Sun, 08 Mar 2009 12:55:40 +0000 unc0rr patch by nemo
Fri, 20 Feb 2009 14:12:16 +0000 unc0rr 'Reduce quality' patch by nemo
Tue, 17 Feb 2009 12:58:08 +0000 unc0rr Clouds fixes by nemo
Sat, 14 Feb 2009 16:30:22 +0000 unc0rr engine part of nemo's patch
Thu, 29 Jan 2009 17:27:43 +0000 unc0rr - nemo's patch for custom cave map dimensions
Mon, 26 Jan 2009 15:57:16 +0000 unc0rr Fix clouds disappearing in the middle of map
Mon, 26 Jan 2009 15:53:43 +0000 unc0rr Fix nemo's large land patch
Sun, 25 Jan 2009 18:10:23 +0000 unc0rr Apply nemo's world resize patch
Mon, 19 Jan 2009 19:04:16 +0000 unc0rr Fix engine crash when using alt damage option
Sun, 11 Jan 2009 11:03:09 +0000 unc0rr Disable visual gears when quick replaying
Fri, 21 Nov 2008 15:58:36 +0000 unc0rr - Convert small damage tag to visual gears
Sun, 27 Jul 2008 23:01:41 +0000 unc0rr - Fix problem when clouds number is 0
Sun, 13 Jul 2008 17:58:05 +0000 unc0rr Fix clouds shaking up
Mon, 07 Jul 2008 13:06:25 +0000 unc0rr Update copyright headers a bit
Fri, 04 Jul 2008 21:20:17 +0000 unc0rr Update explosion graphics
Fri, 04 Jul 2008 19:25:00 +0000 unc0rr Better ?? implementation of explosion
Fri, 04 Jul 2008 14:40:52 +0000 unc0rr Testing explosion particles implementation
Mon, 30 Jun 2008 17:36:55 +0000 unc0rr - Fix previous commit
Sat, 24 May 2008 17:34:06 +0000 unc0rr - Start chat implementation: chat strings are on the screen
Sat, 17 May 2008 16:59:32 +0000 unc0rr Add City theme by Tiyuri
Sun, 20 Apr 2008 10:39:08 +0000 unc0rr Teleport animation
Sun, 13 Apr 2008 12:45:30 +0000 unc0rr Get rid if deprecated Surface parameter of Draw* calls
Sun, 13 Apr 2008 12:33:16 +0000 unc0rr Fix warnings
Thu, 13 Mar 2008 20:21:45 +0000 unc0rr Fix memory corrupt due to wrong parameter in sizeof()
Sat, 08 Mar 2008 11:00:04 +0000 unc0rr Fix arithmetics
Fri, 07 Mar 2008 20:25:19 +0000 unc0rr Finish flakes implementation
Fri, 07 Mar 2008 19:44:00 +0000 unc0rr Flakes concept, still need some development
Fri, 07 Mar 2008 18:10:03 +0000 unc0rr - Use cloud as 'visual gear'
Fri, 07 Mar 2008 17:43:05 +0000 unc0rr Start implementing 'visual gears' - gears, that don't need to be synchronized (clouds and flakes)
less more (0) tip