hedgewars/uLandGraphics.pas
Mon, 15 Dec 2014 19:38:54 +0100 sheepluva small code tweak
Mon, 15 Dec 2014 15:24:26 +0100 sheepluva Issue 852: Using blowtorch to dig through the wrap-around border in caves fails miserably
Mon, 01 Dec 2014 23:09:35 +0100 sheepluva update land texture /after/ smoothing
Mon, 01 Dec 2014 19:24:40 +0100 sheepluva fix despeckle
Sun, 30 Nov 2014 02:41:49 +0100 sheepluva give sea world edges some icegun love
Sun, 23 Nov 2014 18:16:54 +0100 sheepluva Lua API:
Mon, 17 Nov 2014 15:25:24 +0100 sheepluva some whitespace fixes
Tue, 11 Nov 2014 23:57:46 +0300 unc0rr Fix some stuff from coverity
Tue, 12 Aug 2014 17:58:36 +0400 unc0rr Fix PlaceSprite
Sat, 02 Aug 2014 15:11:13 +0400 unc0rr Oops
Fri, 25 Jul 2014 20:41:52 +0400 unc0rr Forced sprites placing mode, exposed to scripts (not tested at all)
Fri, 13 Jun 2014 13:37:39 +0200 sheepluva I misscounted
Fri, 13 Jun 2014 12:52:20 +0200 sheepluva fix some pas2c related overloading issue
Thu, 12 Jun 2014 18:58:40 +0200 sheepluva more of the same
Thu, 12 Jun 2014 15:17:53 +0200 sheepluva fix TryPlaceOnLand's ambiguity/messup wrt to making terrain indestructible (had boolean parameter for indestructible AND landflags parameters that could contain lfIndestructibly)
Sun, 01 Jun 2014 16:13:47 -0400 nemo allow teleporting outside Land[]
Sun, 01 Jun 2014 04:17:27 +0200 sheepluva collision indicator on failed girder placement (especially useful with rubberband I guess). still needs some tweaks but I am going to bed now :P
Mon, 19 May 2014 22:46:02 +0400 unc0rr Inform frontend of lines which didn't change anything on the map in advanced drawn maps mode
Wed, 14 May 2014 22:50:07 +0400 unc0rr Count number of pixels changed during draw
Sun, 23 Feb 2014 17:31:00 +0100 sheepluva fix remaining alpha pixel issues (explosion landbacktex borders etc
Thu, 13 Feb 2014 23:53:47 +0400 unc0rr Only check alpha channel like BlitImageAndGenerateCollisionInfo does
Wed, 12 Feb 2014 00:50:15 +0400 unc0rr - pas2c recognizes typecasts in initialization expressions
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
Mon, 03 Feb 2014 14:06:11 +0100 sheepluva fix for Issue 777 (IceGun: Segfault when freezing water, with rqBlurryLand enabled)
Tue, 21 Jan 2014 22:53:15 +0100 koda merge
Sun, 19 Jan 2014 22:39:06 +0100 sheepluva fix despeckle mutilating blurry land
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, 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
Sun, 29 Dec 2013 12:37:05 +0100 koda merge
Sun, 29 Dec 2013 15:08:52 +0400 unc0rr Uberfix. TODO: ask fpc guys wtf.
Sun, 29 Dec 2013 15:07:51 +0400 unc0rr A bit of formatting
Sun, 29 Dec 2013 12:32:36 +0400 unc0rr Be friendly with pas2c
Sun, 29 Dec 2013 15:08:52 +0400 unc0rr Uberfix. TODO: ask fpc guys wtf. 0.9.20
Tue, 17 Dec 2013 00:02:52 +0400 unc0rr merge default here sdl2transition
Sun, 08 Dec 2013 16:04:40 -0500 nemo Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
Thu, 07 Nov 2013 21:06:30 +0400 unc0rr Provide more information to SDLTry sdl2transition
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
Sun, 16 Jun 2013 00:46:11 +0400 unc0rr Some fixes to make pas2c+clang compile all engine files webgl
Fri, 13 Sep 2013 21:55:53 +0400 unc0rr Skip some LandPixels manipulations in stats-only mode 0.9.19
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
Wed, 03 Apr 2013 00:16:37 +0400 unc0rr Fix rendering errors now. webgl
Wed, 03 Apr 2013 00:03:46 +0400 unc0rr Fixes to make pas2c parse this webgl
Tue, 02 Apr 2013 21:00:57 +0200 koda update webgl branch webgl
Mon, 01 Apr 2013 23:07:24 +0400 unc0rr Hey, there was inc(Radius, 4)
Wed, 27 Mar 2013 11:18:00 +0100 koda merge correction, also what's with all those trailing whitespaces?
Sat, 23 Mar 2013 21:03:27 +0200 Urbertar Remove some duplicating code from uLandGraphics.pas
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.
Fri, 22 Mar 2013 18:51:37 +0100 sheepluva remove engine warnings
Mon, 18 Mar 2013 12:13:46 -0400 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.
Sun, 17 Mar 2013 14:09:54 -0400 nemo Add some flags for a few of the magic Land values
Sun, 03 Mar 2013 19:35:57 +0200 Urbertar Fix water on ice setting
Fri, 01 Mar 2013 22:32:49 -0500 nemo tweaks to sea ice appearance
Thu, 28 Feb 2013 23:14:11 +0100 koda mysterious merge
Thu, 28 Feb 2013 23:24:50 +0200 Urbertar Draw ice on water
Thu, 28 Feb 2013 20:11:16 +0200 Urbertar Make refactoring. Remove DrawIce function
Wed, 27 Feb 2013 21:30:33 -0500 nemo Apologies if jaree had done something similar, but didn't see anything in repo pull. This removes Land[] mixed w/ LandPixels[] and streamlines things a little
Wed, 27 Feb 2013 11:17:45 -0500 nemo define ice edge colour
Wed, 27 Feb 2013 13:13:34 +0200 Urbertar Draw ice on water
Tue, 26 Feb 2013 20:26:49 -0500 nemo huh. how'd we end up needing a merge here... icegun
Tue, 26 Feb 2013 17:04:40 +0200 Urbertar Separate setting and drawing ice icegun
Tue, 26 Feb 2013 16:46:58 +0200 Urbertar Make little refactoring icegun
Tue, 26 Feb 2013 16:04:35 +0200 Urbertar Check is lanscape already ice icegun
Tue, 26 Feb 2013 09:10:48 -0500 nemo put ice colour in uVariables, add check for land that is already ice icegun
Tue, 26 Feb 2013 15:15:20 +0200 Urbertar Change shape of ice to round icegun
Mon, 25 Feb 2013 19:19:41 -0500 nemo graphics tweak. flag a couple more overeager setall HH icegun
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
Mon, 06 Aug 2012 10:18:57 -0400 nemo revert 3188794b9d87. does not do what I'd like.
Sat, 04 Aug 2012 22:51:41 -0400 nemo Perf opt for the c conversion. Use downto instead to avoid repeated function calls in the loop
Sat, 23 Jun 2012 21:37:47 -0400 nemo Step 1. Add current hedgehog as top bit of bottom byte.
Sat, 23 Jun 2012 22:44:11 +0400 unc0rr - Fix cake bug introduced in r2ccfc93c6b5e
Sun, 03 Jun 2012 18:52:22 -0400 nemo Only create textures for non-empty LandPixel chunks. This should save a fair amount of memory, especially on smaller maps, and eliminate a number of draws
Wed, 30 May 2012 22:45:30 +0400 unc0rr This should make drawn maps rendering even more faster
Wed, 30 May 2012 18:00:29 +0400 unc0rr Render drawn maps 10-500 times faster
Wed, 09 May 2012 17:33:25 -0400 nemo Reflects change in previous revision to uTypes
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
Fri, 17 Feb 2012 18:23:36 +0100 koda the most important commit of the year
Sun, 12 Feb 2012 15:11:47 -0500 nemo oops
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.
Sun, 04 Dec 2011 00:52:47 +0300 unc0rr - Give uLand more modularity
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Sun, 13 Nov 2011 13:46:26 +0300 unc0rr Introduce initialization expressions
Sun, 16 Oct 2011 15:09:26 -0400 nemo tweak. constrain to full opacity
Sun, 16 Oct 2011 11:45:46 -0400 nemo Blend the outter side too
Sat, 08 Oct 2011 00:34:41 -0400 nemo Couple more, add back misplaced clearing of Land
Fri, 07 Oct 2011 23:57:14 -0400 nemo Add landbacktex to a few maps, just to see how it looks.
Sun, 02 Oct 2011 10:36:43 -0400 nemo Basic test implementation of an ice flag. Allows for slick parts of terrain. Intended for ice gun, or "ice" mask on portions of land objects.
Fri, 30 Sep 2011 22:33:28 -0400 nemo This prevents girders from erasing landbacktex (square windows in tunnels and such), at the cost of requiring lfBasic and lfObject to be treated the same apart from graphically
Sat, 24 Sep 2011 22:16:49 +0400 unC0Rr Fix a bunch of warnings (also improves speed a bit in 32 bit code)
Tue, 13 Sep 2011 21:25:13 -0400 nemo smoothing should be after despeckling
Tue, 13 Sep 2011 00:51:02 -0400 nemo Don't set lfDamaged for small tunnels
Tue, 13 Sep 2011 00:13:01 -0400 nemo Remove extra graphical resweeps, and smooth prior to despeckling. Was getting odd desync here without Land[] seemingly incorrect at end of passes. Just removing seems to fix, and code wasn't that good an idea in its prior state anyway.
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.
Sat, 27 Aug 2011 14:54:56 -0400 nemo implement proper blending
Fri, 26 Aug 2011 20:59:55 -0400 nemo Die speckles, round N. Check that alpha is not basically empty while blending, try to match the damaged land type.
Sat, 30 Jul 2011 14:52:25 -0400 nemo kill off some speckles, crank up land gun output
Sun, 03 Jul 2011 20:14:03 -0400 nemo oops
Sun, 03 Jul 2011 20:01:13 -0400 nemo separate landpixels/land despeckling results to avoid desyncing on blurry land due to extra despeckling passes. right now, this does mean landpixels edge-of-block recheck is not done
Thu, 30 Jun 2011 18:20:41 -0400 nemo Sweep all pixels at 0 or 1 neighbours, whether damaged or not. Intended to handled output of Smooth, might be nice to cut down on the counting somehow though.
Tue, 28 Jun 2011 19:16:42 -0400 nemo sweep up some AA pixels
Sun, 26 Jun 2011 20:29:08 -0400 nemo Use an ifdef instead, add despeckling of tunnels
Sun, 26 Jun 2011 16:34:31 -0400 nemo add missing nil check, increase despeckling of background too
Mon, 20 Jun 2011 20:46:27 -0400 nemo Avoid desyncing on blurry land
Mon, 20 Jun 2011 09:32:31 -0400 nemo move smoothing into separate function, adjust call order
Mon, 20 Jun 2011 09:15:24 -0400 nemo 25%, not 50%
Mon, 20 Jun 2011 02:03:15 -0400 nemo More AA - try smoothing explosions a bit
Wed, 27 Apr 2011 15:57:23 +0400 unc0rr Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
Tue, 22 Mar 2011 23:01:26 -0400 nemo Fix endianness
Wed, 02 Mar 2011 00:27:20 +0100 koda Happy 2011 :)
Sun, 30 Jan 2011 19:05:31 +0100 Henek fixed unlimeted fuel bug for rcplane
Fri, 31 Dec 2010 00:37:39 +0100 Palewolf Snow blends into land, trys to fill the gaps
Sun, 26 Dec 2010 12:42:22 -0500 nemo oops. forgot to check on indestructible in combination with disableLandBack 0.9.15
Sun, 26 Dec 2010 11:17:01 -0500 nemo add a disabling for landback, set it if flakes are enabled
Sun, 26 Dec 2010 10:47:03 -0500 nemo revert last change. ordinary fire is fine, but HHG screws up.
Sun, 26 Dec 2010 10:31:10 -0500 nemo disable landbackpixel on small explosions
Sun, 26 Dec 2010 00:28:23 -0500 nemo remove all screwing about with uLandGraphics - have not found a way to properly handle LandBackTex through despeckling or fill checks that does not result in ugly fire damage or wiped out landbacktex. Would rather some snowflakes lines than that.
Thu, 23 Dec 2010 23:46:14 -0500 nemo more fiddling with graphics to try and satisfy both fire and snow
Wed, 22 Dec 2010 23:46:07 -0500 nemo oops. hopefully unbreak maps while still preserving mask behaviour as before (basketball nets etc)
Wed, 22 Dec 2010 19:25:00 -0500 nemo more tweaking land graphics due to snow
Wed, 22 Dec 2010 18:50:00 -0500 nemo Visual tweaks for snow
Sun, 21 Nov 2010 19:41:19 +0300 unc0rr uDebug
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
Wed, 17 Nov 2010 22:07:03 +0300 unc0rr uLand isn't that important to them
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
Sat, 21 Aug 2010 22:36:59 +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:
Thu, 01 Jul 2010 23:41:10 -0400 nemo Revert prior attempted optimisation. Gridding the land pays in some situations, but not all. Restricting to an upper bound might help, but overall, seems too fuzzy to be worth it. On one side is increased cost of Add/Delete + extra test on collision check, on the other is skipping the list iteration. Perhaps for large lists.
Thu, 01 Jul 2010 17:00:14 -0400 nemo Grid the landscape, and shortcircuit checks on the collision array if there are no nearby checked in collisions to be collided with. This is a big win for fire's ammoshove in particular. Also add a +2 that seemed missing in the check, and update fire accordingly.
Thu, 01 Jul 2010 14:17:22 -0400 nemo Restore prior optimisation with the wildly out-of-bounds tx in LandDirty removed
Thu, 01 Jul 2010 00:34:39 -0400 nemo Revert most of optimisation except for some obvious fixes to errors someone or other introduced.
Wed, 30 Jun 2010 23:15:14 -0400 nemo Store some calcs to speed up uLandGraphics a tad
Wed, 30 Jun 2010 14:52:48 +0200 koda partially removing DOWNSCALE ifdef -- only two remain and their removal requires dynamic allocation (btw this breaks low quality mode)
Fri, 25 Jun 2010 00:41:21 -0400 nemo Extend pixel sweep to recheck neighbours if erasing on edges
Sun, 20 Jun 2010 18:26:49 -0400 nemo Remove redundant test, add some temp variables to speed up the expensive CheckLand
Fri, 18 Jun 2010 14:26:04 -0400 nemo rename flags
Fri, 18 Jun 2010 14:22:14 -0400 nemo Forgot to change this flag.
Thu, 17 Jun 2010 11:41:38 -0400 nemo Make land types flagged (to allow stacking future attributes such as indestructible ice, but also for a damaged flag)
Thu, 01 Apr 2010 16:08:09 +0000 nemo Update (c) lines to 2010 as unc0rr requested - they all had varying values so I just took the first year mentioned, then tacked on -2010
Sat, 13 Mar 2010 14:19:34 +0000 nemo Fix basketball map and hog cannon.
Sat, 06 Mar 2010 10:59:20 +0000 unc0rr Replace tabs with spaces using 'expand -t 4' command
Wed, 03 Feb 2010 04:18:28 +0000 nemo Fix crash in DrawTunnel
Sun, 31 Jan 2010 22:15:53 +0000 smxx Engine:
Tue, 26 Jan 2010 21:55:51 +0000 koda complete the replacement of init/free wrappers for every unit
Thu, 14 Jan 2010 16:46:50 +0000 koda makes freepascal code compatible with OBJFPC mode
Sat, 19 Dec 2009 19:37:30 +0000 koda update SDLMain.m/.h to latest version
Sun, 29 Nov 2009 18:30:21 +0000 unc0rr Get rid of stupid ToggleLongInt and ToggleString functions
Sun, 29 Nov 2009 16:56:04 +0000 unc0rr Smaxx patch with tuning by me:
Sun, 29 Nov 2009 16:37:12 +0000 nemo New despeckle by Palewolf that pretty well on-the-fly
Fri, 20 Nov 2009 21:22:05 +0000 koda revamped file access and debug display
Thu, 05 Nov 2009 20:48:13 +0000 koda revert previous commit to remove a wip patch
Thu, 05 Nov 2009 20:47:42 +0000 koda update themes cmakefiles to use GLOB instead of listing all the files
Thu, 05 Nov 2009 16:23:09 +0000 koda move compiler directives to standard pascal
Thu, 10 Sep 2009 15:29:28 +0000 nemo Strip trailing spaces
Tue, 25 Aug 2009 20:54:11 +0000 nemo Another try at keeping blowtorch/firepunch/jackhammer from going through indestructible stuff. Shame these routines don't use hedgehog movement
Tue, 07 Jul 2009 01:53:44 +0000 nemo the -1 was a bad idea
Tue, 07 Jul 2009 01:51:46 +0000 nemo multi-column support
Mon, 15 Jun 2009 21:03:57 +0000 nemo Loop sweeping to avoid stray pixels. Avoided at first hoping there was a cleverer approach. Fortunately sweep is infrequent.
Sun, 15 Mar 2009 12:59:52 +0000 unc0rr Some tweaks by nemo
Thu, 05 Mar 2009 14:54:02 +0000 unc0rr nemo:
Sun, 01 Mar 2009 17:24:25 +0000 unc0rr 4 utilities by nemo
Thu, 19 Feb 2009 14:51:57 +0000 unc0rr Some optimization of land texture updating
Wed, 18 Feb 2009 16:46:27 +0000 unc0rr Split land texture into small ones:
Wed, 18 Feb 2009 16:35:03 +0000 unc0rr More reorganization
Sat, 14 Feb 2009 16:30:22 +0000 unc0rr engine part of nemo's patch
Mon, 26 Jan 2009 15:56:36 +0000 unc0rr Fix width/height dependant consts
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
Thu, 22 Jan 2009 17:53:39 +0000 unc0rr Add nemo's depixeling patch. Still needs some polishing for the case when we delete pixel on which hedgehog stays
Mon, 07 Jul 2008 13:06:25 +0000 unc0rr Update copyright headers a bit
Sun, 27 Apr 2008 11:40:22 +0000 unc0rr Update copyright info in source files headers
Mon, 21 Apr 2008 18:43:07 +0000 unc0rr - Fix too long delay between shotgun and deagle shots
Sun, 13 Apr 2008 12:33:16 +0000 unc0rr Fix warnings
Tue, 01 Apr 2008 15:53:52 +0000 unc0rr Fix tunnel drawing (specially for desert eagle)
Fri, 21 Mar 2008 20:41:23 +0000 unc0rr Fix drill bug
Mon, 28 Jan 2008 17:26:57 +0000 unc0rr Don't update all land texture when drawing tunnel (saves video throughput)
Sun, 27 Jan 2008 20:35:40 +0000 unc0rr - Save 8 MB of memory by freeing LandSurface and not using it anymore after game initialization
Sun, 27 Jan 2008 19:29:00 +0000 unc0rr Store Land surface in memory:
Sun, 27 Jan 2008 18:39:02 +0000 unc0rr Introduce UpdateLandTexture function to update just parts of surface
Sun, 27 Jan 2008 17:27:13 +0000 unc0rr - Update land texture after explosions
Fri, 25 Jan 2008 23:33:35 +0000 unc0rr Now show sprites too
Fri, 11 Jan 2008 23:11:53 +0000 unc0rr - Revert previous debug things
Fri, 11 Jan 2008 22:47:54 +0000 unc0rr Some debug stuff
Thu, 24 May 2007 19:41:51 +0000 unc0rr Teleportation tool
Wed, 09 May 2007 20:32:41 +0000 unc0rr - Further work on new collisions implementation
Fri, 04 May 2007 19:59:51 +0000 unc0rr Fix old bug with grenade(bomd, etc..) not colliding with attacking hedgehog
Wed, 02 May 2007 21:37:08 +0000 unc0rr Fix collision info artifacts in Land array when two objects intersect
Sun, 11 Mar 2007 17:19:28 +0000 unc0rr - Fix most of the warnings in hwengine
Wed, 07 Feb 2007 21:36:55 +0000 unc0rr Construction tool
Mon, 05 Feb 2007 19:33:24 +0000 unc0rr Update copyright information
Sat, 27 Jan 2007 14:18:33 +0000 unc0rr integer -> LongInt
Tue, 23 Jan 2007 16:59:05 +0000 unc0rr - New Land Generator
Sun, 21 Jan 2007 19:51:02 +0000 unc0rr Fixed-point arithmetics in engine.
Tue, 16 Jan 2007 16:51:12 +0000 unc0rr Some fixes, revert debug code
Thu, 12 Oct 2006 18:52:00 +0000 unc0rr - Many small fixes
Thu, 05 Oct 2006 19:40:11 +0000 unc0rr Cardinal -> Longword
Thu, 05 Oct 2006 17:02:09 +0000 unc0rr - Update more headers
Sat, 12 Aug 2006 17:41:02 +0000 unc0rr - Initialize translations earlier
Fri, 11 Aug 2006 16:17:50 +0000 unc0rr - Many type fixes
Sun, 06 Aug 2006 20:58:05 +0000 unc0rr Get rid of pointer <> integer typecasts
Wed, 14 Jun 2006 15:50:22 +0000 unc0rr - Start AI rewrite
Wed, 01 Feb 2006 20:42:53 +0000 unc0rr - Fixed compiling .)
Fri, 20 Jan 2006 19:02:50 +0000 unc0rr - Fixed game loading
less more (0) tip