mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
ALL: Fixed compiler warnings
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user