fixes and optimizations
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user