diff options
Diffstat (limited to 'noiseutils/warnings.diff')
-rw-r--r-- | noiseutils/warnings.diff | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/noiseutils/warnings.diff b/noiseutils/warnings.diff deleted file mode 100644 index 24fc13c..0000000 --- a/noiseutils/warnings.diff +++ /dev/null @@ -1,56 +0,0 @@ -diff -u /home/snakebite/noiseutils/noiseutils.cpp ./noiseutils.cpp ---- /home/snakebite/noiseutils/noiseutils.cpp 2005-06-07 21:49:24.000000000 +0200 -+++ ./noiseutils.cpp 2011-05-07 14:32:36.000000000 +0200 -@@ -671,7 +671,6 @@ - int height = m_pSourceNoiseMap->GetHeight ();
-
- int bufferSize = CalcWidthByteCount (width);
-- int destSize = bufferSize * height;
-
- // This buffer holds one horizontal line in the destination file.
- noise::uint8* pLineBuffer = NULL;
-diff -u /home/snakebite/noiseutils/noiseutils.h ./noiseutils.h ---- /home/snakebite/noiseutils/noiseutils.h 2005-06-07 21:46:42.000000000 +0200 -+++ ./noiseutils.h 2011-05-07 14:32:06.000000000 +0200 -@@ -134,17 +134,17 @@ - {
- }
-
-- /// Value of the alpha (transparency) channel.
-- noise::uint8 alpha;
--
-- /// Value of the blue channel.
-- noise::uint8 blue;
-+ /// Value of the red channel.
-+ noise::uint8 red;
-
- /// Value of the green channel.
- noise::uint8 green;
-
-- /// Value of the red channel.
-- noise::uint8 red;
-+ /// Value of the blue channel.
-+ noise::uint8 blue;
-+
-+ /// Value of the alpha (transparency) channel.
-+ noise::uint8 alpha;
-
- };
-
-@@ -1296,13 +1296,13 @@ - /// Name of the file to write.
- std::string m_destFilename;
-
-+ /// A pointer to the noise map that will be written to the file.
-+ NoiseMap* m_pSourceNoiseMap;
-+
- /// The distance separating adjacent points in the noise map, in
- /// meters.
- float m_metersPerPoint;
-
-- /// A pointer to the noise map that will be written to the file.
-- NoiseMap* m_pSourceNoiseMap;
--
- };
-
- /// Abstract base class for a noise-map builder
|