X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fstreams.c;h=e9d012798b639cd941e6ce753bae4852d190f52b;hb=0aa67c29803e13864ddb7ccf543f7387bc497848;hp=dea5811d2f4f19ef6e5dd474ab3488a4024d5786;hpb=deac8120d23c7d04d095035a6815a72977639d83;p=hengband%2Fhengband.git diff --git a/src/streams.c b/src/streams.c index dea5811d2..e9d012798 100644 --- a/src/streams.c +++ b/src/streams.c @@ -155,11 +155,11 @@ static void recursive_river(int x1, int y1, int x2, int y2, IDX feat1, IDX feat2 * @param feat2 境界部地形ID * @return なし */ -void add_river(int feat1, int feat2) +void add_river(IDX feat1, IDX feat2) { - int y2, x2; - int y1 = 0, x1 = 0; - int wid; + POSITION y2, x2; + POSITION y1 = 0, x1 = 0; + POSITION wid; /* Hack -- Choose starting point */ @@ -226,7 +226,7 @@ void add_river(int feat1, int feat2) * hidden gold types are currently unused. * */ -void build_streamer(int feat, int chance) +void build_streamer(IDX feat, int chance) { int i, tx, ty; int y, x, dir; @@ -389,7 +389,7 @@ void build_streamer(int feat, int chance) * This happens in real world lava tubes. * */ -void place_trees(int x, int y) +void place_trees(POSITION x, POSITION y) { int i, j; cave_type *c_ptr;