GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
layout.h
Go to the documentation of this file.
1
6#ifndef LAYOUT_H
7#define LAYOUT_H
8
9#include "graphic_utils.h"
10
11// clang-format off
12// Points x y
13static const BG_POINT CUR_BLIND_TOKEN_POS = {8, 18};
14static const BG_POINT TOP_LEFT_PANEL_POINT = {0, 0};
15static const BG_POINT ROUND_END_REWARDS_ELLIPSIS_POS = {10, 13};
16static const BG_POINT JOKER_DISCARD_TARGET = {240, 30};
17static const BG_POINT HELD_JOKERS_POS = {108, 10};
18// Rects left top right bottom
19static const Rect TOP_LEFT_PANEL_ANIM_RECT = {0, 0, 8, 4};
20static const Rect POP_MENU_ANIM_RECT = {9, 7, 24, 31};
21static const Rect DECK_ANIM_RECT = {25, 14, 28, 23}; // Can be used for the Shop and Blind Select screen
22static const Rect TOP_LEFT_ITEM_SRC_RECT = {0, 20, 8, 25};
23static const Rect TOP_LEFT_PANEL_BOTTOM_ROW_RESET_RECT = {0, 28, 8, 28};
24static const Rect BLIND_REWARD_RECT = {40, 32, 64, 40};
25static const Rect BLIND_REQ_TEXT_RECT = {32, 24, 64, 32};
26static const Rect PLAYING_SCREEN_RECT = {72, 0, 240, 160};
27static const Rect HAND_SIZE_RECT = {128, 128, 152, 160}; // Seems to include both SELECT and PLAYING
28// clang-format on
29
30#endif // LAYOUT_H
Graphic utility functions.