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
+20
View File
@@ -0,0 +1,20 @@
#ifndef ROSE_H
#define ROSE_H
#include <raylib.h>
#include "engineSprite.h"
#include "player.h"
#define ROSE_SCREEN_WIDTH_FRACTION 0.2f
typedef enum { ROSE, ROSE_TEX_COUNT } RoseTextureID;
typedef struct {
Sprite sprite;
} Rose;
Rose CreateRose(void);
void UpdateRose(Rose *rose, Player *player);
void RenderRose(Rose *rose);
#endif