home · contact · privacy
Refactored finding of random passable position into its own function.
[plomrogue] / src / actors.h
index c97d91bbba3c30d7a4fa6017999d95d783f2cb4e..d88c66fa59000645b24ad2bf3b836874cf6749d0 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef ACTORS_H
 #define ACTORS_H
 
-#include <stdint.h>
 #include "yx_uint16.h"
 
 struct World;
@@ -15,7 +14,7 @@ struct Monster {
   char name;
   struct yx_uint16 pos; };
 
-extern char is_passable (struct Map *, uint16_t, uint16_t);
+extern char is_passable (struct Map *, struct yx_uint16);
 extern void move_monster (struct World *, struct Monster *);
 extern void move_player (struct World *, char);
 extern void player_wait(struct World *);