summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorveradec <glitchmill.dyj3d@simplelogin.co>2026-10-24 00:05:19 +0530
committerveradec <glitchmill.dyj3d@simplelogin.co>2026-10-24 00:05:19 +0530
commit47f914f462c8deb712f0fcb1260e7634c89425f9 (patch)
treec4bb6b3ce1c4258d35cb337535dd750273783d27 /main.h
parent98004455a409149c4ca3d4e80db5eebc397690a6 (diff)
re-formatting main.h to helpers.h and a new headers for ante
Diffstat (limited to 'main.h')
-rw-r--r--main.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/main.h b/main.h
deleted file mode 100644
index 9bfdc91..0000000
--- a/main.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <string.h>
-
-#define TEXT_FONT text_font
-
-#define WriteDrawText(text, posX, posY, fontSize, color) \
- DrawText(text, posX - (MeasureText(text, fontSize) / 2), posY, fontSize, \
- color);
-
-#define WriteDrawTextFont(font, text, posX, posY, fontSize, spacing, color) DrawTextEx(font, text, (Vector2){(posX - MeasureTextEx(font, text, fontSize, spacing).x/2), posY}, fontSize, spacing, color);
-
-#define WriteText(text, posX, posY, fontSize, color) DrawTextEx(TEXT_FONT, text, (Vector2){(posX - MeasureTextEx(TEXT_FONT, text, fontSize, 0).x/2), posY}, fontSize, 0, color);
-
-#define DrawRect(posX,posY,width,height,color) DrawRectangle(posX - width/2, posY, width, height, color);
-
-#define MakeRect(posX, posY, width, height) {posX - width/2, posY, width, height};
-
-#define MakeBtn(posX, posY, txt, fontSize, padding) {posX - MeasureText(txt, fontSize) / 2 - padding, posY - padding, MeasureText(txt, fontSize) + padding * 2, fontSize + padding * 2}
-
-
-#define IsMouseInside(rec) CheckCollisionPointRec(mouse_position, rec)
-/* #define HIGHLIGHT_COLOR */
-/* #define CLICK_COLOR */
-
-typedef enum ScreenType {
- MainScreen, SettingsScreen
-} ScreenType;
-
-void MainMenu();
-void SettingsMenu();
-void LoadConfiguration();
-void WriteConfiguration();
-void SetVariables(char* line);
-