fix: remove byte type alias

This commit is contained in:
Tropical
2026-03-06 05:03:37 -06:00
parent 09eae49d21
commit 15af35eef2
208 changed files with 700 additions and 701 deletions
+3 -3
View File
@@ -15,10 +15,10 @@ FastNoise::FastNoise(Random *random, int levels)
void FastNoise::init(Random *random, int levels)
{
this->levels = levels;
noiseMaps = new byte *[levels];
noiseMaps = new uint8_t *[levels];
for (int i = 0; i < levels; i++)
{
noiseMaps[i] = new byte[0x100000];
noiseMaps[i] = new uint8_t[0x100000];
random->nextBytes(noiseMaps[i],0x100000);
}
}
@@ -44,7 +44,7 @@ doubleArray FastNoise::getRegion(doubleArray buffer, double x, double y, double
int BB = 21771;
for (int i = 0; i < levels; i++)
{
byte *map = noiseMaps[i];
uint8_t *map = noiseMaps[i];
int pp = 0;
for (int zp = 0; zp < zSize; zp++)
+1 -1
View File
@@ -3,7 +3,7 @@
class FastNoise
{
private:
byte **noiseMaps;
uint8_t **noiseMaps;
int levels;
public: