mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2025-05-31 16:05:16 +02:00
Ran clang-format
This commit is contained in:
parent
d555c5be6f
commit
311b7f27df
1 changed files with 13 additions and 13 deletions
|
@ -18,13 +18,13 @@ void inventory_draw(Game *game, Inventory *inventory) {
|
||||||
dimage(0, 0, &inventory_img);
|
dimage(0, 0, &inventory_img);
|
||||||
for(i = 0; i < SLOT_NUM; i++) {
|
for(i = 0; i < SLOT_NUM; i++) {
|
||||||
#if GINT_RENDER_RGB
|
#if GINT_RENDER_RGB
|
||||||
dsubimage(272+(i%SLOT_COLUMNS)*32, 87+(i/SLOT_COLUMNS)*32,
|
dsubimage(272 + (i % SLOT_COLUMNS) * 32,
|
||||||
&items_img, inventory->slots[i].i*28, 0, 28, 27,
|
87 + (i / SLOT_COLUMNS) * 32, &items_img,
|
||||||
DIMAGE_NONE);
|
inventory->slots[i].i * 28, 0, 28, 27, DIMAGE_NONE);
|
||||||
#else
|
#else
|
||||||
dsubimage(88+(i%SLOT_COLUMNS)*12, 24+(i/SLOT_COLUMNS)*12,
|
dsubimage(88 + (i % SLOT_COLUMNS) * 12,
|
||||||
&items_img, inventory->slots[i].i*8, 0, 8, 8,
|
24 + (i / SLOT_COLUMNS) * 12, &items_img,
|
||||||
DIMAGE_NONE);
|
inventory->slots[i].i * 8, 0, 8, 8, DIMAGE_NONE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if GINT_RENDER_RGB
|
#if GINT_RENDER_RGB
|
||||||
|
|
Loading…
Add table
Reference in a new issue