refactor: header file for every module

This commit is contained in:
2026-09-19 13:11:53 +02:00
parent b26070a518
commit dda0d38e22
36 changed files with 968 additions and 272 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef CLOUDS_H
#define CLOUDS_H
#include <raylib.h>
typedef struct {
Shader shader;
float time;
float coverage;
} Clouds;
Clouds CreateClouds(void);
void UpdateClouds(Clouds *clouds, float deltaTime);
void RenderCloudShadows(Clouds *clouds, Camera2D *camera);
void RenderClouds(Clouds *clouds, Camera2D *camera);
void UnloadClouds(Clouds *clouds);
#endif