supertux.git
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

20 years agoReverted last commit of Ricardo. The change led to unavoidable crashs in many X confi...
Tobias Gläßer [Wed, 11 Aug 2004 15:32:21 +0000 (15:32 +0000)]
Reverted last commit of Ricardo. The change led to unavoidable crashs in many X configurations including mine. The old behaviour should work correctly under a wide varity of platforms.

SVN-Revision: 1749

20 years agoUse SDL toggle call in non-windows systems.
Ricardo Cruz [Tue, 10 Aug 2004 16:07:28 +0000 (16:07 +0000)]
Use SDL toggle call in non-windows systems.
This should be faster and more X11 friendly.

SVN-Revision: 1732

20 years agoThere is no point in making a Y inferior to scroll_y checking, since bullets accel...
Ricardo Cruz [Tue, 10 Aug 2004 11:43:57 +0000 (11:43 +0000)]
There is no point in making a Y inferior to scroll_y checking, since bullets accel is down.
Fixes bug reported by unDEFER in the mailing list.

SVN-Revision: 1731

20 years agoAdded a space on --version.
Ricardo Cruz [Tue, 10 Aug 2004 11:34:54 +0000 (11:34 +0000)]
Added a space on --version.

SVN-Revision: 1730

20 years agoChanged 0.1.1 version to 0.2-cvs in HEAD.
Ricardo Cruz [Tue, 10 Aug 2004 11:32:54 +0000 (11:32 +0000)]
Changed 0.1.1 version to 0.2-cvs in HEAD.

SVN-Revision: 1727

20 years agoMerged the bitmask code with a newer version (1.3) of the bitmask library.
Tobias Gläßer [Sun, 8 Aug 2004 15:46:21 +0000 (15:46 +0000)]
Merged the bitmask code with a newer version (1.3) of the bitmask library.

SVN-Revision: 1726

20 years agoFinally tested and implemented the bitmask_create_SDL function right. It should actua...
Tobias Gläßer [Sun, 8 Aug 2004 13:07:22 +0000 (13:07 +0000)]
Finally tested and implemented the bitmask_create_SDL function right. It should actually work now and is a good option for an advanced collision detection implementation.

SVN-Revision: 1725

20 years agoadded waterfall tiles
Marek Moeckel [Sun, 8 Aug 2004 10:34:33 +0000 (10:34 +0000)]
added waterfall tiles

SVN-Revision: 1722

20 years agofixed some visible blank tiles in the levels
Marek Moeckel [Sun, 8 Aug 2004 09:42:50 +0000 (09:42 +0000)]
fixed some visible blank tiles in the levels
There are more invalid tile id's; does anyone know where they come from??

SVN-Revision: 1721

20 years agoEmpty menus shouldn't lead to crashs anymore.
Tobias Gläßer [Sat, 7 Aug 2004 11:34:41 +0000 (11:34 +0000)]
Empty menus shouldn't lead to crashs anymore.

SVN-Revision: 1719

20 years agoReplaced insert() by this cleaner way to add entries.
Ricardo Cruz [Fri, 6 Aug 2004 17:37:56 +0000 (17:37 +0000)]
Replaced insert() by this cleaner way to add entries.

SVN-Revision: 1717

20 years agoThe right (source) data directory should now be found whether you use libtool to...
Tobias Gläßer [Fri, 6 Aug 2004 12:10:54 +0000 (12:10 +0000)]
The right (source) data directory should now be found whether you use libtool to link your application against the SuperTux library or not.

SVN-Revision: 1716

20 years agoConverted many char*s to std::strings. This is providing more safety from buffer...
Tobias Gläßer [Fri, 6 Aug 2004 11:43:10 +0000 (11:43 +0000)]
Converted many char*s to std::strings. This is providing more safety from buffer overflows and anyway more straightforward string handling.

SVN-Revision: 1715

20 years ago- fixed search path for datadir
Ryan Flegel [Fri, 6 Aug 2004 01:36:47 +0000 (01:36 +0000)]
- fixed search path for datadir

SVN-Revision: 1714

20 years agoFixed #include introduced by the last commit.
Tobias Gläßer [Thu, 5 Aug 2004 20:11:30 +0000 (20:11 +0000)]
Fixed #include introduced by the last commit.
In the library all includes have to be in "#include ../libsubdir/foo.h" style, so that the relations between the includes work correctly inside your /usr/(local)/include/ directory as well.

SVN-Revision: 1713

20 years agoRemoved commented code.
Ricardo Cruz [Thu, 5 Aug 2004 19:29:02 +0000 (19:29 +0000)]
Removed commented code.

SVN-Revision: 1712

20 years agoReplaced the use of a vector for the tiles placement by a map one.
Ricardo Cruz [Thu, 5 Aug 2004 18:58:08 +0000 (18:58 +0000)]
Replaced the use of a vector for the tiles placement by a map one.
This way, empty tiles are not created, and so, we can now have the organization I posted on the ml.

SVN-Revision: 1711

20 years agoWhen there is no entries in a menu, there is a crash. This delays the crash until...
Ricardo Cruz [Thu, 5 Aug 2004 14:09:12 +0000 (14:09 +0000)]
When there is no entries in a menu, there is a crash. This delays the crash until an event is triggered. Select a level from Contrib Levels for testing.
I dunno what changes Tobias made to menu, but I don't think that ugly checking for horizontal lines was in there.

SVN-Revision: 1707

20 years agoJust tweaked the stomp cloud values a little.
Ricardo Cruz [Thu, 5 Aug 2004 13:49:20 +0000 (13:49 +0000)]
Just tweaked the stomp cloud values a little.

A destroying animation would fit nicely, if anyone is willing to do it.

SVN-Revision: 1706

20 years agoMade the stomp cloud to have an independent movement from Tux by making it a GameObject.
Ricardo Cruz [Thu, 5 Aug 2004 10:10:19 +0000 (10:10 +0000)]
Made the stomp cloud to have an independent movement from Tux by making it a GameObject.

Next time, please don't implement it, unless you do it properly.

SVN-Revision: 1705

20 years agoAdded base_type to vector constructor.
Ricardo Cruz [Thu, 5 Aug 2004 10:08:43 +0000 (10:08 +0000)]
Added base_type to vector constructor.
This way it is possible to just pass the object's base to draw() and other functions that want Vectors.

SVN-Revision: 1704

20 years agoforgot one image :)
Marek Moeckel [Thu, 5 Aug 2004 08:02:46 +0000 (08:02 +0000)]
forgot one image :)

SVN-Revision: 1702

20 years agogave the coins another paint job, according to Ingo's suggestions
Marek Moeckel [Thu, 5 Aug 2004 07:58:54 +0000 (07:58 +0000)]
gave the coins another paint job, according to Ingo's suggestions
minor fix in level3

SVN-Revision: 1701

20 years agoadded Ingo's new coin
Marek Moeckel [Wed, 4 Aug 2004 17:59:54 +0000 (17:59 +0000)]
added Ingo's new coin
please have a look and decide if you like it :)

SVN-Revision: 1700

20 years ago- Added new Tornado enemy
Benjamin P. Jung [Mon, 2 Aug 2004 10:21:09 +0000 (10:21 +0000)]
- Added new Tornado enemy

SVN-Revision: 1693

20 years agoGrowing Tux animation without stars by Benjamin!! Thx!
Ricardo Cruz [Sun, 1 Aug 2004 21:56:49 +0000 (21:56 +0000)]
Growing Tux animation without stars by Benjamin!! Thx!
I believe the stars are odd for the players.

SVN-Revision: 1692

20 years agoadded lava tiles
Marek Moeckel [Sun, 1 Aug 2004 18:37:10 +0000 (18:37 +0000)]
added lava tiles

SVN-Revision: 1689

20 years ago- Added mrflame-left-{1..4}.png and mrflame-right-{1..4}.png
Benjamin P. Jung [Sun, 1 Aug 2004 16:21:46 +0000 (16:21 +0000)]
- Added mrflame-left-{1..4}.png and mrflame-right-{1..4}.png

SVN-Revision: 1688