From ebc946c2df8c9cd178d0984d9a32daba7c0fbfab Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 14 Jan 1998 02:19:04 +0000 Subject: [PATCH] Makde offset_bucket visible to outside. --- Scenery/tileutils.c | 11 +++++++---- Scenery/tileutils.h | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/Scenery/tileutils.c b/Scenery/tileutils.c index c0a1af2ee..dbf087acf 100644 --- a/Scenery/tileutils.c +++ b/Scenery/tileutils.c @@ -120,7 +120,7 @@ void gen_base_path(struct bucket *p, char *path) { /* offset an bucket struct by the specified amounts in the X & Y direction */ -static void offset_bucket(struct bucket *in, struct bucket *out, int x, int y) { +void offset_bucket(struct bucket *in, struct bucket *out, int x, int y) { int diff, temp; int dist_lat; @@ -266,10 +266,13 @@ int main() { /* $Log$ -/* Revision 1.4 1998/01/13 00:23:12 curt -/* Initial changes to support loading and management of scenery tiles. Note, -/* there's still a fair amount of work left to be done. +/* Revision 1.5 1998/01/14 02:19:04 curt +/* Makde offset_bucket visible to outside. /* + * Revision 1.4 1998/01/13 00:23:12 curt + * Initial changes to support loading and management of scenery tiles. Note, + * there's still a fair amount of work left to be done. + * * Revision 1.3 1998/01/10 00:01:47 curt * Misc api changes and tweaks. * diff --git a/Scenery/tileutils.h b/Scenery/tileutils.h index 31dd063d1..29ea5940a 100644 --- a/Scenery/tileutils.h +++ b/Scenery/tileutils.h @@ -61,7 +61,7 @@ void gen_base_path(struct bucket *p, char *path); /* offset an bucket struct by the specified amounts in the X & Y direction */ -/* static void offset_bucket(struct bucket *in, struct bucket *out, int x, int y); */ +void offset_bucket(struct bucket *in, struct bucket *out, int x, int y); /* Given a lat/lon, find the "bucket" or tile that it falls within */ @@ -77,10 +77,13 @@ void gen_idx_array(struct bucket *p1, struct bucket *tiles, /* $Log$ -/* Revision 1.4 1998/01/13 00:23:12 curt -/* Initial changes to support loading and management of scenery tiles. Note, -/* there's still a fair amount of work left to be done. +/* Revision 1.5 1998/01/14 02:19:05 curt +/* Makde offset_bucket visible to outside. /* + * Revision 1.4 1998/01/13 00:23:12 curt + * Initial changes to support loading and management of scenery tiles. Note, + * there's still a fair amount of work left to be done. + * * Revision 1.3 1998/01/10 00:01:48 curt * Misc api changes and tweaks. * -- 2.39.2