refactor: header file for every module
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user