home · contact · privacy
License everything (GPL).
[plomrogue] / src / server / ai.h
index 4b9b776c9dfa1b8465d96b6ccddc8965a7e4c36b..87b178333ebed237ce5cfd6ef552fb37c6deb79b 100644 (file)
@@ -1,4 +1,8 @@
 /* src/server/ai.h
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
  *
  * Pseudo AI for actor movement.
  */
@@ -6,7 +10,7 @@
 #ifndef AI_H
 #define AI_H
 
-struct MapObj;
+struct Thing;
 
 
 
@@ -14,7 +18,7 @@ struct MapObj;
  * 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 ai(struct MapObj * mo);
+extern void ai(struct Thing * t);