summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tk: Fix leak if second calloc() failsP. J. McDermott2023-10-161-0/+1
|
* tk: Use goto for render errorsP. J. McDermott2023-10-164-51/+34
|
* tk: Add padding to textP. J. McDermott2022-01-315-9/+14
|
* menu, game: Rename border macroP. J. McDermott2022-01-313-10/+10
|
* tk: Fix size and rendering position of checkP. J. McDermott2022-01-291-7/+7
|
* tk: Add border with focus indication to textP. J. McDermott2022-01-294-26/+51
| | | | | More visible (and consistent with the rest of the UI changes) than just the cursor.
* tk: Add focus indication to radioP. J. McDermott2022-01-291-4/+19
|
* tk: Simplify check render codeP. J. McDermott2022-01-271-33/+16
|
* tk: Add border with focus indication to checkP. J. McDermott2022-01-274-26/+60
|
* tk: Add border with focus indication to buttonP. J. McDermott2022-01-276-7/+41
|
* tk: Fill text background (if editable)P. J. McDermott2022-01-274-12/+24
| | | | And use the same macros for all background fill colors.
* menu: Render at 30 fps, not just on input eventsP. J. McDermott2022-01-271-19/+39
| | | | This is necessary to blink the text cursor.
* tk: Blink text cursorP. J. McDermott2022-01-272-1/+26
|
* tk: Add border to boxP. J. McDermott2022-01-276-16/+54
|
* tk: Improve declaration alignmentP. J. McDermott2022-01-271-3/+3
|
* build, menu, game: Use bold fontP. J. McDermott2022-01-272-2/+2
|
* Revert "char/enemy: Factor out collision check into jump"P. J. McDermott2022-01-271-27/+26
| | | | This reverts commit 01e2f6af97c858b810e834b53aa25c356b940a38.
* maze: Use consistent error stringP. J. McDermott2022-01-271-3/+2
|
* maze: Factor out border line drawingP. J. McDermott2022-01-272-16/+10
|
* maze: Factor out wall line drawingP. J. McDermott2022-01-261-24/+22
|
* maze: Double wall thicknessP. J. McDermott2022-01-261-4/+12
| | | | | This will allow characters and pickups to have even sizes. It also makes the maze look a little more cartoonish and less professional.
* char/enemy: Factor out collision check into jumpP. J. McDermott2021-12-241-26/+27
| | | | And replace the loop with tail recursion.
* char/enemy: Don't spawn on top of alliesP. J. McDermott2021-12-241-4/+20
|
* maze: Draw a border around the mazeP. J. McDermott2021-12-241-0/+13
|
* tk/text: strchr() allowed_chars for validationP. J. McDermott2021-12-244-18/+9
|
* tk/text: Replace min_char and max_char with allowed_charsP. J. McDermott2021-12-245-20/+21
|
* tk: Define colors within local headerP. J. McDermott2021-09-2511-155/+143
|
* char: Remove old collision functionsP. J. McDermott2021-09-256-49/+0
|
* tk: Handle keypad Enter keyP. J. McDermott2021-09-254-0/+4
|
* tk/text: Replace min_char, max_char with callbackP. J. McDermott2021-09-254-7/+20
|
* game: Fix stack use after scopeP. J. McDermott2021-09-251-8/+7
|
* menu: Fix stack use after scopeP. J. McDermott2021-09-251-19/+23
|
* game: Slow down for debuggingP. J. McDermott2021-09-251-1/+1
|
* Revert "char/enemy: Try to fix movement lag"P. J. McDermott2021-08-193-18/+2
| | | | This reverts commit 09775804429ccd7486419b4c539581d6f70e193d.
* Revert "char/enemy: Try to fix movement lag"P. J. McDermott2021-08-191-35/+36
| | | | This reverts commit 44a31faf04009ee147f1e2fbf3ba3cab9fd13b12.
* char/enemy: Try to fix movement lagP. J. McDermott2021-08-191-36/+35
|
* char/enemy: Try to fix movement lagP. J. McDermott2021-08-193-2/+18
|
* char/enemy: Fix movement upon collision after turnP. J. McDermott2021-08-191-0/+30
|
* menu: DebuggingP. J. McDermott2021-08-191-1/+1
|
* char/enemy: Resume movement after stoppingP. J. McDermott2021-08-191-6/+17
| | | | | If backed into a dead end by an ally, wait for the ally to leave then resume movement.
* char/enemy: Add collision avoidanceP. J. McDermott2021-08-191-0/+19
|
* char/enemy: Add room for pointer in method declsP. J. McDermott2021-08-191-8/+8
|
* char/enemy: Store allies arrayP. J. McDermott2021-08-193-6/+14
| | | | And fix variable name.
* game: Separate player struct from enemies arrayP. J. McDermott2021-08-191-13/+19
|
* menu: DebuggingP. J. McDermott2021-08-191-4/+4
|
* Revert "char/enemy: Make a linked list of enemy chars"P. J. McDermott2021-08-193-54/+56
| | | | This reverts commit b1fbb0b1c078e82a651181101fed9d6742164e0b.
* Revert "char/enemy: Add room for pointer in method decls"P. J. McDermott2021-08-191-8/+8
| | | | This reverts commit ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae.
* Revert "char/enemy: Add collision avoidance"P. J. McDermott2021-08-191-13/+0
| | | | This reverts commit 7a252a42c4ec1a0116f7eff5727afcda3c5aba22.
* char/enemy: Add collision avoidanceP. J. McDermott2021-08-191-0/+13
|
* char/enemy: Add room for pointer in method declsP. J. McDermott2021-08-181-8/+8
|