Copilot
b146bb667b
Add parentheses to timer macro expressions ( #319 )
...
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: MeirGavish <34395426+MeirGavish@users.noreply.github.com >
2025-12-16 11:43:07 +02:00
MeirGavish
e90f23661d
Sound effects for score accumulation and blind menu pop-up ( #313 )
2025-12-16 10:32:04 +02:00
MeirGavish
177a3a9741
Fixed bug where the mult wasn't truncated ( #315 )
2025-12-16 09:53:50 +02:00
MeirGavish
f095bf7024
Added documentation for selection_grid.h ( #309 )
...
* Added documentation for selection_grid.h
* Fix clang-format
* Update include/selection_grid.h
Co-authored-by: Rickey <ric@rf3.xyz >
* Added NULL-checks for selection_grid_move_selection_horz/vert()
---------
Co-authored-by: Rickey <ric@rf3.xyz >
2025-12-15 21:16:25 -08:00
MeirGavish
81e6b7ab31
Button sound effect ( #312 )
...
* Removed magic number for CARD_FOCUS_SFX_PITCH_OFFSET_RANGE
2025-12-13 16:10:15 +02:00
MeirGavish
8a9750b0b3
Used proper text centering for price printing and consolidated functions for printing and erasing ( #308 )
2025-12-13 09:03:06 +02:00
MeirGavish
9bffe5c9a9
Refactor - remove selected from SpriteObject ( #305 )
2025-12-12 18:44:26 -08:00
MeirGavish
16b24a0bf9
Updated splash screen with new organization URL ( #306 )
2025-12-10 23:00:46 -08:00
Marcel Schulz
f9ed858549
[Fixed] Joker shop price not properly erased on purchase ( #286 )
2025-12-11 08:39:09 +02:00
MeirGavish
d96bc9b1c2
Renamed GBLA_UNUSED -> GBAL_UNUSED and updated RowOnKeyTransitFunc documentation ( #292 )
2025-12-10 17:17:28 -08:00
MeirGavish
5a4856ec82
Refactor - removed tile_mem obj charblock index magic number ( #293 )
2025-12-10 17:13:59 -08:00
Rickey
2fb9e6d633
Clang format joker files and def files ( #257 )
...
* Clang format joker files and def files
* Fix blind usage of GBLA_UNUSED macro
* Add final files for clang-format (main.c and selection_grid.h)
---------
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-12-10 09:41:24 +02:00
Rickey
35ecbf33ae
Format and document utility files ( #246 )
...
Deploy Nightly / Run Build ROM Workflow (push) Has been cancelled
Deploy Nightly / Deploy nightly (push) Has been cancelled
* Format and document utility files
* Add Doxyfile
* small updates for cleanup
* Final touches for util docs
* Replace `_` with `s_` for static functions
* update for clang-format changes
* Update include/audio_utils.h
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
* Apply suggestions from code review
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
* Update include/audio_utils.h
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
* Update include/graphic_utils.h
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
* Make clang-format happy :)
* Update gitignore for doxygen
* restor graphic_utils.c to main
* update graphics utils
* tmp
* tmp
* get it to compile
* fix some bad merge mistakes
* Fix clang format
* Apply suggestions from code review
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
* make clang-format happy
---------
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-12-07 12:56:39 -08:00
Geralt
bf66f96844
Add swapping order of Owned Jokers ( #258 )
...
* swap Jokers
* Hide score properly
* add key_released to inputs triggering selection_grid process input
* format code
* Add suggestions and bug fixes from @MeirGavish
* Add comment
* format selection_grid
* toto
* format
* format
* Turned clang-format off for selection grid rows
* revert reroll bug fix, already adressed
* format selection_grid.c
* Move conditions around in game.c
* typo
* Attempt at fixing braced initializer indent format
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-12-07 02:58:50 -08:00
MeirGavish
28ff6c81ef
Fixed bug where reroll button is triggered by any key ( #279 )
2025-12-05 10:06:43 +02:00
MeirGavish
9f170f298d
Restored removed joker shop availability check function ( #276 )
2025-12-04 18:21:10 -08:00
Rickey
291edaf4f2
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 >
2025-12-03 13:49:31 +02:00
MeirGavish
43d837571e
Truncate Scores ( #269 )
...
* Fixed score truncation erasure, and centering for chips, mult, score and "temp score
* Added centering for money
* Added tests for truncate_uint_to_suffixed_str()
* Fixed u32 bug with get_digits
* Fixed score flames for large numbers
* Small change to update documentation
* Added 1 pixel on to score rect on the left to make room for full character tile + reset_top_left_panel_bottom_row() refactor
* Replaced directional defines with enums
* Updated ante_lut comment
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-02 08:28:36 +02:00
Geralt
10e75f18ae
remove triboulet from code ( #266 )
...
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-30 18:11:48 +02:00
Tygyh
8bba449196
Convert BG_ID_* defines to enum BackgroundId ( #265 )
...
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-30 08:53:51 +02:00
Geralt
0953a430c4
Implement Seltzer and Joker Expiration effect ( #252 )
...
* Add Seltzer art
* Implement Joker expiration
* Add exception to copying Jokers + Seltzer message fix
* Move all scoring logic to joker_object_score away from check_and_score_joker_for_event
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-30 08:52:42 +02:00
Geralt
435a9a0a1d
Refactor JokerEffect scoring ( #245 )
...
* Remove usage of memcmp for JokerEffect null check
* Added suggestions from @ricfehr3
* Add suggestions from @MeirGavish
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-11-28 19:03:47 +02:00
Rickey
1cacabdff6
Clang format pool ( #255 )
...
* Update comment prefix + add github action
* Clang Format pool
* fix clang format version
* Fix pool clang format
2025-11-27 10:41:13 -08:00
Rickey
184ee719b3
Clang format card.c/h ( #256 )
2025-11-26 00:52:04 +02:00
Rickey
09dd996181
Clang Format Blinds ( #253 )
...
* Quick cleanup on bitset docs
* Clang format blind.h/c
* Replace `_` with `s_` for functions
* Fix newline size for macros.
* Fix format for ci
* Add macro for "unused" attribute
2025-11-25 13:47:44 -08:00
Rickey
2c32ff69e3
Clang format hand analysis ( #261 )
...
* Clang format hand analysis
* Update source/hand_analysis.c
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
---------
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-11-25 13:45:07 -08:00
Rickey
e910aee184
Clang format list ( #254 )
...
* Finish clang-format on lists
2025-11-25 11:32:50 +02:00
Rickey
6db35b0f95
Clang format sprite ( #262 )
2025-11-24 23:26:47 +02:00
Rickey Fehr
fcb2337fa2
Clang format splash screen
2025-11-23 18:43:45 -08:00
MeirGavish
f51380c93c
Added sound effects for chips, mult, and xmult ( #229 )
2025-11-22 07:27:43 +02:00
Geralt
408c264e85
Modify blueprint and brainstorm implementation to fix retrigger bug ( #244 )
...
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-21 20:09:07 +02:00
Geralt
2fb41e533c
Make Chips, Mult and Score unsigned and protect against overflow ( #212 )
...
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-20 12:39:15 +02:00
Rickey
47b1bac31f
Add list_swap() and list_insert() functions ( #232 )
...
* Add list_swap() and list_insert() functions
* Update docs for list_swap
* Add test case and fix list insert bug
* Fix silly bug with list length on insertion
* Initial changes for pr
* Add reverse iterator and update test for it
* Cleanup iterator next function
* update tests to cover list_get_at_idx
2025-11-18 18:19:00 -08:00
Rickey
a4caa44580
Add clang format and used it for bitset ( #240 )
...
* Add clang format file .clang-format
* Use clang format on bitset
---------
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-11-18 08:56:32 +02:00
Geralt
1ac55692e9
Break up the played cards scoring loop into several functions ( #224 )
...
* rename PLAY_PLAYING state into PLAY_STARTING
* make discarded_card and sound_played global variables
* Broken up cards_score state update
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-11-16 17:33:01 +02:00
MeirGavish
557e591c31
Merge pull request #223 from cellos51/integrate_photograph
...
Integrated Photograph joker art by @MathisMartin31
2025-11-13 08:38:28 +02:00
Geralt
1f3d3bffbd
Fix bug occurring when a retriggered card has a non-scoring card to the left ( #218 )
...
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-12 16:06:37 +02:00
MeirGavish
28043bd7ca
Integrated Photograph joker art by @MathisMartin31
2025-11-12 14:11:16 +02:00
Geralt
4183f563ab
Implement cards held in hand effects ( #205 )
...
* Adapt existing Jokers to the Held Card mechanic + effect display location
* Add suggestions from @ricfehr3
* Add suggestions from @MeirGavish
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-12 13:18:53 +02:00
Rickey
e0cffab768
Update list implementation to work with memory pools ( #168 )
...
* Introduce indexed list implementation
* Fix CI tests for pool
* Take bitset out of pool
* Replace joker bitset interactions with wrappers
* Add bitset tests
* Add test to gitignore
---------
Co-authored-by: rfehr-idexx <ric-fehr@idexx.com >
2025-11-11 17:56:21 +02:00
MeirGavish
d5f59e904b
Fixed game stuck due to interest bug + cleanup refactor ( #214 )
...
Co-authored-by: MeirGavish <34395426+MeirGavish@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: MeirGavish <34395426+MeirGavish@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-07 00:33:52 +02:00
MeirGavish
64dd586df8
Optimized score lerping by changing the number of steps to a power of 2 ( #211 )
2025-11-06 12:15:07 +02:00
Geralt
e7eaa82c9d
Add flaming effect when exceeding score requirements ( #210 )
...
* Fix grit palette swapping
* Add suggestions from @MeirGavish
---------
Co-authored-by: MathisMartin31 <mathis.martin31@gmail.com >
2025-11-04 12:31:09 +02:00
MeirGavish
ada2650c50
New Run Button ( #206 )
...
* New Run Button
* Refactor - replaced cashout copies with main_bg_se_copy_expand_3x3_rect() - WIP (Palette still messed)
2025-11-03 07:34:46 +02:00
theturtlemafia
03273de829
Adds Shortcut and Four Fingers ( #95 )
...
* adds shortcut joker
* adds Four Fingers joker, and combination support for Four Fingers + Shortcut
---------
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-01 16:28:40 +02:00
Geralt
eb815b7820
Refactor of scoring flow, Joker Callbacks and Card Retriggers ( #160 )
...
* Remove Baseball Card for now, will have to wait a future PR
* Removed cards held in hand joker scoring stage - should be in another PR
---------
Co-authored-by: MonteCrysto <mathis.martin31@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
2025-11-01 15:50:52 +02:00
MeirGavish
dfe6edad88
Refactor - Replaced magic number copies with main_bg_se_copy_rect() ( #192 )
2025-11-01 08:12:20 +02:00
JustinL-12
c510e78704
Implement Interest ( #144 )
...
* Implemented Interest
* Very carefully applied changes from PR #144 to implement interest and fixed magic numbers
---------
Co-authored-by: JustinL-12 <jlong30@uic.edu >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-29 20:43:26 +02:00
JustinL-12
b38433d191
Weight jokers by rarity in the shop ( #152 )
...
* Added weight for the rarity of jokers in the shop
* Includes manual conflict resolution
---------
Co-authored-by: JustinL-12 <jlong30@uic.edu >
Co-authored-by: MeirGavish <meir.gavish@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-27 19:18:48 +02:00
MeirGavish
b01e9e5f01
Added option for a second test joker
2025-10-25 15:18:23 +03:00