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 |
| | |||||
* | Revert "char/enemy: Factor out collision check into jump" | P. J. McDermott | 2022-01-27 | 1 | -27/+26 |
| | | | | This reverts commit 01e2f6af97c858b810e834b53aa25c356b940a38. | ||||
* | 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 |
| | |||||
* | char: Remove old collision functions | P. J. McDermott | 2021-09-25 | 4 | -39/+0 |
| | |||||
* | Revert "char/enemy: Try to fix movement lag" | P. J. McDermott | 2021-08-19 | 1 | -12/+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 | 1 | -2/+12 |
| | |||||
* | char/enemy: Fix movement upon collision after turn | P. J. McDermott | 2021-08-19 | 1 | -0/+30 |
| | |||||
* | 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 |
| | |||||
* | char/enemy: Add room for pointer in method decls | P. J. McDermott | 2021-08-19 | 1 | -8/+8 |
| | |||||
* | char/enemy: Store allies array | P. J. McDermott | 2021-08-19 | 1 | -4/+10 |
| | | | | And fix variable name. | ||||
* | Revert "char/enemy: Make a linked list of enemy chars" | P. J. McDermott | 2021-08-19 | 1 | -28/+8 |
| | | | | This reverts commit b1fbb0b1c078e82a651181101fed9d6742164e0b. | ||||
* | Revert "char/enemy: Add room for pointer in method decls" | P. J. McDermott | 2021-08-19 | 1 | -8/+8 |
| | | | | This reverts commit ad6baa8005d083b5dbe8b4c3a68808b1819cd6ae. | ||||
* | Revert "char/enemy: Add collision avoidance" | P. J. McDermott | 2021-08-19 | 1 | -13/+0 |
| | | | | This reverts commit 7a252a42c4ec1a0116f7eff5727afcda3c5aba22. | ||||
* | char/enemy: Add collision avoidance | P. J. McDermott | 2021-08-19 | 1 | -0/+13 |
| | |||||
* | char/enemy: Add room for pointer in method decls | P. J. McDermott | 2021-08-18 | 1 | -8/+8 |
| | |||||
* | char/enemy: Invert wall check logic | P. J. McDermott | 2021-08-18 | 1 | -4/+6 |
| | |||||
* | char/enemy: Make a linked list of enemy chars | P. J. McDermott | 2021-08-18 | 1 | -8/+28 |
| | |||||
* | Revert "char/char: Add debugging info" | P. J. McDermott | 2021-08-18 | 1 | -3/+0 |
| | | | | This reverts commit 459c30627d9a2192d0f79280efaafc1d3a737be5. | ||||
* | char/char: Add debugging info | P. J. McDermott | 2021-08-18 | 1 | -0/+3 |
| | |||||
* | char: Add collision detection/handling | P. J. McDermott | 2021-08-10 | 4 | -0/+39 |
| | |||||
* | char/enemy: Expose random positioning function | P. J. McDermott | 2021-08-10 | 1 | -2/+8 |
| | |||||
* | char/enemy: Fix closeness check | P. J. McDermott | 2021-08-10 | 1 | -1/+1 |
| | |||||
* | char/char: Decrement travel before step method | P. J. McDermott | 2021-08-10 | 1 | -2/+2 |
| | | | | Also fix some assignment alignment. | ||||
* | char/enemy: Don't turn in ALL the directions | P. J. McDermott | 2021-08-09 | 1 | -0/+1 |
| | |||||
* | char: Add turn method | P. J. McDermott | 2021-08-09 | 4 | -0/+21 |
| | |||||
* | char/enemy: Fix anti-backtracking | P. J. McDermott | 2021-08-09 | 1 | -1/+11 |
| | |||||
* | char: Add a step method | P. J. McDermott | 2021-08-09 | 4 | -13/+22 |
| | |||||
* | char: Notify update method if completed turn | P. J. McDermott | 2021-08-08 | 1 | -0/+2 |
| | |||||
* | char/enemy: New character | P. J. McDermott | 2021-08-08 | 2 | -0/+133 |
| | |||||
* | char/player: Prune #include directives | P. J. McDermott | 2021-08-08 | 1 | -4/+1 |
| | | | | And re-align assignments. | ||||
* | char: Notify update method if completed step | P. J. McDermott | 2021-08-08 | 3 | -3/+5 |
| | |||||
* | char: New "class", absorbing player | P. J. McDermott | 2021-08-08 | 4 | -0/+541 |