diff options
Diffstat (limited to 'src/puzzles/puzzle.h')
| -rw-r--r-- | src/puzzles/puzzle.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/puzzles/puzzle.h b/src/puzzles/puzzle.h index e8180e1..90ee160 100644 --- a/src/puzzles/puzzle.h +++ b/src/puzzles/puzzle.h @@ -1,5 +1,6 @@ #include <stddef.h> #include <wren.h> +#include <raylib.h> #ifndef PUZZLE_H #define PUZZLE_H @@ -92,4 +93,21 @@ typedef struct { DistractionPuzzle *GetRandomDistraction(); void FreeDistrationPuzzle(DistractionPuzzle *puzzle); +typedef enum { + COLLECTION_ELEMENT_PUZZLE, + COLLECTION_ELEMENT_COLLECTION, + COLLECTION_ELEMENT_UNKNOWN +} CollectionElementType; + +typedef struct CollectionElement { + char *path; + struct CollectionElement *children; + size_t childCount; + Texture2D *icon; + bool IsInitialized; + CollectionElementType type; +} CollectionElement; + +void InitializeCollection(CollectionElement *el); + #endif // PUZZLE_H |
