+++ /dev/null
-SUPERTUX FIXME'S
-This file is for small, obvious and temporary issues that are too minor to be put into the TODO at the wiki.
-Just put them here so you don't forget.
----
-
-Errors in scripts crash X-Server (very annoying, please fix)
-Some levels don't have the music path set correctly
-Revert Tux to single image sprite
(east #t)
(stop #f))
+ (tile (id 78)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 0 0 32 32)
+ )
+ (north #f)
+ (south #f)
+ (west #t)
+ (east #t)
+ )
+
+ (tile (id 79)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 32 0 32 32)
+ )
+ (north #t)
+ (south #t)
+ (west #f)
+ (east #f)
+ )
+
+ (tile (id 80)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 64 0 32 32)
+ )
+ (north #f)
+ (south #t)
+ (west #f)
+ (east #t)
+ )
+
+ (tile (id 81)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 96 0 32 32)
+ )
+ (north #f)
+ (south #t)
+ (west #t)
+ (east #f)
+ )
+
+ (tile (id 82)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 0 32 32 32)
+ )
+ (north #t)
+ (south #t)
+ (west #f)
+ (east #t)
+ )
+
+ (tile (id 83)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 32 32 32 32)
+ )
+ (north #t)
+ (south #t)
+ (west #t)
+ (east #f)
+ )
+
+ (tile (id 84)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 64 32 32 32)
+ )
+ (north #t)
+ (south #f)
+ (west #f)
+ (east #t)
+ )
+
+ (tile (id 85)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 96 32 32 32)
+ )
+ (north #t)
+ (south #f)
+ (west #t)
+ (east #f)
+ )
+
+ (tile (id 86)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 0 64 32 32)
+ )
+ (north #t)
+ (south #f)
+ (west #t)
+ (east #t)
+ )
+
+ (tile (id 87)
+ (images "worldmap/antarctica/water.png")
+ (editor-images
+ (region "worldmap/antarctica/water-editor.png" 32 64 32 32)
+ )
+ (north #f)
+ (south #t)
+ (west #t)
+ (east #t)
+ )
+
(tile
(id 167)
(images
(supertux-sprite
(action
- (name "default")
- (x-offset 0)
- (y-offset 0)
-(fps 5)
- (images "boat.png"
-)
+ (name "empty")
+ (images "boat_empty.png")
)
(action
- (name "solved")
- (x-offset 0)
- (y-offset 0)
-(fps 5)
- (images "boat.png"
-)
+ (name "small-stop")
+ (images "boat.png")
+ )
+ (action
+ (name "small-walking")
+ (images "boat.png")
+ )
+ (action
+ (name "fire-stop")
+ (images "boat.png")
+ )
+ (action
+ (name "fire-walking")
+ (images "boat.png")
+ )
+ (action
+ (name "large-stop")
+ (images "boat.png")
+ )
+ (action
+ (name "large-walking")
+ (images "boat.png")
)
)
static const float Y_OFFSCREEN_DISTANCE = 1200;
BadGuy::BadGuy()
- : countMe(true), sprite(0), remove_out_of_bounds(true), dir(LEFT), state(STATE_INIT)
+ : countMe(true), sprite(0), dir(LEFT), state(STATE_INIT)
{
set_group(COLGROUP_DISABLED);
}
void
BadGuy::update(float elapsed_time)
{
- if(!Sector::current()->inside(bbox) && remove_out_of_bounds) {
+ if(!Sector::current()->inside(bbox)) {
remove_me();
return;
}
/// is the enemy activated
bool activated;
/**
- * Should the badguy be removed when it leaves the bounds of the sector?
- * Use this when the badguy is portable and picked up by the player, who
- * may actually leave the sector's bounds sometimes.
- */
- bool remove_out_of_bounds;
- /**
* initial position of the enemy. Also the position where enemy respawns when
* after being deactivated.
*/
sprite->set_action(dir == LEFT ? "flat-left" : "flat-right");
set_state(ICESTATE_GRABBED);
set_group(COLGROUP_DISABLED);
- remove_out_of_bounds = false;
}
void
this->dir = dir;
set_state(ICESTATE_KICKED);
set_group(COLGROUP_MOVING);
- remove_out_of_bounds = true;
}
IMPLEMENT_FACTORY(MrIceBlock, "mriceblock")
}
alpha = 1.0;
- if(stayOpen < 5)
- stayOpen += 1;
+ if(stayOpen < 6)
+ stayOpen += 1.5;
}
void
{
if(rect.p1.x > solids->get_width() * 32
|| rect.p1.y > solids->get_height() * 32
- || rect.p2.x < 0 || rect.p2.y < 0)
+ || rect.p2.x < 0)
return false;
return true;
const std::string& get_name() const
{ return name; }
- /// tests if a given rectangle is inside the sector
+ /**
+ * tests if a given rectangle is inside the sector
+ * (a rectangle that is on top of the sector is considered inside)
+ */
bool inside(const Rect& rectangle) const;
void play_music(MusicType musictype);
}
}
+
+
// stop if we reached a level, a WORLDMAP_STOP tile or a special tile without a passive_message
if ((worldmap->at_level()) || (worldmap->at(tile_pos)->getData() & Tile::WORLDMAP_STOP) || (special_tile && !special_tile->passive_message))
{
* Save worldmap state to squirrel state table
*/
void save_state();
+
/**
* Load worldmap state from squirrel state table
*/
void load_state();
+
/**
* Load a worldmap
*/