Commit Graph

445 Commits

Author SHA1 Message Date
MeirGavish
83aa422f3e Refactor - replaced (almost) all magic numbers for TTE rects with rect definitions 2025-07-09 17:12:00 +03:00
MeirGavish
b822d2b365 Moved code to new graphic_utils.c/.h header and added Rect wrapper struct 2025-07-09 04:59:19 +03:00
MeirGavish
2aaee73bac Replaced round end menu hack with clear rect function 2025-07-09 04:11:55 +03:00
MeirGavish
de3e75928d Merge branch 'main' into refactors 2025-07-09 00:45:07 +03:00
MeirGavish
2a92b3ecaa Added SBB and CBB defines for SE/tile bases to remove their magic numbers 2025-07-09 00:40:59 +03:00
MeirGavish
ef973f54fe Another indent fix 2025-07-08 19:19:16 +03:00
MeirGavish
f392237b68 Fixed indent error from previous commit 2025-07-08 19:15:12 +03:00
MeirGavish
e65b43e966 Fixed five of a kind bug 2025-07-08 19:11:48 +03:00
cellos51
a56bba2c0e implemented shop screen after round end 2025-07-05 19:34:48 -04:00
cellos51
8f7f093290 i keep accidentally pushing the game state 2025-07-05 14:32:08 -04:00
cellos51
6435b92378 Slight update to graphics and added shop background image 2025-07-03 21:49:29 -04:00
MeirGavish
878a0a24eb Replaced call to vid_sync() with the better VBlankIntrWait() 2025-07-03 04:15:48 +03:00
cellos51
4a8c7d62aa Set game state back to GAME_PLAYING from GAME_ROUND_END 2025-07-01 17:32:02 -04:00
cellos51
bbd66f2b58 Pretty much finished the round end screen 2025-07-01 17:31:25 -04:00
cellos51
d7ad34af92 Fixed some oversights 2025-06-30 21:29:35 -04:00
cellos51
67b917fc7c Yandere dev style code for the almost finished round end screen 2025-06-30 21:20:51 -04:00
cellos51
26d6665e6e Fixed tiles on round end screen 2025-06-30 12:38:26 -04:00
expected-ingot
c8f2e96572 GAME_LOSE state 2025-06-30 14:16:07 +02:00
cellos51
c58b569516 Added more stuff to the end round, made the blind token a sprite and toned dow n the background animation a bit. 2025-06-30 03:18:04 -04:00
MeirGavish
2969c8c18c Merge branch 'refactor_addendum' into refactors 2025-06-30 06:33:14 +03:00
MeirGavish
c8c966b459 Missing change from previous refactor magic number commit 2025-06-30 06:12:31 +03:00
expected-ingot
2875ce3cb9 Set game speed to 1x (default) 2025-06-30 01:22:23 +02:00
expected-ingot
9e16e8adc7 Add FRAMES macros to code (again) 2025-06-30 01:06:08 +02:00
expected-ingot
de6060eee3 Merge branch 'main' of https://github.com/cellos51/balatro-gba 2025-06-30 01:03:09 +02:00
expected-ingot
de87271199 Fixed FRAMES macro to use ceil division 2025-06-30 00:55:55 +02:00
expected-ingot
caf8c96c87 basic gamespeed implementation 2025-06-29 18:51:22 +02:00
MeirGavish
9f9efeb8a4 refactor - extracted functions into smaller sub-functions 2025-06-29 19:13:36 +03:00
MeirGavish
8bbe707dab refactor - removed some magic numbers 2025-06-29 11:58:54 +03:00
cellos51
5196362ab9 Added wip moving background, end of round screen and temporarily removed blind icon. 2025-06-28 22:32:45 -04:00
cellos51
36b1508e85 Added begginings of the round end screen 2025-06-27 00:03:38 -04:00
cellos51
2df498e035 Slight refactor and fixed cards being improperly selected when played and not sorted by rank (probably 💀) 2025-06-26 17:27:14 -04:00
cellos51
af43a91f19 moved all logic from card.c to game.c for future optimization 2025-06-26 00:20:46 -04:00
cellos51
126d5a5bab pushing changes before i do a major refactor 2025-06-25 00:07:00 -04:00
cellos51
167e0c6c1a hello cooper! 2025-06-23 19:03:37 -04:00
cellos51
c06aad7b26 Still some jank stuff right now but i think the whole sorta round functionality has been more or less finished 2025-06-23 18:57:51 -04:00
cellos51
ac24754380 Completed functionality of the small blind 2025-06-13 15:10:19 -04:00
cellos51
5055c9abc7 functional basic gameplay 2025-06-12 01:44:54 -04:00
cellos51
af27a26cdd visual scoring completed 2025-06-11 18:31:27 -04:00
cellos51
cbe70fad19 Fix card selection logic in play state handling 2025-06-11 14:51:22 -04:00
cellos51
85b25e575f Made the card animations for playing exactly in the same order and manor as Balatro (perfectionism moment) 2025-06-11 14:10:49 -04:00
cellos51
423c061b2f Cards can now be played but no score will be given 2025-06-10 19:22:45 -04:00
cellos51
2d21c83f89 Update card handling logic and improve background management; add hand types and refine game state transitions. 2025-05-19 11:24:13 -04:00
cellos51
7ce6082edd Refactor hand_discard function to return a boolean and update game logic for discarding cards; add background_play_gfx and improve text engine initialization. 2025-02-16 22:07:44 -05:00
cellos51
edfa358e35 Added the ability to discard cards in a hand and other various changes. 2025-02-08 22:27:05 -05:00
cellos51
cac321a325 first commit 2025-01-31 17:42:09 -05:00