Ran clang-format

This commit is contained in:
mibi88 2024-08-01 23:09:43 +02:00
parent d555c5be6f
commit 311b7f27df

View file

@ -18,13 +18,13 @@ void inventory_draw(Game *game, Inventory *inventory) {
dimage(0, 0, &inventory_img);
for(i = 0; i < SLOT_NUM; i++) {
#if GINT_RENDER_RGB
dsubimage(272+(i%SLOT_COLUMNS)*32, 87+(i/SLOT_COLUMNS)*32,
&items_img, inventory->slots[i].i*28, 0, 28, 27,
DIMAGE_NONE);
dsubimage(272 + (i % SLOT_COLUMNS) * 32,
87 + (i / SLOT_COLUMNS) * 32, &items_img,
inventory->slots[i].i * 28, 0, 28, 27, DIMAGE_NONE);
#else
dsubimage(88+(i%SLOT_COLUMNS)*12, 24+(i/SLOT_COLUMNS)*12,
&items_img, inventory->slots[i].i*8, 0, 8, 8,
DIMAGE_NONE);
dsubimage(88 + (i % SLOT_COLUMNS) * 12,
24 + (i / SLOT_COLUMNS) * 12, &items_img,
inventory->slots[i].i * 8, 0, 8, 8, DIMAGE_NONE);
#endif
}
#if GINT_RENDER_RGB