Commit Graph
235 Commits
Author SHA1 Message Date
cellos51 01d7ed8e91 Merge branch 'main' of https://github.com/cellos51/balatro-gba into boss_backgrounds 2025-08-07 21:34:46 -04:00
MeirGavish fd8e52d48a Removed magic numbers for card score length and intmax buffer sizes 2025-08-08 01:59:21 +03:00
MeirGavish 2ce3acbe1c Merge branch 'main' into jokers_with_graphics 2025-08-08 00:32:10 +03:00
MeirGavish 5e6d28c663 Fixed stack top bugs in joker_effects.c - e.g. Blackboard activated if just the first card in hand was not spades/clubs 2025-08-08 00:01:36 +03:00
MeirGavish b0a4fc968c Removed duplicate declarations to fix build 2025-08-07 22:48:06 +03:00
cellos51 592d7ae8bc Add affine background color functionality and integrate into game loop 2025-08-05 14:35:52 -04:00
cellos51 c7f6708555 Merge branch 'main' of https://github.com/cellos51/balatro-gba into boss_backgrounds 2025-08-04 14:57:45 -04:00
MeirGavish 742114792d Fixed game starting at shop 2025-08-04 20:27:03 +03:00
cellos51 95b1937eac Merge branch 'main' of https://github.com/cellos51/balatro-gba into boss_backgrounds 2025-08-04 11:41:48 -04:00
MeirGavish 8956501591 Merge branch 'main' into jokers_palette_swapping 2025-08-04 10:21:19 +03:00
MeirGavish de672572b1 Updated joker palette swapping system to reuse palettes when jokers are removed 2025-08-04 10:18:33 +03:00
MeirGavish ec2aaf245d Added clarification comment 2025-08-03 18:15:28 +03:00
MeirGavish bbefff2eb9 Fixed bug where shop price would continue displaying after the item was purchased 2025-08-03 16:51:16 +03:00
MeirGavish e7b6d24815 Merge pull request #76 from cellos51/move_shop_price_down
Moved the price of shop items below the item so it is not obstructed when the card is raised on highlight
2025-08-03 16:10:20 +03:00
MeirGavish a8f429eca3 Moved the price of shop items below the item so it is not obstructed when the card is raised on highlight 2025-08-03 16:08:41 +03:00
Elliptical dcff326730 Refactor to make it just change the brightness of a chosen color. I will make a seperate .h/.c file for the affine background when I get home. 2025-08-02 14:54:08 -04:00
theturtlemafia 445ea788a4 fix error from rebase 2025-08-02 13:28:28 -04:00
theturtlemafia 0f3d1b3b77 adds walkie-talkie, fibonnaci, banner, mystic summit, blackboard 2025-08-02 13:25:04 -04:00
theturtlemafia 174050d813 add fist, parking, business card, scholar, scary face, abstact, bull, smiley, even, odd jokers 2025-08-02 13:25:04 -04:00
theturtlemafia ee0591562f add blue joker 2025-08-02 13:25:04 -04:00
theturtlemafia 08307d62ad code review feedback 2025-08-02 12:25:31 -04:00
MeirGavish 9f9b557143 Refactor - extracted game_shop_intro() from game_shop() 2025-08-02 18:56:10 +03:00
Elliptical 8315d6a42c Switching to a boss blind now changes the background palette 2025-08-02 10:29:26 -04:00
theturtlemafia dbff88add0 Adds XMult, Joker Stencil and Misprint (rebase) 2025-08-01 18:35:31 -04:00
MeirGavish cb835653f6 card_select and card_deselect were flipped, fixed them back. This only affects the sound displayed when cards are scored, now it's the select instead of the deselect. 2025-08-01 21:06:07 +03:00
MeirGavish 537ceb622f Added audio_utils.h/.c and refactored calls to mmEffectEx to use wrapper play_sfx() instead 2025-08-01 20:36:07 +03:00
MeirGavish 5149e6c23e B button now deselects all selected cards 2025-08-01 17:49:30 +03:00
theturtlemafia a72458c2c3 adds jokers 6-16. Extract hand type detection logic from hand_get_type to be used by jokers as well 2025-07-28 18:27:48 -04:00
MeirGavish 095fb455cc Merge pull request #64 from theturtlemafia/ttm/joker-struct-refactor
Refactor jokers to use struct and function pointer for joker effects and added Lusty, Wrathful, and Gluttonous jokers
2025-07-29 00:56:04 +03:00
theturtlemafia ed1204db74 remove usage of extern for joker_registry. Add array size macro to util.h 2025-07-28 14:24:33 -04:00
MeirGavish e5602d672f Fixed a bug where selecting discard with 0 discards would toggle card select and extracted function game_playing_process_hand_select_input() 2025-07-27 23:15:28 +03:00
theturtlemafia 47ee3987fd refactor jokers to use struct and function pointer 2025-07-27 07:06:35 -04:00
MeirGavish f6b6e22c33 Merge branch 'main' into refactors 2025-07-27 01:14:24 +03:00
MeirGavish 95565862b0 Extracted JokerObject and CardObject common functionalities to SpriteObject, removing duplicate code and dangerous casts. 2025-07-27 01:13:57 +03:00
MeirGavish 8043a2bad6 Added flag to Makefile to treat warnings as errors that fail build, and commented out code in game.c to be warning free 2025-07-26 20:04:39 +03:00
MeirGavish 1c036482a1 Renamed functions updating the display values from set_score, set_money etc. to display_score, display_money etc. to remove implication they are setting an actual value 2025-07-26 19:40:38 +03:00
MeirGavish 2ed5922d43 merged jokers_refactors into refactors (manual conflict resolution) 2025-07-23 19:36:30 +03:00
TheBreadPerson b6a8fd4e6a Merge branch 'main' of https://github.com/cellos51/balatro-gba into truncating 2025-07-23 01:47:25 -04:00
TheBreadPerson b994358ac6 Minor number change 2025-07-23 01:45:00 -04:00
cellos51 1b4267893d Added greedy joker and refactor joker system 2025-07-22 20:00:05 -04:00
MeirGavish 8ed7ddb127 Moved the round end blind sprite and score a bit so they look better on 4 digits 2025-07-23 02:14:30 +03:00
cellos51 62db2815dd removed another static variable and improved boss blind selection 2025-07-22 17:43:52 -04:00
cellos51 e51e08322f Fixed compilation error and removed another static variable 2025-07-22 17:39:33 -04:00
cellos51 c536d78976 Minor refactor to avoid the use of variable 2025-07-22 17:35:52 -04:00
cellos51 b583755985 Refactored background change logic and removed unused static state variables in game functions 2025-07-22 15:53:49 -04:00
cellos51 793da72465 added co-pilot's fixes 2025-07-22 15:45:29 -04:00
TheBreadPerson 7a86450114 Starting to truncate numbers, half-baked 2025-07-22 15:34:03 -04:00
cellos51 9086aa0f59 Fixed hands and discards being infinite and palette issue 2025-07-22 02:26:22 -04:00
cellos51 c8893c806c Added @GreenNinja2525's replacement deck icon. Added play hand and discard buttons and changed keybindings. 2025-07-22 01:42:31 -04:00
cellos51 e7c5536cc2 added shop rerolling and edition pricing for jokers 2025-07-21 22:05:31 -04:00