OSDN Git Service

[Refactor] #37287 #37353 型の置換。 / Type replacement.
[hengband/hengband.git] / src / grid.h
index 6b29d27..08b7365 100644 (file)
@@ -274,17 +274,15 @@ extern void place_locked_door(POSITION y, POSITION x);
 extern void try_door(POSITION y, POSITION x);
 extern void place_floor(POSITION x1, POSITION x2, POSITION y1, POSITION y2, bool light);
 extern void place_room(POSITION x1, POSITION x2, POSITION y1, POSITION y2, bool light);
-extern void vault_monsters(int y1, int x1, int num);
-extern void vault_objects(int y, int x, int num);
-extern void vault_trap_aux(int y, int x, int yd, int xd);
-extern void vault_traps(int y, int x, int yd, int xd, int num);
+extern void vault_monsters(POSITION y1, POSITION x1, int num);
+extern void vault_objects(POSITION y, POSITION x, int num);
+extern void vault_trap_aux(POSITION y, POSITION x, POSITION yd, POSITION xd);
+extern void vault_traps(POSITION y, POSITION x, POSITION yd, POSITION xd, int num);
 
-extern void correct_dir(int *rdir, int *cdir, int y1, int x1, int y2, int x2);
+extern void correct_dir(int *rdir, int *cdir, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
 
 extern void rand_dir(int *rdir, int *cdir);
 
-extern bool get_is_floor(int x, int y);
-extern void set_floor(int x, int y);
+extern bool get_is_floor(POSITION x, POSITION y);
+extern void set_floor(POSITION x, POSITION y);
 
-extern bool build_tunnel(POSITION row1, POSITION col1, POSITION row2, POSITION col2);
-extern bool build_tunnel2(POSITION x1, POSITION y1, POSITION x2, POSITION y2, int type, int cutoff);