summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorveradec <glitchmill.dyj3d@simplelogin.co>2026-10-25 11:52:47 +0530
committerveradec <glitchmill.dyj3d@simplelogin.co>2026-10-25 11:52:47 +0530
commit93f7ceeafcd08015563d783feffe638b12afd3b0 (patch)
tree58dbfff1cb1b5a12daa87d4bad06234becff1b7d /main.c
parent5e7b78a87eede5f3d57d0be7597a54ecc7d09db3 (diff)
fix: formatting and remove unneccesary comments
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/main.c b/main.c
index 7ae7913..d2e1b81 100644
--- a/main.c
+++ b/main.c
@@ -22,6 +22,7 @@ Vector2 foo;
Font title_font;
Font text_font;
+
// FPS Counters
bool show_fps = true;
int max_fps = 60;
@@ -33,14 +34,12 @@ int widths[] = {1920, 1366, 2560 };
int heights[] = {1080, 768, 1440 };
int resolution_counter = 0;
-
// Vsync
bool vsync_check = false;
// ante_count
int ante_count = 0;
-
char file_path[1024];
#define BTN_PADDING 25
@@ -50,7 +49,6 @@ void MainMenu() {
WriteDrawTextFont(title_font, "Leetaro", width / 2, height / 5, font_size * 10, 0, BLACK);
// Play Button
-
Rectangle play_btn = MakeBtn(width/2, height/2, "Play", font_size *5, BTN_PADDING);
@@ -84,8 +82,6 @@ void MainMenu() {
font_size * 5, BLACK);
}
- /* rec = {width / 2 - MeasureText("Exit", font_size * 5), height /2 + (height / 5), MeasureText("Exit", font_size * 5), 80}; */
-
Rectangle exit_btn = MakeBtn(width/2, height/2 + (height/5), "Exit",font_size*5, 10);
if (CheckCollisionPointRec(mouse_position, exit_btn)) {
@@ -102,7 +98,6 @@ void MainMenu() {
} else {
WriteText("Exit", width / 2, height / 2 + (height / 5), font_size * 5,
BLACK);
-
}
}
@@ -415,10 +410,6 @@ void GameStart() {
DrawRectangleRec(right_rect, (Color){50,50,50, 255});
WriteTextInsideRectangle(left_rect, MIDDLE_TOP, "<~ KiloByte ~>", font_size*2, 20, WHITE);
- /* WriteTextInsideRectangle(middle_rect, FILL, "<~ KiloByte ~>", font_size*2, 20, WHITE); */
- /* if (ante_count < 12) { */
- /* ante_count +=3; */
- /* } */
}
void WriteTextInsideRectangle(Rectangle rec, Position pos, char *text,