summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2025-10-30 18:39:57 +0100
committerCarlos Maiolino <[email protected]>2025-10-30 18:39:57 +0100
commitf497ea0100a28f8dffed57eebe52ec58c556e1e1 (patch)
tree714528abadda397a9695cb1b6def477b780998fc /src/include
parent005d4c349510d78ab10f1e7fa1c9f5f5f265d8e9 (diff)
Implement mouse tracking.
Make the object follow the mouse position Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/rb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/rb.h b/src/include/rb.h
index cc321e6..aba3488 100644
--- a/src/include/rb.h
+++ b/src/include/rb.h
@@ -3,9 +3,9 @@
#include <allegro5/allegro5.h>
-#define RB_WIDTH 1600
-#define RB_HEIGHT 900
-#define RB_FPS (1.0 / 30.0) /* 1 sec divided by 30 frames */
+#define RB_WIDTH 2240
+#define RB_HEIGHT 1400
+#define RB_FPS (1.0 / 80.0) /* 1 sec divided by 30 frames */
struct rb {
float width;