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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
florianf [Sun, 21 Feb 2010 09:59:42 +0000 (09:59 +0000)]
Level 1-14 "Entrance to the Cave": Resize level to height 25 tiles.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6351
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:47:31 +0000 (09:47 +0000)]
Level 1-12 "Into the Stars": Resize level to height 25 tiles.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6350
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:36:04 +0000 (09:36 +0000)]
Level 1-11 "Night Chill": Resize level to height 25 tiles.
Also added a fading tilemap for one of the secret areas.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6349
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:22:00 +0000 (09:22 +0000)]
Level 1-09 "Grumbels Sense of Snow": Remove auxiliary limiting blocks.
Mrs. Snowball is used instead.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6348
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:18:02 +0000 (09:18 +0000)]
Level 1-08 "Stone Cold": Resize level to height 25 tiles.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6347
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:11:50 +0000 (09:11 +0000)]
Level 1-03 "Via Nostalgica": Create unisolid platform for Mr. Bomb.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6346
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 09:00:01 +0000 (09:00 +0000)]
Level 1-13 "Above the Arctic Skies": Remove auxiliary limiting blocks.
Mrs. Snowball is used instead.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6345
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 08:43:07 +0000 (08:43 +0000)]
data/images/tiles.strf: Added slope data for the nightcave tiles.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6344
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 08:21:32 +0000 (08:21 +0000)]
NightCave test level: Added level name.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6343
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 21 Feb 2010 08:15:57 +0000 (08:15 +0000)]
Bug 524: Fading TileMaps may change solidity of the TileMap.
When the alpha value of a layer is changed to > .75, the solid flag will be
set. When the alpha value of a layer is changed to < .25, the solid flag is
cleared. This prevents hiding background / foreground layers at the beginning
of the level and display them as a result to some action of the player.
Resolves #524.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6342
837edb03-e0f3-0310-88ca-
d4d4e8b29345
grumbel [Sat, 20 Feb 2010 19:12:08 +0000 (19:12 +0000)]
Added some more slopes for nightcave
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6341
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sat, 20 Feb 2010 18:22:10 +0000 (18:22 +0000)]
makedist.sh: Include the external/ subdirectory in the distribution.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6340
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sat, 20 Feb 2010 18:07:35 +0000 (18:07 +0000)]
makedist.sh: Updated to current build system and available files.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6339
837edb03-e0f3-0310-88ca-
d4d4e8b29345
grumbel [Sat, 20 Feb 2010 14:38:28 +0000 (14:38 +0000)]
Added some basic slopes and a test level for nightcave
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6338
837edb03-e0f3-0310-88ca-
d4d4e8b29345
grumbel [Sat, 20 Feb 2010 11:49:04 +0000 (11:49 +0000)]
Added some new tiles (unfinished work in progress)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6337
837edb03-e0f3-0310-88ca-
d4d4e8b29345
grumbel [Wed, 17 Feb 2010 13:16:48 +0000 (13:16 +0000)]
Minor cleanup
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6335
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mmccutchen [Mon, 15 Feb 2010 05:41:35 +0000 (05:41 +0000)]
Adjust music definition files.
http://lists.lethargik.org/pipermail/supertux-devel-lethargik.org/2009-November/002508.html
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6334
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Mon, 15 Feb 2010 00:12:55 +0000 (00:12 +0000)]
Replace data README with AUTHORS file. (based heavily off of [[DataFiles]])
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6333
837edb03-e0f3-0310-88ca-
d4d4e8b29345
wolfgangb [Sat, 13 Feb 2010 12:54:44 +0000 (12:54 +0000)]
Not everything is dual licensed. See [DataFiles] and svn log.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6331
837edb03-e0f3-0310-88ca-
d4d4e8b29345
wolfgangb [Sat, 13 Feb 2010 12:34:54 +0000 (12:34 +0000)]
Slope is essential for badguys to reach Tux when he respawns.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6330
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Sat, 13 Feb 2010 04:06:42 +0000 (04:06 +0000)]
Align stalactites more precisely in Yeti level.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6329
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Sat, 13 Feb 2010 03:43:44 +0000 (03:43 +0000)]
Some Yeti boss work. Yes, you *can* beat it as small tux. (And the secret area *is* also reachable if you're inhumanly precise)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6328
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Fri, 12 Feb 2010 07:15:50 +0000 (07:15 +0000)]
{,data/}README: Document license of data files.
Thanks to ohnobinki for the patch.
Resolves: #578.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6327
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Fri, 12 Feb 2010 05:38:12 +0000 (05:38 +0000)]
Remove SCons build system.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6326
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Fri, 12 Feb 2010 05:33:20 +0000 (05:33 +0000)]
Pass Vector by value
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6325
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Fri, 12 Feb 2010 05:29:50 +0000 (05:29 +0000)]
CometParticleSystem include fix
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6324
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Thu, 11 Feb 2010 20:31:49 +0000 (20:31 +0000)]
Update install file a bit.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6323
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 16:07:56 +0000 (16:07 +0000)]
Bug 574: Check whether the Console instance still exists before accessing it.
If the global Console instance doesn't exist anymore (or not yet), "std::cerr"
will be used instead.
Resolves: #574.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6322
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 14:55:39 +0000 (14:55 +0000)]
Various objects: Use "reader_get_layer" to parse the "z-pos" and "layer" options.
This should be a much more thorough fix for the bug described in #527 "Text and
backgrounds can overlap the menu".
References: #527.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6321
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 14:54:15 +0000 (14:54 +0000)]
src/util/reader.[ch]pp: Add "reader_get_layer" ...
... a utility function to read and sanitize the "layer" and "z-pos" options.
References: #527.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6320
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 10:27:18 +0000 (10:27 +0000)]
Level 1-23 "The Escape": Use "ice" background add unisolid tiles.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6319
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 09:25:36 +0000 (09:25 +0000)]
Bug 527: Limit tilemap and background layers to (LAYER_GUI - 100).
This way tilemaps and backgrounds can no longer overlap the menu.
Resolves #527.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6318
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 08:57:20 +0000 (08:57 +0000)]
Level 1-13 "Above the Arctic Skies": Fix unreasonable z-position.
Thanks to Matt McCutchen for the fix.
Related to #527.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6317
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 08:51:40 +0000 (08:51 +0000)]
Bug 568: Level 2-builder "Tux the Builder": Remove "ugly" slope combination.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6316
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 08:43:40 +0000 (08:43 +0000)]
Bug 568: Level 2-"Crumbling Path": Remove "ugly" slope combination.
Also added a fading secret area tilemap.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6315
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 08:17:16 +0000 (08:17 +0000)]
Bug 568: Level 2-leaves "Walking Leaves": Remove "ugly" slope combination.
Resolves #568.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6314
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 08:03:42 +0000 (08:03 +0000)]
Bug 576: Level 1-22 "A Mysterious House of Ice": Use different background tiles.
Use the "ice" tiles rather than the "snow" tiles for the background. The
"interactive" layer uses the "snow" tiles, which made it hard to see which
tiles one could stand on and which were background.
Resolves #576.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6313
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Thu, 11 Feb 2010 07:51:49 +0000 (07:51 +0000)]
Bug 577: (Re)allow Player to low-jump from a stopped position.
Reverts the player controls change from r6272 (bug 577).
Thanks to Matt McCutchen for this patch.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6312
837edb03-e0f3-0310-88ca-
d4d4e8b29345
mathnerd314 [Tue, 9 Feb 2010 22:06:41 +0000 (22:06 +0000)]
Update squirrel to 2.2.4 (keeping const-correctness of sqstdstream)
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6311
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Tue, 9 Feb 2010 20:05:13 +0000 (20:05 +0000)]
Level 1-21 "A Path in the Clouds": Make edges between snow and ice nicer.
Since there are no special tiles for this edge, make do with interactive and
background layer.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6310
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Tue, 9 Feb 2010 09:54:21 +0000 (09:54 +0000)]
Bug 570: Level 1-07 "Oh no! More Snowballs!": Add fading secret area tilemap.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6309
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Tue, 9 Feb 2010 09:52:37 +0000 (09:52 +0000)]
Bug 570: Level 1-06 "The Frosted Fields": Add fading secret area tilemap.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6308
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Tue, 9 Feb 2010 09:50:40 +0000 (09:50 +0000)]
Bug 570: Level 1-04 "Tobgle Road": Add fading secret area tilemap.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6307
837edb03-e0f3-0310-88ca-
d4d4e8b29345
grumbel [Sat, 6 Feb 2010 20:19:53 +0000 (20:19 +0000)]
Added missing variable initialisation and replaced some str != "" with !str.empty()
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6305
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Mon, 1 Feb 2010 13:28:38 +0000 (13:28 +0000)]
supertux/collision.[ch]pp: Use "contrain_*" rather than "min_*" and "max_*".
See Matt's comments on bug #456.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6304
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 31 Jan 2010 22:50:40 +0000 (22:50 +0000)]
Bug 571: Take tilemap movement into account when handling unisolid tiles for collision detection.
As Mathnerd314 has pointed out on IRC, checking (movement.y >= 0) is not
correct when the tilemap containing the unisolid tile is moving. In this case,
the relative speed should be considered.
Resolves #571.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6303
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 31 Jan 2010 22:44:17 +0000 (22:44 +0000)]
src/supertux/sector.cpp: Use shift delta when checking the position of non-sloped unisolid tiles.
This solves the "Tux falls through unisolid moving platforms" bug observed by
Mathnerd314.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6302
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sun, 31 Jan 2010 22:20:16 +0000 (22:20 +0000)]
Bug 566: Implement handling of unisolid slopes.
The current code handling unisolid tiles only works correctly with normal,
quadratic tiles. The attached patch implements correct handling of unisolid
slopes.
Whether or not an unisolid tile is solid depends on two factors: The movement
of the player and the position of the player.
Checking the movement of the player is simple with quadratic tiles: If the
y-component is positive, the player is moving "down" and the tile should be
solid. Otherwise, the tile is non-solid. With slopes the check is more complex:
A player may move "up" and still move "against" a slope tile which should then
be solid. The patch introduces a new function "check_movement_unisolid" which
compares the tangent / gradient of the slope and the movement and decides based
on that.
Again, checking the position of the player is easy with quadratic tiles. If
(tile.top > player.bottom), the player is above the tile. Otherwise, the player
is below of in the tile (for example when the player jumped up through the tile
but not enough to reach the surface). With slopes, the check is more
complicated because the player may be already within the tile but still above
the surface. Especially with DEFORM1 the player may be more than 16 pixels into
the tile without reaching the surface. The new "check_position_unisolid"
function introduced by the patch handles these cases correctly.
Last but not least: With north-west and north-east slopes there are unisolid
tiles which can be passed from top to bottom but which are solid when moving
from the bottom up. The functions introduced by the patch handle these slopes
correctly, too.
Resolves: #566.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6301
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sat, 30 Jan 2010 17:40:25 +0000 (17:40 +0000)]
Bug 563: Reset backflipping when Tux spawns.
There is one player object per sector. If Tux backflips into a script trigger
and spawns in another sector, the player object in the first sector will still
have "backflipping = true", and Tux will be backflipping when he returns to the
first sector. This looks wrong and can get the user stuck in "Find the Bigger
Fish". The flag needs to be reset when Tux spawns.
Resolves #563. Thanks to Matt McCutchen for this patch.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6300
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sat, 30 Jan 2010 17:36:43 +0000 (17:36 +0000)]
Bug 562: Collision detection for unisolid tiles doesn't handle tilemap offset
- Use the new TileMap::get_tile_bbox function, which handles offset.
Cleanups:
- Get the bottom from the original MovingObject rather than subtracting
movement from dest (an ugly kludge).
- Apply De Morgan's law so the test more clearly corresponds to the
comment.
Resolves #562. Thanks to Matt McCutchen for updating the patch.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6299
837edb03-e0f3-0310-88ca-
d4d4e8b29345
florianf [Sat, 30 Jan 2010 13:01:38 +0000 (13:01 +0000)]
Bug 474: Flip bonus-block flowers and partial-size tilemaps properly.
Resolves #474. Thanks to Matt McCutchen for this patch.
git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6298
837edb03-e0f3-0310-88ca-
d4d4e8b29345