fixes and optimizations

This commit is contained in:
Andrew Haynes Macbook
2026-01-09 14:56:59 -05:00
parent b5a79de6c0
commit 1fa3293df0
11 changed files with 163 additions and 296 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
#ifndef GLOBALS_HPP
#define GLOBALS_HPP
#define TILESIZE 32
#define WIDTH 608
#define HEIGHT 416
#define MAX_COLS 8 // 19 cols
#define MAX_ROWS 8 // 13 rows
#define WIDTH TILESIZE * MAX_COLS
#define HEIGHT TILESIZE * MAX_ROWS
#define FPS 60
#define GRAVITY 1
#define MAX_COLS WIDTH / TILESIZE // 19 cols
#define MAX_ROWS HEIGHT / TILESIZE // 13 rows
#endif