summaryrefslogtreecommitdiffstats
path: root/src/char/enemy.c
Commit message (Collapse)AuthorAgeFilesLines
* char: Remove old collision functionsP. J. McDermott2021-09-251-14/+0
|
* Revert "char/enemy: Try to fix movement lag"P. J. McDermott2021-08-191-12/+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-191-2/+12
|
* char/enemy: Fix movement upon collision after turnP. J. McDermott2021-08-191-0/+30
|
* 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-191-4/+10
| | | | And fix variable name.
* Revert "char/enemy: Make a linked list of enemy chars"P. J. McDermott2021-08-191-28/+8
| | | | 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
|
* char/enemy: Invert wall check logicP. J. McDermott2021-08-181-4/+6
|
* char/enemy: Make a linked list of enemy charsP. J. McDermott2021-08-181-8/+28
|
* char: Add collision detection/handlingP. J. McDermott2021-08-101-0/+14
|
* char/enemy: Expose random positioning functionP. J. McDermott2021-08-101-2/+8
|
* char/enemy: Fix closeness checkP. J. McDermott2021-08-101-1/+1
|
* char/enemy: Don't turn in ALL the directionsP. J. McDermott2021-08-091-0/+1
|
* char: Add turn methodP. J. McDermott2021-08-091-0/+9
|
* char/enemy: Fix anti-backtrackingP. J. McDermott2021-08-091-1/+11
|
* char: Add a step methodP. J. McDermott2021-08-091-6/+8
|
* char/enemy: New characterP. J. McDermott2021-08-081-0/+132