Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | char/char: Add "__malloc__" attributeHEADmaster | P. J. McDermott | 2023-10-18 | 1 | -1/+1 |
| | | | | | | The GCC analyzer looks for unchecked possibly null allocation function call results being dereferenced or passed to functions requiring non- null arguments. | ||||
* | char/char: Fix error messages | P. J. McDermott | 2023-10-18 | 1 | -6/+6 |
| | |||||
* | tk: Fix leak if second calloc() fails | P. J. McDermott | 2023-10-16 | 1 | -0/+1 |
| | |||||
* | tk: Use goto for render errors | P. J. McDermott | 2023-10-16 | 4 | -51/+34 |
| | |||||
* | tk: Add padding to text | P. J. McDermott | 2022-01-31 | 5 | -9/+14 |
| | |||||
* | menu, game: Rename border macro | P. J. McDermott | 2022-01-31 | 3 | -10/+10 |
| | |||||
* | tk: Fix size and rendering position of check | P. J. McDermott | 2022-01-29 | 1 | -7/+7 |
| | |||||
* | tk: Add border with focus indication to text | P. J. McDermott | 2022-01-29 | 4 | -26/+51 |
| | | | | | More visible (and consistent with the rest of the UI changes) than just the cursor. | ||||
* | tk: Add focus indication to radio | P. J. McDermott | 2022-01-29 | 1 | -4/+19 |
| | |||||
* | tk: Simplify check render code | P. J. McDermott | 2022-01-27 | 1 | -33/+16 |
| | |||||
* | tk: Add border with focus indication to check | P. J. McDermott | 2022-01-27 | 4 | -26/+60 |
| | |||||
* | tk: Add border with focus indication to button | P. J. McDermott | 2022-01-27 | 6 | -7/+41 |
| | |||||
* | tk: Fill text background (if editable) | P. J. McDermott | 2022-01-27 | 4 | -12/+24 |
| | | | | And use the same macros for all background fill colors. | ||||
* | menu: Render at 30 fps, not just on input events | P. J. McDermott | 2022-01-27 | 1 | -19/+39 |
| | | | | This is necessary to blink the text cursor. | ||||
* | tk: Blink text cursor | P. J. McDermott | 2022-01-27 | 2 | -1/+26 |
| | |||||
* | tk: Add border to box | P. J. McDermott | 2022-01-27 | 6 | -16/+54 |
| | |||||
* | tk: Improve declaration alignment | P. J. McDermott | 2022-01-27 | 1 | -3/+3 |
| | |||||
* | build, menu, game: Use bold font | P. J. McDermott | 2022-01-27 | 3 | -3/+3 |
| | |||||
* | Revert "char/enemy: Factor out collision check into jump" | P. J. McDermott | 2022-01-27 | 1 | -27/+26 |
| | | | | This reverts commit 01e2f6af97c858b810e834b53aa25c356b940a38. | ||||
* | maze: Use consistent error string | P. J. McDermott | 2022-01-27 | 1 | -3/+2 |
| | |||||
* | maze: Factor out border line drawing | P. J. McDermott | 2022-01-27 | 2 | -16/+10 |
| | |||||
* | maze: Factor out wall line drawing | P. J. McDermott | 2022-01-26 | 1 | -24/+22 |
| | |||||
* | maze: Double wall thickness | P. J. McDermott | 2022-01-26 | 1 | -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 jump | P. J. McDermott | 2021-12-24 | 1 | -26/+27 |
| | | | | And replace the loop with tail recursion. | ||||
* | char/enemy: Don't spawn on top of allies | P. J. McDermott | 2021-12-24 | 1 | -4/+20 |
| | |||||
* | maze: Draw a border around the maze | P. J. McDermott | 2021-12-24 | 1 | -0/+13 |
| | |||||
* | tk/text: strchr() allowed_chars for validation | P. J. McDermott | 2021-12-24 | 4 | -18/+9 |
| | |||||
* | tk/text: Replace min_char and max_char with allowed_chars | P. J. McDermott | 2021-12-24 | 5 | -20/+21 |
| | |||||
* | m4/ax_compiler_vendor.m4: New file | P. J. McDermott | 2021-09-26 | 2 | -0/+118 |
| | | | | | | | | | | | | | | | | Now needed for AX_CFLAGS_WARN_ALL(). Fixes: configure.ac:55: warning: AX_COMPILER_VENDOR is m4_require'd but not m4_defun'd m4/ax_cflags_warn_all.m4:84: AX_FLAGS_WARN_ALL is expanded from... m4/ax_cflags_warn_all.m4:142: AX_CFLAGS_WARN_ALL is expanded from... configure.ac:55: the top level And: ./configure: line 3786: AX_COMPILER_VENDOR: command not found checking CFLAGS for most reasonable warnings... configure: WARNING: Unknown compiler vendor returned by AX_COMPILER_VENDOR | ||||
* | m4/ax_prepend_flag.m4: New file | P. J. McDermott | 2021-09-26 | 2 | -0/+52 |
| | | | | | | | | | | | | Now needed for AX_CFLAGS_WARN_ALL(). Fixes: configure.ac:55: error: macro AX_PREPEND_FLAG is not defined; is a m4 file missing? m4/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from... m4/ax_cflags_warn_all.m4:84: AX_FLAGS_WARN_ALL is expanded from... m4/ax_cflags_warn_all.m4:142: AX_CFLAGS_WARN_ALL is expanded from... configure.ac:55: the top level | ||||
* | m4/ax_check_compile_flag.m4: Update from Autoconf Archive | P. J. McDermott | 2021-09-26 | 1 | -26/+5 |
| | | | | 0e7f328 AX_CHECK_COMPILE_FLAG: released under all-permissive license | ||||
* | m4/ax_cflags_warn_all.m4: Update from Autoconf Archive | P. J. McDermott | 2021-09-26 | 1 | -72/+108 |
| | | | | | | | | | | | | 20ea11b Trivial cosmetic to make the generator happy. 86b513d ax_cflags_warn_all.m4: Avoid prepending empty flags bfc41a8 ax_cflags_warn_all.m4: Prepend flags instead of appending them fc51f04 ax_cflags_warn_all.m4: Bug fix: modern Intel compilers don't accept "-warn all" 9000a82 ax_cflags_warn_all.m4: Bug fix: the PGI compilers do not understand "-Wall" 3d68321 ax_cflags_warn_all.m4: Rewrite the documentation to provide greater clarity e13932a ax_cflags_warn_all.m4: Nicely indent remaining macros b259e09 ax_cflags_warn_all.m4: Rewrite AX_FLAGS_WARN_ALL to use AX_COMPILER_VENDOR 8388e03 ax_cflags_warn_all.m4: Bump version number and add new copyright holder | ||||
* | m4/ax_append_flag.m4: Update from Autoconf Archive | P. J. McDermott | 2021-09-26 | 1 | -26/+5 |
| | | | | d27290f all-permissive for macros from Guido Draheim / Maarten Bosmans | ||||
* | m4/gl_warnings.m4: Update from Gnulib | P. J. McDermott | 2021-09-26 | 1 | -12/+16 |
| | | | | | | | | | | 4b9483219 maint: run 'make update-copyright' 85d1d48f6 Fix quoting of AC_LANG_PROGRAM arguments. 15ce5a630 Assume autoconf >= 2.64. 2cdc1bafb maint: Run 'make update-copyright' e6633650a maint: Run 'make update-copyright' 2f494b706 warnings: Add support for Objective C. 281b825eb maint: Run 'make update-copyright' | ||||
* | m4/gl_manywarnings.m4: Update from Gnulib | P. J. McDermott | 2021-09-26 | 1 | -190/+70 |
| | | | | | | | | | | | | | | | | | | | 6dae7213a manywarnings: enable some malloc warnings 3ffd76432 manywarnings: improve -fanalyzer malloc checking 4b9483219 maint: run 'make update-copyright' 15ce5a630 Assume autoconf >= 2.64. 3831e2e9f manywarnings: improve port to GCC 10.1 da2a958f1 manywarnings: port to GCC 10.1 2cdc1bafb maint: Run 'make update-copyright' 3f14b27de Port manywarnings to GCC 9 e6633650a maint: Run 'make update-copyright' fa3e2ad20 Make better use of Autoconf. f24fbe9d9 manywarnings: omit -Wswitch-default fcdf335e0 manywarnings: Don't enable -Wjump-misses-init warnings by default. 63e719c9c manywarnings: accommodate GCC 9.0-pre: remove -Wchkp and -Wabi 36999acc3 manywarnings: port to GCC 8.0 2a7e33d35 manywarnings: fix maintainer comment 281b825eb maint: Run 'make update-copyright' | ||||
* | tk: Define colors within local header | P. J. McDermott | 2021-09-25 | 11 | -155/+143 |
| | |||||
* | char: Remove old collision functions | P. J. McDermott | 2021-09-25 | 6 | -49/+0 |
| | |||||
* | tk: Handle keypad Enter key | P. J. McDermott | 2021-09-25 | 4 | -0/+4 |
| | |||||
* | tk/text: Replace min_char, max_char with callback | P. J. McDermott | 2021-09-25 | 4 | -7/+20 |
| | |||||
* | game: Fix stack use after scope | P. J. McDermott | 2021-09-25 | 1 | -8/+7 |
| | |||||
* | menu: Fix stack use after scope | P. J. McDermott | 2021-09-25 | 1 | -19/+23 |
| | |||||
* | game: Slow down for debugging | P. J. McDermott | 2021-09-25 | 1 | -1/+1 |
| | |||||
* | Revert "char/enemy: Try to fix movement lag" | P. J. McDermott | 2021-08-19 | 3 | -18/+2 |
| | | | | This reverts commit 09775804429ccd7486419b4c539581d6f70e193d. | ||||
* | Revert "char/enemy: Try to fix movement lag" | P. J. McDermott | 2021-08-19 | 1 | -35/+36 |
| | | | | This reverts commit 44a31faf04009ee147f1e2fbf3ba3cab9fd13b12. | ||||
* | char/enemy: Try to fix movement lag | P. J. McDermott | 2021-08-19 | 1 | -36/+35 |
| | |||||
* | char/enemy: Try to fix movement lag | P. J. McDermott | 2021-08-19 | 3 | -2/+18 |
| | |||||
* | char/enemy: Fix movement upon collision after turn | P. J. McDermott | 2021-08-19 | 1 | -0/+30 |
| | |||||
* | menu: Debugging | P. J. McDermott | 2021-08-19 | 1 | -1/+1 |
| | |||||
* | char/enemy: Resume movement after stopping | P. J. McDermott | 2021-08-19 | 1 | -6/+17 |
| | | | | | If backed into a dead end by an ally, wait for the ally to leave then resume movement. | ||||
* | char/enemy: Add collision avoidance | P. J. McDermott | 2021-08-19 | 1 | -0/+19 |
| |