X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=src%2Fserver%2Fai.h;h=4b9b776c9dfa1b8465d96b6ccddc8965a7e4c36b;hb=e430e9baabcde0c5ee373928ffb363bb452f6bb7;hp=7e5a145fc1df71f6d6d194e1994843e8df81531a;hpb=6052be616897d692fc57ab15b56266b4b3f4668b;p=plomrogue diff --git a/src/server/ai.h b/src/server/ai.h index 7e5a145..4b9b776 100644 --- a/src/server/ai.h +++ b/src/server/ai.h @@ -10,13 +10,11 @@ struct MapObj; -/* Determine next non-player actor command / arguments by the actor's AI. - * - * The AI is pretty dumb so far. Actors basically try to move towards their - * nearest neighbor in a straight line, easily getting stuck behind obstacles or - * ending up in endless chase circles with each other. +/* Determine next non-player actor command / arguments by the actor's AI. It's + * pretty dumb so far. Actors will try to move towards their path-wise nearest + * neighbor. If no one else is found in the neighborhood, they will simply wait. */ -extern void pretty_dumb_ai(struct MapObj * mo); +extern void ai(struct MapObj * mo);