}
Tile::Tile(const std::vector<ImageSpec>& imagespecs_, const std::vector<ImageSpec>& editor_imagespecs_,
- uint32_t attributes, uint32_t data, float fps) :
+ uint32_t attributes_, uint32_t data_, float fps_) :
imagespecs(imagespecs_),
images(),
editor_imagespecs(editor_imagespecs_),
editor_images(),
- attributes(attributes),
- data(data),
- fps(fps)
+ attributes(attributes_),
+ data(data_),
+ fps(fps_)
{
correct_attributes();
}
* in quotation marks because because the slope's gradient is taken.
* Also, this uses the movement relative to the tilemaps own movement
* (if any). --octo */
-bool Tile::check_movement_unisolid (const Vector movement) const
+bool Tile::check_movement_unisolid (const Vector& movement) const
{
int slope_info;
double mv_x;
return (mv_tan >= slope_tan);
}
- assert (1 != 1);
return false;
} /* int check_movement_unisolid */