supertux.git
14 years agoRun tools/normalize-po-files.sh on all *.po files to make sure they reflect the curre...
anmaster [Sun, 28 Feb 2010 18:35:30 +0000 (18:35 +0000)]
Run tools/normalize-po-files.sh on all *.po files to make sure they reflect the current messages.pot file. Some were very outdated. Note that ru.po for the levels (world1, world2, bonus1, bonus2) give fatal errors (duplicate messages). That file was thus not changed, but ru.po will need to be fixed for things to work.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6462 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdate some Swedish translations.
anmaster [Sun, 28 Feb 2010 18:23:12 +0000 (18:23 +0000)]
Update some Swedish translations.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6461 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoCommiting fix for world1, level25 from bug #586 "Arctic Ruins background too small...
anmaster [Sun, 28 Feb 2010 18:13:39 +0000 (18:13 +0000)]
Commiting fix for world1, level25 from bug #586 "Arctic Ruins background too small for new resolution".
Thanks to lazure for this fix. This replaces ocean.jpg with new split images. Note that ocean.jpg is
still used in some other levels, and thus it can't be removed.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6460 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFix Sprite class once and for all.
mathnerd314 [Sun, 28 Feb 2010 18:12:10 +0000 (18:12 +0000)]
Fix Sprite class once and for all.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6459 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded a test level for "Haywire".
florianf [Sun, 28 Feb 2010 18:07:19 +0000 (18:07 +0000)]
Added a test level for "Haywire".

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6458 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agolisp/parser.cpp: Use absolute directory when talking to the dictionary manager.
florianf [Sun, 28 Feb 2010 18:03:30 +0000 (18:03 +0000)]
lisp/parser.cpp: Use absolute directory when talking to the dictionary manager.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6457 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdate bonus1 translation, charset changed from ISO-8859-15 to UTF-8. I have no idea...
anmaster [Sun, 28 Feb 2010 17:36:13 +0000 (17:36 +0000)]
Update bonus1 translation, charset changed from ISO-8859-15 to UTF-8. I have no idea why it used ISO-8859-15 before...

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6456 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFix some header issues in the top sv.po (for the strings in the C++ code that is).
anmaster [Sun, 28 Feb 2010 17:04:20 +0000 (17:04 +0000)]
Fix some header issues in the top sv.po (for the strings in the C++ code that is).

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6455 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosprite/sprite.cpp: Revert revision 6435 by Mathnerd314.
florianf [Sun, 28 Feb 2010 16:51:24 +0000 (16:51 +0000)]
sprite/sprite.cpp: Revert revision 6435 by Mathnerd314.

It caused problems for me and lazure reported an identical problem on IRC.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6454 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdate Swedish translation of code. NOTE: Levels are still left to update translation...
anmaster [Sun, 28 Feb 2010 16:27:15 +0000 (16:27 +0000)]
Update Swedish translation of code. NOTE: Levels are still left to update translation for.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6453 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agobadguy/haywire.cpp: Use BadGuy::get_nearest_player().
florianf [Sun, 28 Feb 2010 11:10:44 +0000 (11:10 +0000)]
badguy/haywire.cpp: Use BadGuy::get_nearest_player().

Rather than calling Sector::get_nearest_player() directly.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6452 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agobadbuy/badbuy.cpp: Use Sector::get_nearest_player().
florianf [Sun, 28 Feb 2010 11:08:43 +0000 (11:08 +0000)]
badbuy/badbuy.cpp: Use Sector::get_nearest_player().

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6451 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoIcecrusher and Haywire: Use the bounding box to find the nearest player.
florianf [Sun, 28 Feb 2010 10:54:02 +0000 (10:54 +0000)]
Icecrusher and Haywire: Use the bounding box to find the nearest player.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6450 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/sector.hpp: Add a version of Sector::get_nearest_player() that uses a Rectf.
florianf [Sun, 28 Feb 2010 10:53:34 +0000 (10:53 +0000)]
supertux/sector.hpp: Add a version of Sector::get_nearest_player() that uses a Rectf.

This way the bouding box can be passed to the method. No need to calculate an
anchor point everywhere.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6449 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/sector.cpp: Use Rectf::distance().
florianf [Sun, 28 Feb 2010 10:52:17 +0000 (10:52 +0000)]
supertux/sector.cpp: Use Rectf::distance().

This is a lot cleaner.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6448 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRectf: Implement distance().
florianf [Sun, 28 Feb 2010 10:51:32 +0000 (10:51 +0000)]
Rectf: Implement distance().

Calculates the distance from this rectangle to another rectangle or a vector.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6447 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoHaywire: Walk towards the player if possible.
florianf [Sun, 28 Feb 2010 10:30:54 +0000 (10:30 +0000)]
Haywire: Walk towards the player if possible.

This is a simple version of the "follow the player" behavior proposed in the
Milestone 2 design document.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6446 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoIcecrusher: Use Sector::get_nearest_player().
florianf [Sun, 28 Feb 2010 10:29:35 +0000 (10:29 +0000)]
Icecrusher: Use Sector::get_nearest_player().

The icecrusher's own implementation has been removed.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6445 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/sector.[ch]pp: Implement Sector::get_nearest_player.
florianf [Sun, 28 Feb 2010 10:28:49 +0000 (10:28 +0000)]
supertux/sector.[ch]pp: Implement Sector::get_nearest_player.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6444 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoHaywire: Implemented a first version of the "crazy bomb".
florianf [Sun, 28 Feb 2010 09:32:24 +0000 (09:32 +0000)]
Haywire: Implemented a first version of the "crazy bomb".

Sprites and bode are based on Mr. Bomb, of course. Haywire behaves like Mr.
Bomb until jumped upon. If jumped upon, he will run around (walk with twice the
speed) for five seconds, then explode. While running around Haywire will
iterate through a number of different colors.

When jumped upon - even when already ticking - Haywire is stunned for half a
second. This does not interrupt the explosion timer, though.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6443 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoWalking badguy: Implemented {get,set}_walk_speed.
florianf [Sun, 28 Feb 2010 09:23:36 +0000 (09:23 +0000)]
Walking badguy: Implemented {get,set}_walk_speed.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6442 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-09: Set the direction of a Bouncing Snowball.
florianf [Sat, 27 Feb 2010 23:55:44 +0000 (23:55 +0000)]
Level 1-09: Set the direction of a Bouncing Snowball.

This way Bouncy doesn't jump directly onto the player if Tux respawns at the
reset point. Also, a couple more snowballs have been replaced by Mrs. Snowball.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6439 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-08 "Stone Cold": Add a Cannon shooting Snowshots.
florianf [Sat, 27 Feb 2010 23:21:31 +0000 (23:21 +0000)]
Level 1-08 "Stone Cold": Add a Cannon shooting Snowshots.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6438 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-17 "Or is it just me": Add a Cannon shooting Snowshots.
florianf [Sat, 27 Feb 2010 23:05:47 +0000 (23:05 +0000)]
Level 1-17 "Or is it just me": Add a Cannon shooting Snowshots.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6437 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agolocale/de.po: Updated German translation.
florianf [Sat, 27 Feb 2010 22:19:01 +0000 (22:19 +0000)]
locale/de.po: Updated German translation.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6436 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFix frame out of range error for -O2 release build (may or may not fix on other syste...
mathnerd314 [Sat, 27 Feb 2010 21:56:12 +0000 (21:56 +0000)]
Fix frame out of range error for -O2 release build (may or may not fix on other systems/compilers)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6435 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdate copyright information to: "Copyright (c) 2003-2010 SuperTux Devel Team"
florianf [Sat, 27 Feb 2010 21:44:40 +0000 (21:44 +0000)]
Update copyright information to: "Copyright (c) 2003-2010 SuperTux Devel Team"

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6434 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoadd -Wno-unused-parameter to disable warnings for unused parameters. This warning...
sik0fewl [Sat, 27 Feb 2010 21:16:23 +0000 (21:16 +0000)]
add -Wno-unused-parameter to disable warnings for unused parameters. This warning isn't very helpful and it's annoying.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6433 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-24 "The Shattered Bridge": Replace background image with a gradient.
florianf [Sat, 27 Feb 2010 21:02:31 +0000 (21:02 +0000)]
Level 1-24 "The Shattered Bridge": Replace background image with a gradient.

The grackground image isn't high enough for the level.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6432 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-27 "No More Mr Ice Guy": Move spawn point to the left.
florianf [Sat, 27 Feb 2010 20:34:00 +0000 (20:34 +0000)]
Level 1-27 "No More Mr Ice Guy": Move spawn point to the left.

As suggested by sik0fewl.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6431 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoYeti: Move start position so Yeti doesn't jump on Tux' head.
florianf [Sat, 27 Feb 2010 20:28:47 +0000 (20:28 +0000)]
Yeti: Move start position so Yeti doesn't jump on Tux' head.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6430 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoYeti: In the second phase, drop stalactites in pairs.
florianf [Sat, 27 Feb 2010 20:21:10 +0000 (20:21 +0000)]
Yeti: In the second phase, drop stalactites in pairs.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6429 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoYeti: Give the yeti five lives only.
florianf [Sat, 27 Feb 2010 20:16:51 +0000 (20:16 +0000)]
Yeti: Give the yeti five lives only.

The stalactite patterns are now 5-3 lives and 2-1 lives.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6428 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevels 1-15 and 1-22: Add Crystallo where he doesn't get in the way.
florianf [Sat, 27 Feb 2010 19:39:43 +0000 (19:39 +0000)]
Levels 1-15 and 1-22: Add Crystallo where he doesn't get in the way.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6427 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/src/badguy/crystallo.cpp: Use MovingSprite::set_action to change the sprite.
florianf [Sat, 27 Feb 2010 19:29:21 +0000 (19:29 +0000)]
supertux/src/badguy/crystallo.cpp: Use MovingSprite::set_action to change the sprite.

This will account for a change in the hitbox when chaning the sprite. As a
result, the dead Crystallo no longer appears to be a few pixels within the tile
he was standing on.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6426 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agotiles.strf: Make Crystal cave tiles non-solid.
florianf [Sat, 27 Feb 2010 18:46:31 +0000 (18:46 +0000)]
tiles.strf: Make Crystal cave tiles non-solid.

The test level has also been changed to demonstrate the use of the tiles as
background. Hopefully third party level designers get the hint ;)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6425 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoChanged the Icy Island worldmap to a linear worldmap based on that from Milestone 1.
florianf [Sat, 27 Feb 2010 18:31:28 +0000 (18:31 +0000)]
Changed the Icy Island worldmap to a linear worldmap based on that from Milestone 1.

The passage to the Forest and back has been removed. The Forest world is now
listed in "Contributed Levels".

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6424 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSnowman: Spawn the Snowball exactly where the Snowman's head was.
florianf [Sat, 27 Feb 2010 14:32:56 +0000 (14:32 +0000)]
Snowman: Spawn the Snowball exactly where the Snowman's head was.

This feels a lot more natural.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6420 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoPossible new Milestone1-like worldmap
mathnerd314 [Sat, 27 Feb 2010 13:50:15 +0000 (13:50 +0000)]
Possible new Milestone1-like worldmap

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6419 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSnowman turns into snowball when stomped.
mathnerd314 [Sat, 27 Feb 2010 13:21:53 +0000 (13:21 +0000)]
Snowman turns into snowball when stomped.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6418 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSome documentation for physic and what it does
mathnerd314 [Sat, 27 Feb 2010 13:00:42 +0000 (13:00 +0000)]
Some documentation for physic and what it does

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6417 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSlightly more interesting yeti_stalactites.
mathnerd314 [Sat, 27 Feb 2010 12:59:35 +0000 (12:59 +0000)]
Slightly more interesting yeti_stalactites.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6416 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFix for Yeti killing you when he jumps. (probably won't affect other badguys)
mathnerd314 [Sat, 27 Feb 2010 12:57:54 +0000 (12:57 +0000)]
Fix for Yeti killing you when he jumps. (probably won't affect other badguys)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6415 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMr. IceBlock: Call MovingSprite::set_action rather than Sprite::set_action.
florianf [Sat, 27 Feb 2010 11:20:10 +0000 (11:20 +0000)]
Mr. IceBlock: Call MovingSprite::set_action rather than Sprite::set_action.

The call to MovingSprite will change the bounding box, too, so the ice block
actually ends up lying on the ground (rather than hovering one foot high above
the ground when hit).

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6414 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoCaptain Snowball: Change the offset so it walks *on* tiles rather than one pixel...
florianf [Sat, 27 Feb 2010 10:58:46 +0000 (10:58 +0000)]
Captain Snowball: Change the offset so it walks *on* tiles rather than one pixel *in* tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6413 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRemove Mr. Rocket.
florianf [Fri, 26 Feb 2010 20:49:54 +0000 (20:49 +0000)]
Remove Mr. Rocket.

Use Kamikaze Snowball instead.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6408 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoworld2/{christoph9,level2}.stl: Use Kamikaze Snowball rather than Mr. Rocket.
florianf [Fri, 26 Feb 2010 20:46:21 +0000 (20:46 +0000)]
world2/{christoph9,level2}.stl: Use Kamikaze Snowball rather than Mr. Rocket.

Preparation for removing Mr. Rocket.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6407 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-14 "Entrance to the Cave": Added two IceCrushers.
florianf [Fri, 26 Feb 2010 20:10:53 +0000 (20:10 +0000)]
Level 1-14 "Entrance to the Cave": Added two IceCrushers.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6406 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoIceCrusher: Implemented a cooldown timer.
florianf [Fri, 26 Feb 2010 19:48:40 +0000 (19:48 +0000)]
IceCrusher: Implemented a cooldown timer.

The timing is probably awful, but the code is there and fine-tuning the timing
should be easy now.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6405 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-18 "Ice in the Hole": Replaced three jumpys by ice crushers.
florianf [Fri, 26 Feb 2010 19:37:58 +0000 (19:37 +0000)]
Level 1-18 "Ice in the Hole": Replaced three jumpys by ice crushers.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6404 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoIceCrusher: Use gavitation rather than linear speed when "crushing".
florianf [Fri, 26 Feb 2010 19:16:59 +0000 (19:16 +0000)]
IceCrusher: Use gavitation rather than linear speed when "crushing".

Moving up is still done using a linear speed because it felt better.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6403 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoWHATSNEW.txt: Added some information for version 0.3.3.
florianf [Fri, 26 Feb 2010 17:38:14 +0000 (17:38 +0000)]
WHATSNEW.txt: Added some information for version 0.3.3.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6402 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoREADME: Added note about the development nature of the package.
florianf [Fri, 26 Feb 2010 17:30:31 +0000 (17:30 +0000)]
README: Added note about the development nature of the package.

Especially point out that the fate of the Forest is up for discussion.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6401 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-11 "Night Chill": Added crumbling tiles.
florianf [Fri, 26 Feb 2010 16:28:03 +0000 (16:28 +0000)]
Level 1-11 "Night Chill": Added crumbling tiles.

They are used twice: At a "save" position first, where Tux doesn't die if he
falls down, and at the end where proceeding fast it not an issue, because there
is no enemy to fear. So it shouldn't make the level (much) more complicated.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6400 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agocastle/chain.png: Added tiles for chains.
florianf [Fri, 26 Feb 2010 12:20:14 +0000 (12:20 +0000)]
castle/chain.png: Added tiles for chains.

Chains fit well into the overall appearance of castles. A test level is
included.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6399 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoForgot a file from r6396
mathnerd314 [Mon, 22 Feb 2010 21:37:52 +0000 (21:37 +0000)]
Forgot a file from r6396

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6398 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoChange version to 0.3.3 as agreed upon in IRC.
mathnerd314 [Mon, 22 Feb 2010 21:30:54 +0000 (21:30 +0000)]
Change version to 0.3.3 as agreed upon in IRC.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6397 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRevert API changes of findlocale
mathnerd314 [Mon, 22 Feb 2010 21:26:44 +0000 (21:26 +0000)]
Revert API changes of findlocale

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6396 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoCompiler warning fix
grumbel [Mon, 22 Feb 2010 20:10:50 +0000 (20:10 +0000)]
Compiler warning fix

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6395 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRegister snowman in ObjectFactory
grumbel [Mon, 22 Feb 2010 18:12:17 +0000 (18:12 +0000)]
Register snowman in ObjectFactory

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6394 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUse bright red instead of hard to see dark grey for debugging of collision
grumbel [Mon, 22 Feb 2010 18:11:57 +0000 (18:11 +0000)]
Use bright red instead of hard to see dark grey for debugging of collision

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6393 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded some code for a very basic snowman
grumbel [Mon, 22 Feb 2010 17:28:37 +0000 (17:28 +0000)]
Added some code for a very basic snowman

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6392 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSnowman walk animation
grumbel [Mon, 22 Feb 2010 17:11:21 +0000 (17:11 +0000)]
Snowman walk animation

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6391 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/{collision.[ch]pp,sector.cpp}: Store velocities in the constraints.
florianf [Mon, 22 Feb 2010 10:21:22 +0000 (10:21 +0000)]
supertux/{collision.[ch]pp,sector.cpp}: Store velocities in the constraints.

Assume Tux is falling down with speed 2 and onto a downward moving tilemap with
speed 1. With the current constraints, his vertical motion will be set to zero,
possibly resulting in a hopping motion.

With normal, solid tiles this reset cannot be observed due to the way ground
movement is handled. With unisolid tiles, this results in said hopping.

This commit should be a non-functional change, i.e. the implementation differs
but the overall functionality should be unchanged.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6389 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoobject/tilemap.hpp: Add an explanation to the boolean argument of ->get_movement().
florianf [Mon, 22 Feb 2010 07:10:29 +0000 (07:10 +0000)]
object/tilemap.hpp: Add an explanation to the boolean argument of ->get_movement().

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6388 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agosupertux/sector.cpp: Make sure the boolean argument to TileMap->get_movement is used...
florianf [Mon, 22 Feb 2010 07:06:44 +0000 (07:06 +0000)]
supertux/sector.cpp: Make sure the boolean argument to TileMap->get_movement is used everywhere.

Also added little comments to give the argument a name.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6387 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agotest/crystalcave.stl: Added name for the level.
florianf [Mon, 22 Feb 2010 06:54:19 +0000 (06:54 +0000)]
test/crystalcave.stl: Added name for the level.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6386 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoSimplify include/squirrel.h (from ohnobinki; patch submitted upstream and untested...
mathnerd314 [Sun, 21 Feb 2010 23:23:51 +0000 (23:23 +0000)]
Simplify include/squirrel.h (from ohnobinki; patch submitted upstream and untested on MSVC)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6384 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRemove domain from findlocale + some unused stuff under windows
mathnerd314 [Sun, 21 Feb 2010 23:20:41 +0000 (23:20 +0000)]
Remove domain from findlocale + some unused stuff under windows

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6383 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years ago* Split systemRandom into graphicsRandom (particles, eye candy, etc.) and gameRandom...
mathnerd314 [Sun, 21 Feb 2010 23:18:32 +0000 (23:18 +0000)]
* Split systemRandom into graphicsRandom (particles, eye candy, etc.) and gameRandom (important things; shouldn't be used much)
* Camera doesn't move Tux around anymore
* Use assertions instead of NDEBUG
* Tilemap movement is reported correctly according to a boolean (still not perfect CD however)

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6382 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUse decal for forest worldmap.
mathnerd314 [Sun, 21 Feb 2010 23:09:21 +0000 (23:09 +0000)]
Use decal for forest worldmap.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6381 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAnother experimental tileset
grumbel [Sun, 21 Feb 2010 21:36:24 +0000 (21:36 +0000)]
Another experimental tileset

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6380 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoUpdated tiles.strf
grumbel [Sun, 21 Feb 2010 18:57:37 +0000 (18:57 +0000)]
Updated tiles.strf

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6379 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-20 "End of the Tunnel": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 16:44:18 +0000 (16:44 +0000)]
Level 1-20 "End of the Tunnel": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6378 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-19 "Miyamoto Monument": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 16:40:49 +0000 (16:40 +0000)]
Level 1-19 "Miyamoto Monument": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6377 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-18 "Ice in the Hole": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 16:34:21 +0000 (16:34 +0000)]
Level 1-18 "Ice in the Hole": Resize level to height 25 tiles.

Also added fading tilemaps for the secret areas.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6376 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-16 "Living in a Fridge": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 16:06:55 +0000 (16:06 +0000)]
Level 1-16 "Living in a Fridge": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6375 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-25 "Arctic Ruins": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:58:15 +0000 (15:58 +0000)]
Level 1-25 "Arctic Ruins": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6374 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLimit max visible area to 1280x800
grumbel [Sun, 21 Feb 2010 15:53:14 +0000 (15:53 +0000)]
Limit max visible area to 1280x800

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6373 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-23 "The Escape": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:53:05 +0000 (15:53 +0000)]
Level 1-23 "The Escape": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6372 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-22 "A Mysterious House of Ice": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:42:59 +0000 (15:42 +0000)]
Level 1-22 "A Mysterious House of Ice": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6371 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-09 "Grumbels Sense of Snow": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:35:45 +0000 (15:35 +0000)]
Level 1-09 "Grumbels Sense of Snow": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6370 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-07 "Oh No More Snowballs": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:29:42 +0000 (15:29 +0000)]
Level 1-07 "Oh No More Snowballs": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6369 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-06 "The Frosted Fields": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 15:17:59 +0000 (15:17 +0000)]
Level 1-06 "The Frosted Fields": Resize level to height 25 tiles.

Also added a couple of unisolid tiles where appropriate.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6368 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore crystal cave tiles
grumbel [Sun, 21 Feb 2010 15:17:02 +0000 (15:17 +0000)]
More crystal cave tiles

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6367 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-05 "The Somewhat Smaller Bath": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 14:59:18 +0000 (14:59 +0000)]
Level 1-05 "The Somewhat Smaller Bath": Resize level to height 25 tiles.

Also removed auxiliary limiting blocks and replaced Snowballs with
Mrs. Snowballs.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6366 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoMore crystal cave tiles
grumbel [Sun, 21 Feb 2010 14:48:17 +0000 (14:48 +0000)]
More crystal cave tiles

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6365 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-04 "Tobgle Road": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 14:45:13 +0000 (14:45 +0000)]
Level 1-04 "Tobgle Road": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6364 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-02 "The Journey Begins": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 14:33:56 +0000 (14:33 +0000)]
Level 1-02 "The Journey Begins": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6363 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded crystal cave tiles, not very useful at this point
grumbel [Sun, 21 Feb 2010 14:32:57 +0000 (14:32 +0000)]
Added crystal cave tiles, not very useful at this point

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6362 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-03 "Via Nostalgica": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 14:30:33 +0000 (14:30 +0000)]
Level 1-03 "Via Nostalgica": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6361 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-21 "A Path in the Clouds": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 14:25:50 +0000 (14:25 +0000)]
Level 1-21 "A Path in the Clouds": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6360 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoRemoved some confusing tiles at the end of the level
grumbel [Sun, 21 Feb 2010 11:48:51 +0000 (11:48 +0000)]
Removed some confusing tiles at the end of the level

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6359 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAddded some basic decal
grumbel [Sun, 21 Feb 2010 11:42:43 +0000 (11:42 +0000)]
Addded some basic decal

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6358 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-17 "Or is it just me": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 11:16:32 +0000 (11:16 +0000)]
Level 1-17 "Or is it just me": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6357 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-26 "The Castle of Nolok": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 10:55:15 +0000 (10:55 +0000)]
Level 1-26 "The Castle of Nolok": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6356 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-24 "The Shattered Bridge": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 10:18:21 +0000 (10:18 +0000)]
Level 1-24 "The Shattered Bridge": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6355 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoFixes issues in tilespec
grumbel [Sun, 21 Feb 2010 10:07:01 +0000 (10:07 +0000)]
Fixes issues in tilespec

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6354 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoAdded some more slope documentation
grumbel [Sun, 21 Feb 2010 10:06:32 +0000 (10:06 +0000)]
Added some more slope documentation

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6353 837edb03-e0f3-0310-88ca-d4d4e8b29345

14 years agoLevel 1-15 "Under the Ice": Resize level to height 25 tiles.
florianf [Sun, 21 Feb 2010 10:05:06 +0000 (10:05 +0000)]
Level 1-15 "Under the Ice": Resize level to height 25 tiles.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6352 837edb03-e0f3-0310-88ca-d4d4e8b29345