ALL: Fixed compiler warnings

This commit is contained in:
Pawel Kolodziejski
2016-07-23 19:08:22 +02:00
parent c00c43dfcd
commit 82bc17b63a
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -202,8 +202,8 @@ void Movie::setEndFrame(int32 v) {
_endFrame = adjustFrameForRate(v, true);
}
void Movie::pause(bool pause) {
_bink.pauseVideo(pause);
void Movie::pause(bool p) {
_bink.pauseVideo(p);
}
Movie::~Movie() {
+2 -2
View File
@@ -287,8 +287,8 @@ bool FloorEdge::intersectsSegment(const Floor *floor, const Math::Line3d &segmen
return edgeSement.intersectLine2d(segment, nullptr, false);
}
void FloorEdge::enable(bool enable) {
_enabled = enable;
void FloorEdge::enable(bool e) {
_enabled = e;
}
bool FloorEdge::isEnabled() const {
+2 -2
View File
@@ -174,9 +174,9 @@ bool FloorFace::hasVertices() const {
return _indices[0] != 0 || _indices[1] != 0 || _indices[2] != 0;
}
void FloorFace::enable(bool enable) {
void FloorFace::enable(bool e) {
for (uint i = 0; i < _edges.size(); i++) {
_edges[i]->enable(enable);
_edges[i]->enable(e);
}
}
+2 -2
View File
@@ -29,9 +29,9 @@ namespace Math {
Ray::Ray() {
}
Ray::Ray(const Vector3d &origin, const Vector3d &direction) :
Ray::Ray(const Vector3d &origin, const Vector3d &dir) :
_origin(origin),
_direction(direction) {
_direction(dir) {
}
void Ray::transform(const Matrix4 &matrix) {