bulk changes

This commit is contained in:
2025-07-18 20:05:28 -04:00
parent 50e964d3a0
commit 1e08c7e33b
9 changed files with 196 additions and 83 deletions

View File

@@ -1,27 +1,35 @@
#ifndef CORE_H
#define CORE_H
#ifndef FORMAT_H
#define FORMAT_H
#include <stdbool.h>
/* License type enumeration */
typedef enum {
BSD3,
GPLv3,
MIT,
UNLICENCE,
BSD3, /* BSD 3-Clause License */
GPLv3, /* GNU General Public License v3 */
MIT, /* MIT License */
UNLICENCE, /* Unlicense */
} licence_t;
/* Library type enumeration */
typedef enum {
RAYLIB,
WINAPI,
cURL,
RAYLIB, /* Raylib game library */
WINAPI, /* Windows API */
cURL, /* cURL library */
} lib_t;
/* Project configuration structure */
typedef struct {
bool git;
bool clang_format;
licence_t licence;
char *project;
char *name;
bool git; /* Whether to initialize git repository */
bool clang_format; /* Whether to create .clang-format file */
licence_t licence; /* License type for the project */
char *project; /* Project name */
char *name; /* Author/creator name */
} format_t;
/* Default values */
#define DEFAULT_LICENSE BSD3
#define DEFAULT_GIT_INIT true
#define DEFAULT_CLANG_FORMAT true
#endif