27 lines
504 B
C
27 lines
504 B
C
#ifndef FLOOR_H
|
|
#define FLOOR_H
|
|
|
|
#include <raylib.h>
|
|
|
|
#include "engineSprite.h"
|
|
|
|
typedef struct {
|
|
Sprite sprite;
|
|
Rectangle bounds;
|
|
Shader shader;
|
|
float time;
|
|
Texture2D causticTexture;
|
|
Texture2D causticHighlightTexture;
|
|
Texture2D noiseTexture;
|
|
Texture2D cloudTexture;
|
|
Texture2D voronoiseTexture;
|
|
Texture2D depthGradientTexture;
|
|
} Floor;
|
|
|
|
Floor CreateFloor(void);
|
|
void UpdateFloor(Floor *floor, Camera2D *camera);
|
|
void RenderFloor(Floor *floor);
|
|
void UnloadFloor(Floor *floor);
|
|
|
|
#endif
|