supertux.git
20 years agofix old levels background speed not getting adjusted to new format
Matthias Braun [Thu, 9 Sep 2004 10:11:56 +0000 (10:11 +0000)]
fix old levels background speed not getting adjusted to new format

SVN-Revision: 1882

20 years agoImplemented mirroring in Sprite, so that now it's possible to adjust left offsets.
Ricardo Cruz [Thu, 9 Sep 2004 10:00:00 +0000 (10:00 +0000)]
Implemented mirroring in Sprite, so that now it's possible to adjust left offsets.

SVN-Revision: 1881

20 years agoAdded a test level that shows several glitches.
Marek Moeckel [Thu, 9 Sep 2004 09:43:07 +0000 (09:43 +0000)]
Added a test level that shows several glitches.
See mailing list for more info

SVN-Revision: 1880

20 years agodo nto enable debug by default, otherwise we'll forget to disable that before making...
Matthias Braun [Wed, 8 Sep 2004 20:21:47 +0000 (20:21 +0000)]
do nto enable debug by default, otherwise we'll forget to disable that before making a release

SVN-Revision: 1879

20 years agoNetsrot patch duplicated an include.
Ricardo Cruz [Wed, 8 Sep 2004 17:40:02 +0000 (17:40 +0000)]
Netsrot patch duplicated an include.

SVN-Revision: 1878

20 years agoapplied netsrot's patch
Matthias Braun [Wed, 8 Sep 2004 17:32:32 +0000 (17:32 +0000)]
applied netsrot's patch

SVN-Revision: 1877

20 years agoThis should definitively fix frames out of range.
Ricardo Cruz [Wed, 8 Sep 2004 14:12:48 +0000 (14:12 +0000)]
This should definitively fix frames out of range.

SVN-Revision: 1876

20 years agoThis checking is useless. It is done before drawing on update().
Ricardo Cruz [Wed, 8 Sep 2004 13:59:09 +0000 (13:59 +0000)]
This checking is useless. It is done before drawing on update().

SVN-Revision: 1875

20 years agoThis should fix animations. (bugs in the line of bomb explosions)
Ricardo Cruz [Wed, 8 Sep 2004 13:50:36 +0000 (13:50 +0000)]
This should fix animations. (bugs in the line of bomb explosions)
Though, there are still warnings of out of range animations. Would be nice if someone could have a look at this.

SVN-Revision: 1874

20 years agoRemoved stupid checking.
Ricardo Cruz [Wed, 8 Sep 2004 13:48:41 +0000 (13:48 +0000)]
Removed stupid checking.

SVN-Revision: 1873

20 years agoFixed small Tux standing images used.
Ricardo Cruz [Wed, 8 Sep 2004 13:33:30 +0000 (13:33 +0000)]
Fixed small Tux standing images used.

SVN-Revision: 1872

20 years agoMade use of small tux.
Ricardo Cruz [Wed, 8 Sep 2004 11:23:29 +0000 (11:23 +0000)]
Made use of small tux.
Support for null body parts.

SVN-Revision: 1871

20 years agoAdded entries for small tux.
Ricardo Cruz [Wed, 8 Sep 2004 11:22:32 +0000 (11:22 +0000)]
Added entries for small tux.

SVN-Revision: 1870

20 years agoCreated a Super Tux Icon file in ICO format (as used by windows platforms).
Benjamin P. Jung [Wed, 8 Sep 2004 10:44:49 +0000 (10:44 +0000)]
Created a Super Tux Icon file in ICO format (as used by windows platforms).
The ico file contains a 16*16px and a 32*32px version of the original Super Tux icon.

The icon was used using 'icotool' from the 'icoutil' package by Oskar Liljeblad. (See http://www.student.lu.se/~nbi98oli/icoutils.html)

SVN-Revision: 1869

20 years agoAdded split-up body parts of the small Super Tux character. They have a size of 48...
Benjamin P. Jung [Wed, 8 Sep 2004 10:00:53 +0000 (10:00 +0000)]
Added split-up body parts of the small Super Tux character. They have a size of 48*48px each as it was the easiest way 'ter do them.
Some parts might still be missing (e.g. arms-skid+grab and arms-jump+grab).

SVN-Revision: 1868

20 years agoFixed application of a color mask.
Ricardo Cruz [Sun, 5 Sep 2004 09:27:24 +0000 (09:27 +0000)]
Fixed application of a color mask.
If anyone wants to code a less expensive function, feel free to do so.

SVN-Revision: 1867

20 years agoAdded the ducking entries for Benjamin's duck Tux body parts.
Ricardo Cruz [Sat, 4 Sep 2004 21:16:40 +0000 (21:16 +0000)]
Added the ducking entries for Benjamin's duck Tux body parts.

SVN-Revision: 1866

20 years agoAdded grabbing while ducking.
Ricardo Cruz [Sat, 4 Sep 2004 21:16:05 +0000 (21:16 +0000)]
Added grabbing while ducking.

SVN-Revision: 1865

20 years agoChanged the Super Tux icons. They no longer show the small tux character with way...
Benjamin P. Jung [Sat, 4 Sep 2004 16:22:58 +0000 (16:22 +0000)]
Changed the Super Tux icons. They no longer show the small tux character with way too big eyes but instead the original small Super Tux character from within the game.
I also increased the size of the PNG image icon from 44*44 to 48*48px (standard icon size for big GNOME/KDE panels afaik)

SVN-Revision: 1864

20 years agoUpdated the image as it contained some pixels that were 'not ment to be'.
Benjamin P. Jung [Sat, 4 Sep 2004 16:03:54 +0000 (16:03 +0000)]
Updated the image as it contained some pixels that were 'not ment to be'.

SVN-Revision: 1863

20 years ago- Added images for ducking big Super Tux.
Benjamin P. Jung [Sat, 4 Sep 2004 15:59:10 +0000 (15:59 +0000)]
- Added images for ducking big Super Tux.

SVN-Revision: 1862

20 years agoFixed Tux Y-offset, according to Benjamin's position.
Ricardo Cruz [Sat, 4 Sep 2004 14:58:54 +0000 (14:58 +0000)]
Fixed Tux Y-offset, according to Benjamin's position.

SVN-Revision: 1861

20 years ago- Added colorized versions of the 'new' extended font which features Latin Extended...
Benjamin P. Jung [Sat, 4 Sep 2004 14:40:02 +0000 (14:40 +0000)]
- Added colorized versions of the 'new' extended font which features Latin Extended-A characters.

SVN-Revision: 1860

20 years ago- Added Latin Extended-A characters to all the white letters (U+0100 to U+017F).
Benjamin P. Jung [Sat, 4 Sep 2004 14:28:13 +0000 (14:28 +0000)]
- Added Latin Extended-A characters to all the white letters (U+0100 to U+017F).
- Small white letters (white-small.png) now support Latin1 + Latin Ext.-A. The old 'ATARI-like' letters are no longer used for the small font but instead a modified version of the big font is being used.
- Guillemets (right & left) are a bit smaller now (someone did complain that they were wrong otherwise)

SVN-Revision: 1859

20 years ago- Fixed a typo (this -> these)
Benjamin P. Jung [Sat, 4 Sep 2004 14:00:56 +0000 (14:00 +0000)]
- Fixed a typo (this -> these)
- Content now fits nicely into a 80 characters wide window.

SVN-Revision: 1858

20 years agoAdded german translations to the Supertux Desktop Entry file
Benjamin P. Jung [Sat, 4 Sep 2004 13:53:44 +0000 (13:53 +0000)]
Added german translations to the Supertux Desktop Entry file
Lines 'Name[de]=(...)' &  'Comment[de]=(...)' have been inserted.

SVN-Revision: 1857

20 years agoAdded alpha transparency rather than a black background by Daniel Alston!
Ricardo Cruz [Wed, 1 Sep 2004 11:40:27 +0000 (11:40 +0000)]
Added alpha transparency rather than a black background by Daniel Alston!

SVN-Revision: 1856

20 years agoAdded flame fish.
Ricardo Cruz [Mon, 30 Aug 2004 19:11:14 +0000 (19:11 +0000)]
Added flame fish.

SVN-Revision: 1855

20 years agoAdded images to strf file.
Ricardo Cruz [Mon, 30 Aug 2004 19:10:47 +0000 (19:10 +0000)]
Added images to strf file.

SVN-Revision: 1854

20 years agoAdded red fish images.
Ricardo Cruz [Mon, 30 Aug 2004 19:09:37 +0000 (19:09 +0000)]
Added red fish images.
Artists: replace this by a boned one.

SVN-Revision: 1853

20 years agoIce fire destroys flame.
Ricardo Cruz [Sun, 29 Aug 2004 17:29:32 +0000 (17:29 +0000)]
Ice fire destroys flame.

SVN-Revision: 1852

20 years agoApply filter mask.
Ricardo Cruz [Fri, 27 Aug 2004 20:34:56 +0000 (20:34 +0000)]
Apply filter mask.
TODO: make it working over the other rather than a colorization.

SVN-Revision: 1850

20 years agoAdded a mask to be applied to a sprite.
Ricardo Cruz [Fri, 27 Aug 2004 20:34:01 +0000 (20:34 +0000)]
Added a mask to be applied to a sprite.
TODO: put that inside a filter.

SVN-Revision: 1849

20 years agoAdded z order support and draw_part().
Ricardo Cruz [Fri, 27 Aug 2004 11:20:27 +0000 (11:20 +0000)]
Added z order support and draw_part().

SVN-Revision: 1848

20 years agoThis file a list of the different special tiles.
Ricardo Cruz [Thu, 26 Aug 2004 23:05:52 +0000 (23:05 +0000)]
This file a list of the different special tiles.

SVN-Revision: 1847

20 years agoUpdated code to support new stuff from 0.1.2.
Ricardo Cruz [Thu, 26 Aug 2004 23:05:03 +0000 (23:05 +0000)]
Updated code to support new stuff from 0.1.2.

SVN-Revision: 1846

20 years agoUpdated bonus world from 0.1.2.
Ricardo Cruz [Thu, 26 Aug 2004 23:04:12 +0000 (23:04 +0000)]
Updated bonus world from 0.1.2.
Changed syntax.

SVN-Revision: 1845

20 years agoUpdated bonus levels from 0.1.2.
Ricardo Cruz [Thu, 26 Aug 2004 22:59:22 +0000 (22:59 +0000)]
Updated bonus levels from 0.1.2.

SVN-Revision: 1844

20 years agoAdded warp sound.
Ricardo Cruz [Thu, 26 Aug 2004 22:57:58 +0000 (22:57 +0000)]
Added warp sound.

SVN-Revision: 1843

20 years agoAdded missing worldmap images existent in 0.1.2.
Ricardo Cruz [Thu, 26 Aug 2004 22:57:13 +0000 (22:57 +0000)]
Added missing worldmap images existent in 0.1.2.

SVN-Revision: 1842

20 years ago- file has been renamed
Ryan Flegel [Wed, 25 Aug 2004 22:16:33 +0000 (22:16 +0000)]
- file has been renamed

SVN-Revision: 1832

20 years ago- some indentation
Ryan Flegel [Wed, 25 Aug 2004 05:47:57 +0000 (05:47 +0000)]
- some indentation
- my contribution for the month :)

SVN-Revision: 1831

20 years agoRenamed code variables, as well.
Ricardo Cruz [Sat, 21 Aug 2004 13:09:52 +0000 (13:09 +0000)]
Renamed code variables, as well.

SVN-Revision: 1824

20 years agoChanged hotspot keyword by offset, as asked by Benjamin.
Ricardo Cruz [Sat, 21 Aug 2004 11:47:07 +0000 (11:47 +0000)]
Changed hotspot keyword by offset, as asked by Benjamin.

SVN-Revision: 1823

20 years agoChanged the background format.
Ricardo Cruz [Sat, 21 Aug 2004 11:45:20 +0000 (11:45 +0000)]
Changed the background format.

SVN-Revision: 1822

20 years agoChanged the background feeding format for the new level format.
Ricardo Cruz [Sat, 21 Aug 2004 11:44:42 +0000 (11:44 +0000)]
Changed the background feeding format for the new level format.
Instead of: (top_red 255) (top_green 60) (top_blue 10)
It'd be: (top_color 255 60 10)

SVN-Revision: 1821

20 years agoAllow creation of a Color object feeding with a vector of Uints.
Ricardo Cruz [Sat, 21 Aug 2004 11:39:59 +0000 (11:39 +0000)]
Allow creation of a Color object feeding with a vector of Uints.

SVN-Revision: 1820

20 years agoOnly use one type of actions for both directions.
Ricardo Cruz [Thu, 19 Aug 2004 11:05:32 +0000 (11:05 +0000)]
Only use one type of actions for both directions.

SVN-Revision: 1819

20 years agoRenamed actions.
Ricardo Cruz [Thu, 19 Aug 2004 11:04:45 +0000 (11:04 +0000)]
Renamed actions.

SVN-Revision: 1818

20 years agoRenamed images.
Ricardo Cruz [Thu, 19 Aug 2004 11:04:13 +0000 (11:04 +0000)]
Renamed images.

SVN-Revision: 1817

20 years agoAdded horizontal flip effect, as well as both horizontal and vertical together.
Ricardo Cruz [Thu, 19 Aug 2004 11:01:46 +0000 (11:01 +0000)]
Added horizontal flip effect, as well as both horizontal and vertical together.

SVN-Revision: 1816

20 years agoAdded message when no action is found.
Ricardo Cruz [Thu, 19 Aug 2004 11:00:53 +0000 (11:00 +0000)]
Added message when no action is found.

SVN-Revision: 1815

20 years agoForward bug fix port to HEAD.
Ricardo Cruz [Wed, 18 Aug 2004 21:36:00 +0000 (21:36 +0000)]
Forward bug fix port to HEAD.
Bug reported by Seneca.

Also changed UPGRADE_HERRING by UPGRADE_STAR.

SVN-Revision: 1813

20 years agoMade draw() func on Player more sane.
Ricardo Cruz [Wed, 18 Aug 2004 18:27:32 +0000 (18:27 +0000)]
Made draw() func on Player more sane.
Bugfix: blink Tux on safe time.

SVN-Revision: 1811

20 years agoRound frame on checking for last frame, so that the last frame is used.
Ricardo Cruz [Wed, 18 Aug 2004 18:26:40 +0000 (18:26 +0000)]
Round frame on checking for last frame, so that the last frame is used.

SVN-Revision: 1810

20 years agoA few more tiles for World 1 by Demon Night!
Ricardo Cruz [Wed, 18 Aug 2004 11:04:06 +0000 (11:04 +0000)]
A few more tiles for World 1 by Demon Night!

SVN-Revision: 1809

20 years agoAdded menu bugs.
Ricardo Cruz [Wed, 18 Aug 2004 10:44:15 +0000 (10:44 +0000)]
Added menu bugs.

SVN-Revision: 1808

20 years agoJust got rid of the damn reference.
Ricardo Cruz [Wed, 18 Aug 2004 10:38:10 +0000 (10:38 +0000)]
Just got rid of the damn reference.

Can anyone fix this hack with horizontal lines, titles...?
Maybe we should just replace this code by the old one.

SVN-Revision: 1807

20 years agoImprovements.
Ricardo Cruz [Wed, 18 Aug 2004 10:32:26 +0000 (10:32 +0000)]
Improvements.

SVN-Revision: 1806

20 years agoIdle change.
Ricardo Cruz [Wed, 18 Aug 2004 10:31:49 +0000 (10:31 +0000)]
Idle change.

SVN-Revision: 1805

20 years ago- removing generated file
Ryan Flegel [Wed, 18 Aug 2004 00:11:22 +0000 (00:11 +0000)]
- removing generated file

SVN-Revision: 1804

20 years agoChanged next action behavior.
Ricardo Cruz [Tue, 17 Aug 2004 23:23:11 +0000 (23:23 +0000)]
Changed next action behavior.

SVN-Revision: 1803

20 years agoAdded more animations.
Ricardo Cruz [Tue, 17 Aug 2004 23:06:27 +0000 (23:06 +0000)]
Added more animations.
Didn't manage to put idle one working.

SVN-Revision: 1802

20 years agoAdded a few more animations.
Ricardo Cruz [Tue, 17 Aug 2004 23:05:25 +0000 (23:05 +0000)]
Added a few more animations.

SVN-Revision: 1801

20 years agoRenaming images.
Ricardo Cruz [Tue, 17 Aug 2004 23:04:54 +0000 (23:04 +0000)]
Renaming images.

SVN-Revision: 1800

20 years agoAdded next action to sprite.
Ricardo Cruz [Tue, 17 Aug 2004 23:01:58 +0000 (23:01 +0000)]
Added next action to sprite.

SVN-Revision: 1799

20 years agoRenaming images.
Ricardo Cruz [Tue, 17 Aug 2004 22:01:20 +0000 (22:01 +0000)]
Renaming images.

SVN-Revision: 1798

20 years agoRenaming images.
Ricardo Cruz [Tue, 17 Aug 2004 22:01:20 +0000 (22:01 +0000)]
Renaming images.

SVN-Revision: 1797

20 years agoSeparated body parts!
Ricardo Cruz [Tue, 17 Aug 2004 21:54:22 +0000 (21:54 +0000)]
Separated body parts!

SVN-Revision: 1796

20 years agoChanged output message.
Ricardo Cruz [Tue, 17 Aug 2004 21:53:20 +0000 (21:53 +0000)]
Changed output message.

SVN-Revision: 1795

20 years agoAdded entries for separated body parts.
Ricardo Cruz [Tue, 17 Aug 2004 21:52:45 +0000 (21:52 +0000)]
Added entries for separated body parts.

SVN-Revision: 1794

20 years agoMoved supertux.strf to inside images/.
Ricardo Cruz [Tue, 17 Aug 2004 21:51:31 +0000 (21:51 +0000)]
Moved supertux.strf to inside images/.

SVN-Revision: 1793

20 years agoRenaming images.
Ricardo Cruz [Tue, 17 Aug 2004 21:46:41 +0000 (21:46 +0000)]
Renaming images.

SVN-Revision: 1792

20 years ago...and another one...
Marek Moeckel [Tue, 17 Aug 2004 09:54:23 +0000 (09:54 +0000)]
...and another one...

SVN-Revision: 1791

20 years agosmall fix in level24
Marek Moeckel [Tue, 17 Aug 2004 09:49:34 +0000 (09:49 +0000)]
small fix in level24

SVN-Revision: 1790

20 years ago...and welcome back again! :)
Marek Moeckel [Mon, 16 Aug 2004 23:57:04 +0000 (23:57 +0000)]
...and welcome back again! :)

SVN-Revision: 1789

20 years agosomething went wrong when updating one level file, so good-bye, torfi-level1...
Marek Moeckel [Mon, 16 Aug 2004 23:56:03 +0000 (23:56 +0000)]
something went wrong when updating one level file, so good-bye, torfi-level1...

SVN-Revision: 1788

20 years agocopied 0.1.2 bonus levels to HEAD branch
Marek Moeckel [Mon, 16 Aug 2004 23:52:20 +0000 (23:52 +0000)]
copied 0.1.2 bonus levels to HEAD branch
removed duplicate castle.stl, which is already in "world2" directory

SVN-Revision: 1787

20 years agoremoved old unused waterfall tiles
Marek Moeckel [Mon, 16 Aug 2004 17:09:28 +0000 (17:09 +0000)]
removed old unused waterfall tiles

SVN-Revision: 1786

20 years agoadded new waterfall and transparent water tiles by unDEFER, used it in levels 5,24,25
Marek Moeckel [Mon, 16 Aug 2004 17:02:52 +0000 (17:02 +0000)]
added new waterfall and transparent water tiles by unDEFER, used it in levels 5,24,25

SVN-Revision: 1784

20 years agoBrick graphics improved by Florian Merz!
Ricardo Cruz [Mon, 16 Aug 2004 13:40:07 +0000 (13:40 +0000)]
Brick graphics improved by Florian Merz!

SVN-Revision: 1782

20 years agoTo make the animation of the protagonist easier I've separated the steps of the large...
Benjamin P. Jung [Mon, 16 Aug 2004 13:09:08 +0000 (13:09 +0000)]
To make the animation of the protagonist easier I've separated the steps of the large Tux's animation into different parts.
(Added directory data/images/shared/tux/)
'Tux in action' can be put together by using the following layers:
- extra (such as invincibility stars or a cape maybe)
- arms
- feet
- head
- body

The names of the images I've provided might be confusing at first sight, but they may (or may not) make pretty much sense:
<character-name>-<body-part>-<modification>-<action>-<direction>-<no.>.png

SVN-Revision: 1781

20 years agoJust added more info to warning.
Ricardo Cruz [Mon, 16 Aug 2004 12:13:00 +0000 (12:13 +0000)]
Just added more info to warning.

SVN-Revision: 1780

20 years agoChanged variable name and fixed reverse animation.
Ricardo Cruz [Mon, 16 Aug 2004 11:53:34 +0000 (11:53 +0000)]
Changed variable name and fixed reverse animation.

SVN-Revision: 1779

20 years agoWe could been losting frames. Fixed.
Ricardo Cruz [Sat, 14 Aug 2004 18:45:25 +0000 (18:45 +0000)]
We could been losting frames. Fixed.

SVN-Revision: 1778

20 years agoTrampoline image was not yet working cause:
Ricardo Cruz [Sat, 14 Aug 2004 12:00:58 +0000 (12:00 +0000)]
Trampoline image was not yet working cause:
- forgot to disable animation;
- made a mistake in the supertux.strt entries.
:(

SVN-Revision: 1777

20 years agoChanged Walking Tree direction change behavior.
Ricardo Cruz [Sat, 14 Aug 2004 11:50:58 +0000 (11:50 +0000)]
Changed Walking Tree direction change behavior.

SVN-Revision: 1776

20 years agoImprovements.
Ricardo Cruz [Sat, 14 Aug 2004 11:50:24 +0000 (11:50 +0000)]
Improvements.

SVN-Revision: 1775

20 years agoRemoved trampoline sprites hack.
Ricardo Cruz [Sat, 14 Aug 2004 11:33:53 +0000 (11:33 +0000)]
Removed trampoline sprites hack.

SVN-Revision: 1774

20 years agoImproved Sprites animations.
Ricardo Cruz [Sat, 14 Aug 2004 11:32:51 +0000 (11:32 +0000)]
Improved Sprites animations.

SVN-Revision: 1773

20 years agoAdded support for one time animations to Sprite.
Ricardo Cruz [Fri, 13 Aug 2004 22:32:42 +0000 (22:32 +0000)]
Added support for one time animations to Sprite.
I'll port the one-time animations hacks - if nobody else does - later.

SVN-Revision: 1770

20 years agoShould fix arm crash.
Ricardo Cruz [Fri, 13 Aug 2004 22:22:47 +0000 (22:22 +0000)]
Should fix arm crash.

SVN-Revision: 1769

20 years agoCommented unncessary sprites - there might be others.
Ricardo Cruz [Fri, 13 Aug 2004 14:03:32 +0000 (14:03 +0000)]
Commented unncessary sprites - there might be others.
Don't add entries of not used sprites, since they will be loaded into memory!

SVN-Revision: 1768

20 years agoUsing wrong name for sprite.
Ricardo Cruz [Fri, 13 Aug 2004 14:02:20 +0000 (14:02 +0000)]
Using wrong name for sprite.

SVN-Revision: 1767

20 years agoCheck if this fixes the jamming.
Ricardo Cruz [Fri, 13 Aug 2004 13:39:18 +0000 (13:39 +0000)]
Check if this fixes the jamming.

SVN-Revision: 1766

20 years agoFile not being closed.
Ricardo Cruz [Fri, 13 Aug 2004 11:43:15 +0000 (11:43 +0000)]
File not being closed.

SVN-Revision: 1765

20 years agoChanged player stuff to use actions.
Ricardo Cruz [Thu, 12 Aug 2004 22:06:13 +0000 (22:06 +0000)]
Changed player stuff to use actions.

This was hard work!

SVN-Revision: 1760

20 years agoChanged player stuff to use action. Bad guys should also be changed.
Ricardo Cruz [Thu, 12 Aug 2004 22:05:24 +0000 (22:05 +0000)]
Changed player stuff to use action. Bad guys should also be changed.

It was really time consuming to change all the entries from supertux.strf. There might be problems, especially with the arm. Anyway, since arm, body, head... will be all changed, this will be then fixed.

SVN-Revision: 1759

20 years agoChanged parameter from set_action().
Ricardo Cruz [Thu, 12 Aug 2004 22:03:05 +0000 (22:03 +0000)]
Changed parameter from set_action().

SVN-Revision: 1758

20 years agoAdded what I called of actions to Sprite.
Ricardo Cruz [Thu, 12 Aug 2004 20:55:05 +0000 (20:55 +0000)]
Added what I called of actions to Sprite.
Instead of putting "left", "right", "jump-right"... as different sprites, we can now put them as one, and name them with different actions. To change to an action, just do set_action("jump-left"); , for instance.

Suggested by Ryan.

SVN-Revision: 1757