Clang format and refactor game.h/c + update Bracket Alignment to BlockIndent (#259)
* Refactor and clang-format game.h/c * Updated clang-format AlignAfterOpenBracket: BlockIndent and ColumnLimit: 100 and refactored all files accordingly --------- Co-authored-by: MeirGavish <meir.gavish@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
MeirGavish
Copilot
parent
43d837571e
commit
291edaf4f2
+11
-7
@@ -16,9 +16,11 @@ void splash_screen_on_init()
|
||||
|
||||
tte_printf("#{P:72,8; cx:0xF000}DISCLAIMER");
|
||||
tte_printf(
|
||||
"#{P:8,24; cx:0xF000}This project is NOT endorsed \n by or affiliated with \n Playstack or LocalThunk.\n\n If "
|
||||
"you have paid for this, \n you have been scammed \n and should request a refund \n IMMEDIATELY. \n\n The only "
|
||||
"official place \n to obtain this is from: \n\n 'github.com/\n cellos51/balatro-gba'");
|
||||
"#{P:8,24; cx:0xF000}This project is NOT endorsed \n by or affiliated with \n Playstack or "
|
||||
"LocalThunk.\n\n If you have paid for this, \n you have been scammed \n and should request "
|
||||
"a refund \n IMMEDIATELY. \n\n The only official place \n to obtain this is from: \n\n "
|
||||
"'github.com/\n cellos51/balatro-gba'"
|
||||
);
|
||||
tte_printf("#{P:8,144; cx:0xF000}(Press any key to skip)");
|
||||
}
|
||||
|
||||
@@ -29,10 +31,12 @@ void splash_screen_on_update()
|
||||
if (timer < SPLASH_DURATION_FRAMES)
|
||||
{
|
||||
tte_erase_rect_wrapper(COUNTDOWN_TIMER_RECT);
|
||||
tte_printf("#{P:%d,%d; cx:0xF000}%d",
|
||||
COUNTDOWN_TIMER_RECT.left,
|
||||
COUNTDOWN_TIMER_RECT.top,
|
||||
1 + (SPLASH_DURATION_FRAMES - timer) / SPLASH_FPS);
|
||||
tte_printf(
|
||||
"#{P:%d,%d; cx:0xF000}%d",
|
||||
COUNTDOWN_TIMER_RECT.left,
|
||||
COUNTDOWN_TIMER_RECT.top,
|
||||
1 + (SPLASH_DURATION_FRAMES - timer) / SPLASH_FPS
|
||||
);
|
||||
|
||||
if (!key_hit(KEY_ANY))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user