All the changes since last commit

This commit is contained in:
2022-12-26 20:50:14 -05:00
parent 360614e231
commit ac2c3b5c79
17 changed files with 127 additions and 75 deletions

18
include/LevelGenerator.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef LEVELGENERATOR
#define LEVELGENERATOR
#include "FastNoiseLite.h"
class LevelGenerator
{
public:
LevelGenerator();
void generateBlock();
protected:
private:
FastNoiseLite perlin, os, cellular;
int seed = 138;
};
#endif

View File

@@ -26,7 +26,7 @@ class TextureHandler
void loadAllTextures()
{
int textureIndex = 0;
imageData = loadTexture("data/img/grass.png");
imageData = loadTexture("data/img/texturemap.png");
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);