#ifndef RB_H #define RB_H #include #define RB_WIDTH 1600 #define RB_HEIGHT 900 #define RB_X_CENTER (RB_WIDTH / 2) #define RB_Y_CENTER (RB_HEIGHT / 2) #define RB_FPS (1.0 / 80.0) /* 1 sec divided by 30 frames */ struct rb { float width; float height; float fps; ALLEGRO_TIMER *timer; ALLEGRO_EVENT_QUEUE *event_queue; ALLEGRO_DISPLAY *display; ALLEGRO_FONT *font; }; #endif /* RB_H */