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
+16
View File
@@ -0,0 +1,16 @@
#ifndef ENGINE_SOUNDTRACK_H
#define ENGINE_SOUNDTRACK_H
#include <raylib.h>
#include <stdbool.h>
typedef struct {
Music music;
bool playing;
bool paused;
} Soundtrack;
Soundtrack LoadSoundtrack(const char *musicPath);
void UpdateSoundtrack(Soundtrack *soundtrack, bool playing);
#endif // ENGINE_SOUNDTRACK_H