mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- remove the deleted functions, now that they are no longer needed.
This commit is contained in:
parent
4d4f31fd83
commit
be8d1b46a7
1 changed files with 10 additions and 10 deletions
20
src/r_defs.h
20
src/r_defs.h
|
@ -1167,18 +1167,19 @@ struct side_t
|
||||||
{
|
{
|
||||||
textures[which].xOffset = offset;;
|
textures[which].xOffset = offset;;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTextureXOffset(double offset)
|
void SetTextureXOffset(double offset)
|
||||||
{
|
{
|
||||||
textures[top].xOffset =
|
textures[top].xOffset =
|
||||||
textures[mid].xOffset =
|
textures[mid].xOffset =
|
||||||
textures[bottom].xOffset = offset;
|
textures[bottom].xOffset = offset;
|
||||||
}
|
}
|
||||||
fixed_t GetTextureXOffset(int which) const = delete;
|
|
||||||
double GetTextureXOffsetF(int which) const
|
double GetTextureXOffsetF(int which) const
|
||||||
{
|
{
|
||||||
return textures[which].xOffset;
|
return textures[which].xOffset;
|
||||||
}
|
}
|
||||||
void AddTextureXOffset(int which, fixed_t delta) = delete;
|
|
||||||
void AddTextureXOffset(int which, double delta)
|
void AddTextureXOffset(int which, double delta)
|
||||||
{
|
{
|
||||||
textures[which].xOffset += delta;
|
textures[which].xOffset += delta;
|
||||||
|
@ -1188,34 +1189,34 @@ struct side_t
|
||||||
{
|
{
|
||||||
textures[which].yOffset = offset;
|
textures[which].yOffset = offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTextureYOffset(double offset)
|
void SetTextureYOffset(double offset)
|
||||||
{
|
{
|
||||||
textures[top].yOffset =
|
textures[top].yOffset =
|
||||||
textures[mid].yOffset =
|
textures[mid].yOffset =
|
||||||
textures[bottom].yOffset = offset;
|
textures[bottom].yOffset = offset;
|
||||||
}
|
}
|
||||||
fixed_t GetTextureYOffset(int which) const = delete;
|
|
||||||
double GetTextureYOffsetF(int which) const
|
double GetTextureYOffsetF(int which) const
|
||||||
{
|
{
|
||||||
return textures[which].yOffset;
|
return textures[which].yOffset;
|
||||||
}
|
}
|
||||||
void AddTextureYOffset(int which, fixed_t delta) = delete;
|
|
||||||
void AddTextureYOffset(int which, double delta)
|
void AddTextureYOffset(int which, double delta)
|
||||||
{
|
{
|
||||||
textures[which].yOffset += delta;
|
textures[which].yOffset += delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTextureXScale(int which, fixed_t scale) = delete;
|
|
||||||
void SetTextureXScale(int which, double scale)
|
void SetTextureXScale(int which, double scale)
|
||||||
{
|
{
|
||||||
textures[which].xScale = scale == 0 ? 1. : scale;
|
textures[which].xScale = scale == 0 ? 1. : scale;
|
||||||
}
|
}
|
||||||
void SetTextureXScale(fixed_t scale) = delete;
|
|
||||||
void SetTextureXScale(double scale)
|
void SetTextureXScale(double scale)
|
||||||
{
|
{
|
||||||
textures[top].xScale = textures[mid].xScale = textures[bottom].xScale = scale == 0 ? 1. : scale;
|
textures[top].xScale = textures[mid].xScale = textures[bottom].xScale = scale == 0 ? 1. : scale;
|
||||||
}
|
}
|
||||||
fixed_t GetTextureXScale(int which) const = delete;
|
|
||||||
double GetTextureXScaleF(int which) const
|
double GetTextureXScaleF(int which) const
|
||||||
{
|
{
|
||||||
return textures[which].xScale;
|
return textures[which].xScale;
|
||||||
|
@ -1226,22 +1227,21 @@ struct side_t
|
||||||
textures[which].xScale *= delta;
|
textures[which].xScale *= delta;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTextureYScale(int which, fixed_t scale) = delete;
|
|
||||||
void SetTextureYScale(int which, double scale)
|
void SetTextureYScale(int which, double scale)
|
||||||
{
|
{
|
||||||
textures[which].yScale = scale == 0 ? 1. : scale;
|
textures[which].yScale = scale == 0 ? 1. : scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetTextureYScale(fixed_t scale) = delete;
|
|
||||||
void SetTextureYScale(double scale)
|
void SetTextureYScale(double scale)
|
||||||
{
|
{
|
||||||
textures[top].yScale = textures[mid].yScale = textures[bottom].yScale = scale == 0 ? 1. : scale;
|
textures[top].yScale = textures[mid].yScale = textures[bottom].yScale = scale == 0 ? 1. : scale;
|
||||||
}
|
}
|
||||||
fixed_t GetTextureYScale(int which) const = delete;
|
|
||||||
double GetTextureYScaleF(int which) const
|
double GetTextureYScaleF(int which) const
|
||||||
{
|
{
|
||||||
return textures[which].yScale;
|
return textures[which].yScale;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MultiplyTextureYScale(int which, double delta)
|
void MultiplyTextureYScale(int which, double delta)
|
||||||
{
|
{
|
||||||
textures[which].yScale *= delta;
|
textures[which].yScale *= delta;
|
||||||
|
|
Loading…
Reference in a new issue