hedgewars/uLandObjects.pas
Wed, 07 Feb 2018 07:38:37 +0100 Wuzzy Add theme fallback music settings
Thu, 23 Nov 2017 16:02:29 -0500 nemo hate SDL blit...
Tue, 24 Oct 2017 18:55:19 -0400 nemo w is in pixels, so presumably this needs to be *4
Tue, 24 Oct 2017 18:28:59 -0400 nemo use pitch for surfaces, land_width x2 since 16 bit
Wed, 18 Oct 2017 20:33:20 -0400 nemo extend land digest to all surfaces that could possibly be loaded into Land[] - i.e. ones that impact sync
Fri, 29 Sep 2017 22:33:15 +0200 sheepluva don't use colorkey for land spray
Fri, 29 Sep 2017 22:09:11 +0200 sheepluva rename ifTransparent to ifColorKey
Sat, 08 Apr 2017 17:21:22 +0200 KoBeWi Fix bad water flow animation
Sat, 08 Apr 2017 17:17:28 +0200 KoBeWi Water can now be animated
Thu, 06 Apr 2017 05:54:45 +0200 Wuzzy Allow to place theme objects on water
Mon, 28 Nov 2016 13:46:25 -0500 nemo add alpha for sd-tint, since CopherNeue thinks the textures might need fading
Wed, 16 Nov 2016 12:26:26 -0500 nemo Make sd-tint a theme variable so cophernue can tweak his sky tinting
Sat, 15 Oct 2016 13:28:13 +0200 sheepluva rename variables for better code-readability and fix indentation
Sat, 15 Oct 2016 13:10:16 +0200 KoBeWi support for multiple inland rectangles [reviewed, cleaned up and committed by sheepluva]
Sun, 15 May 2016 23:59:24 +0200 sheepluva implement Trim() in uUtils
Sun, 15 May 2016 13:18:34 +0200 sheepluva always include uUtils _after_ SysUtils
Tue, 09 Feb 2016 14:40:06 +0300 unC0Rr Fix possible crashes/hangs due to recent changes
Sun, 31 Jan 2016 16:07:14 +0300 unc0rr Bye-bye TryDo
Sun, 10 Jan 2016 00:45:13 +0300 unc0rr SDLTry doesn't halt engine no more
Tue, 10 Nov 2015 20:43:13 +0100 sheepluva merge default sdl2transition
Mon, 10 Aug 2015 03:53:11 +0200 sheepluva more copyright fixes
Mon, 13 Jul 2015 11:01:01 +0200 sheepluva don't keep around those right-side fort files which are just mirror images of left-side forts. generate them at run-time instead. note: inlining changes and deleting files - so consider clean build/install
Mon, 11 May 2015 19:58:54 +0300 unc0rr - Take girder height into account (fix issue #908)
Tue, 31 Mar 2015 03:41:36 +0200 sheepluva small pixel jizz tweak
Tue, 31 Mar 2015 02:30:29 +0200 sheepluva alternative explosion border smoothing
Sat, 29 Nov 2014 01:19:29 +0100 sheepluva fix some pas2c related issues
Tue, 11 Nov 2014 23:57:46 +0300 unc0rr Fix some stuff from coverity
Wed, 18 Jun 2014 15:42:01 +0200 sheepluva tweak/refactor how water is drawn
Mon, 09 Jun 2014 20:45:02 +0200 sheepluva load the girder.png of a theme a maximum of 1 times (minimum of 0), instead of once per generated bridge
Tue, 03 Jun 2014 11:09:18 -0400 nemo theme configurable sudden death music. untested
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
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
Tue, 17 Dec 2013 00:02:52 +0400 unc0rr merge default here sdl2transition
Tue, 10 Dec 2013 22:09:57 +0400 unc0rr Better diagnostic message when failing to load theme.cfg
Sun, 08 Dec 2013 16:04:40 -0500 nemo Add rubber utility. Graphics are still incomplete. Also flag snow/ice in theme config.
Thu, 28 Nov 2013 21:13:49 -0500 nemo Initial pass at bounciness. To try it out, or lfBouncy on girder in uLandGraphics (search for the word graphically)
Thu, 07 Nov 2013 22:51:34 +0400 unc0rr - Fix TryPut, so really large maps could load sdl2transition
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
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
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, 04 Apr 2013 08:10:59 -0400 nemo So. Some themes have objects that seem to be large natural extensions of the landscape. Masks allow maintaining that. Lemme know if it doesn't look good. If it doesn't, can still use for ice/bounce/indestructible. Indestructible bunker object for example.
Tue, 02 Apr 2013 21:00:57 +0200 koda update webgl branch webgl
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.
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
Wed, 14 Nov 2012 23:27:33 +0400 unc0rr Engine loads fine with basic config physfslayer
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, 14 Nov 2012 22:45:36 +0400 unc0rr Get rid of Pathz and UserPathz physfslayer
Fri, 31 Aug 2012 22:00:31 +0200 sheepluva clean up LoadImage and UserPathz/AltPath/etc related redundancy by introducing 3 new functions in uStore.pas
Sat, 18 Aug 2012 09:29:40 -0400 nemo byte order
Fri, 17 Aug 2012 07:49:54 -0400 nemo This union hasn't been needed for 5 years, and makes using other headers harder.
Wed, 15 Aug 2012 16:54:49 -0400 nemo Poor visual gear value in theme now bears little resemblance to the number of gears actually spawned. But, it certainly shouldn't be related to LAND_WIDTH.
Sat, 12 May 2012 23:55:09 +0400 unc0rr pas2c stuff again
Fri, 11 May 2012 23:36:42 +0400 unc0rr sysutils -> SysUtils
Fri, 11 May 2012 20:01:57 +0400 unc0rr Make pas2c happier with uSound
Wed, 09 May 2012 17:33:25 -0400 nemo Reflects change in previous revision to uTypes
Sat, 05 May 2012 15:17:16 +0100 koda adjust the scope of a few uSound variables and functions
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)
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
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.
Tue, 27 Dec 2011 14:14:26 -0500 nemo Experiment in eliminating transparent white from LandPixels - I think it messes up on some graphics cards. Noticed a curious white border on a girder in a theme Randy is working on. At the very least it is slightly more efficient in the blit.
Sun, 04 Dec 2011 01:00:18 +0300 unc0rr No more nested functions in code
Sun, 27 Nov 2011 23:13:22 +0300 unc0rr Countless imporvements to the parser and countless help to the parser in sources.
Sun, 06 Nov 2011 13:53:25 -0500 nemo Set default water colours in greyscale mode in case the theme does not define them, decrement piano weapon on use
Sun, 06 Nov 2011 13:00:25 -0500 nemo Add missing grayscale conversions
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 11:41:56 -0400 nemo Flatten flakes for halloween theme, based on feedback from sheepluva
Sun, 09 Oct 2011 19:48:13 -0400 nemo oops
Sun, 09 Oct 2011 19:36:09 -0400 nemo Restrict slipperiness to girders and bridges. Make girders more obviously ice.
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, 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, 26 Aug 2011 21:49:10 -0400 nemo Fix rounding error in sky colour causing visible lines
Mon, 22 Aug 2011 15:35:37 -0400 nemo Free land texture, reset sky colour.
Sun, 24 Jul 2011 00:25:35 -0400 nemo Add grayscale option for 3d, helps with colour clashing
Tue, 14 Jun 2011 11:29:15 -0400 nemo Oops. Forgot an assignment.
Sun, 12 Jun 2011 21:06:48 -0400 nemo Enable ~/.hedgewars/Data (or platform equivalent) to override/extend pretty much everything in system Data dir. Obviously desyncing can occur, so this is at user's own risk. Should simplify map etc install. Needs testing.
Thu, 02 Jun 2011 18:36:35 -0400 nemo Don't need to check for this case
Thu, 02 Jun 2011 18:08:50 -0400 nemo Experiment in making the land less jagg-y
Wed, 27 Apr 2011 15:57:23 +0400 unc0rr Fix "Mixing signed expressions and longwords gives a 64bit result" warnings
Wed, 20 Apr 2011 05:26:47 +0200 koda and now for something completely different, overlay refactoring!
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 :)
Tue, 18 Jan 2011 00:12:39 +0100 koda code cleanup
Wed, 12 Jan 2011 20:31:55 +0100 Henek added rq-sky to themes so it can set sky color for low quality. also added tint of sky on sudden death. underwater theme is an example of this
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
Fri, 24 Dec 2010 16:13:28 -0500 nemo Disable gtFlake on bordered maps
Wed, 22 Dec 2010 21:57:52 -0500 nemo apparently some sanity checks are needed here. christmas theme object dimensions are crashing placement
Wed, 22 Dec 2010 01:17:46 -0500 nemo fix desync in snow
Wed, 22 Dec 2010 01:11:48 -0500 nemo minor visual tweaks to snow
Sun, 21 Nov 2010 19:41:19 +0300 unc0rr uDebug
Sat, 20 Nov 2010 23:48:04 +0300 unc0rr Move land hash checking into commands
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
Sun, 07 Nov 2010 16:41:03 +0300 unc0rr REmove stupid int64 conversions, provide real fixes to compiler hints
Thu, 14 Oct 2010 22:01:33 +0200 koda less warning, no rotation glitch, more comments
Thu, 07 Oct 2010 16:02:28 -0400 nemo bug #83 - move test of disabled land objects into AddObjects
Tue, 24 Aug 2010 17:03:44 +0200 smaxx Engine:
Sat, 31 Jul 2010 11:24:53 +0200 koda remove trailing spaces from end of line
Wed, 14 Jul 2010 00:43:36 +0200 koda save the gl client state to get a nice 80% fps boost
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)
Sun, 20 Jun 2010 19:31:15 -0400 nemo This reduces CheckLand ~5.5% on average over prior making the overall reduction ~77.4% instead of ~81.9%. It does skip centre pixel in odd w/h, but that really shouldn't matter much in this case. Can alter if any objects are noticeably off.
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
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)
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)
Sun, 16 May 2010 17:23:30 +0000 koda update sdl functions to latest revision
Sun, 02 May 2010 22:00:50 +0000 smxx Engine:
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
Mon, 29 Mar 2010 23:20:34 +0000 koda just some very sane stuff for the iphone port (plus some macro on pascal files)
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
Wed, 24 Mar 2010 11:01:21 +0000 nemo Use MAXTHEMEOBJECTS instead of Count which appears to be 0 at this point.
Tue, 23 Mar 2010 19:06:43 +0000 nemo Free land object SDL surfaces.
Sat, 06 Mar 2010 10:59:20 +0000 unc0rr Replace tabs with spaces using 'expand -t 4' command
Mon, 01 Mar 2010 19:54:33 +0000 smxx Engine:
Thu, 25 Feb 2010 23:28:26 +0000 nemo Palewolf tweaks map object placement some more.
Tue, 09 Feb 2010 18:58:44 +0000 nemo Palewolf's patch to allow controlling proportion of various objects in themes. Desert and Nature have non-default values
Thu, 04 Feb 2010 20:45:03 +0000 smxx Server:
Sun, 24 Jan 2010 13:37:03 +0000 koda fix a nasty 196 bytes memory leak in engine, plus other stuff for iphone frontend
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
Sun, 29 Nov 2009 16:56:04 +0000 unc0rr Smaxx patch with tuning by me:
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, 29 Oct 2009 17:51:54 +0000 koda fix missing land on ppc
Thu, 10 Sep 2009 15:29:28 +0000 nemo Strip trailing spaces
Sun, 26 Jul 2009 19:19:03 +0000 nemo Make all theme numbers proportional to map MaxHedgehogs. This should mean the numbers should be as in past for 18 hedgehog map
Fri, 24 Jul 2009 19:42:06 +0000 nemo Add water opacity to theme - defaulting to 50% opaque on all themes but Eyes (80%) and Underwater (100%)
Thu, 18 Jun 2009 17:48:06 +0000 nemo Smaxx refactor of LoadImage to use flags, iphone changes by koda (mostly use of rgba instead of rgb)
Thu, 11 Jun 2009 15:22:02 +0000 unc0rr Patch by koda:
Thu, 26 Mar 2009 13:59:27 +0000 unc0rr patch by nemo: water bouncing + some tweaks
Sun, 22 Mar 2009 20:56:22 +0000 unc0rr use glVertexPointer to render water
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
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
Tue, 27 Jan 2009 15:34:37 +0000 unc0rr nemo's template patch (invertion)
Sun, 25 Jan 2009 18:10:23 +0000 unc0rr Apply nemo's world resize patch
Fri, 19 Sep 2008 20:34:41 +0000 unc0rr - Unbreak previously broken themes
Fri, 19 Sep 2008 19:58:57 +0000 unc0rr Fix bug #61 http://fireforge.net/tracker/index.php?func=detail&aid=61&group_id=11&atid=125
Fri, 12 Sep 2008 18:00:49 +0000 unc0rr Allow theme to set custom water color
Sun, 10 Aug 2008 19:55:08 +0000 unc0rr Enable back rendering objects that are put on top of land texture
Fri, 08 Aug 2008 20:54:55 +0000 unc0rr Step 5: Finally... we have theme objects with alpha-channel!
Fri, 08 Aug 2008 20:45:13 +0000 unc0rr - Fix previous commit
Fri, 08 Aug 2008 20:38:26 +0000 unc0rr Allow theme-customizable water and girder
Fri, 08 Aug 2008 20:33:57 +0000 unc0rr Step 4: repair girder rendering (girder is 32bit now)
Fri, 08 Aug 2008 20:13:32 +0000 unc0rr Step 3: Maps are rendered correctly, but without objects yet
Fri, 08 Aug 2008 19:39:22 +0000 unc0rr Step 2: painted maps loading correctly
Fri, 08 Aug 2008 19:34:55 +0000 unc0rr Start implementing support for 32bit sprites concerned in map generation process.
Wed, 06 Aug 2008 12:47:42 +0000 unc0rr Fix small glitch when placing girder on map
Sun, 27 Jul 2008 22:26:47 +0000 unc0rr - Add ability to choose clouds number in theme config file
Fri, 25 Jul 2008 19:26:44 +0000 unc0rr Enable music dependance on current land theme
Tue, 22 Jul 2008 18:31:34 +0000 unc0rr Load flakes information from theme.cfg when playing painted map
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
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 17:43:05 +0000 unc0rr Start implementing 'visual gears' - gears, that don't need to be synchronized (clouds and flakes)
Fri, 01 Feb 2008 16:39:37 +0000 unc0rr - Store sky color in theme cfg file
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, 26 Nov 2006 20:33:46 +0000 unc0rr Less complex theme.cfg format ;) Information about image dimensions is obtained from image
Thu, 05 Oct 2006 17:02:09 +0000 unc0rr - Update more headers
Thu, 05 Oct 2006 16:33:18 +0000 unc0rr Relicense to GPL
Fri, 11 Aug 2006 16:17:50 +0000 unc0rr - Many type fixes
Thu, 20 Jul 2006 20:11:32 +0000 unc0rr - Fixed bug with hedgehog under water using rope
Sat, 08 Jul 2006 21:40:03 +0000 unc0rr - Unicode support for team and hedgehogs names
Fri, 23 Jun 2006 20:02:41 +0000 unc0rr - Many AI improvements
Wed, 25 Jan 2006 19:45:39 +0000 unc0rr - Replaced water sprite
Fri, 20 Jan 2006 19:02:50 +0000 unc0rr - Fixed game loading
Sun, 15 Jan 2006 23:32:58 +0000 unc0rr - Get rid of hwserv and runhelper
Sat, 31 Dec 2005 13:45:09 +0000 unc0rr - New rope
Tue, 27 Dec 2005 10:19:21 +0000 unc0rr - Fixed slow sprite blt
Fri, 16 Dec 2005 20:57:14 +0000 unc0rr - improve land generation
Mon, 05 Dec 2005 21:46:15 +0000 unc0rr Add theme objects to land
less more (0) tip