[EMAIL PROTECTED] wrote:
> Module Name:  crossfire
> Committed By: qal21
> Date:         Wed Aug 17 18:38:35 UTC 2005
>
> Modified Files:
>       crossfire/include: sproto.h
>       crossfire/server: build_map.c
>
> Log Message:
> Fix bugs, and allow buttons and pedestals to be built underneath gates.
[...]
> Index: crossfire/include/sproto.h
> diff -c crossfire/include/sproto.h:1.133 crossfire/include/sproto.h:1.134
> *** crossfire/include/sproto.h:1.133  Fri Aug 12 16:16:31 2005
> --- crossfire/include/sproto.h        Wed Aug 17 11:38:34 2005
> ***************
> *** 70,78 ****
>   /* ban.c */
>   int checkbanned(const char *login, const char *host);
>   /* build_map.c */
>   void remove_marking_runes(struct mapdef *map, short x, short y);
>   int find_unused_connected_value(struct mapdef *map);
> ! int find_or_create_connection_for_map(object *pl, short x, short y);
>   object *get_wall(struct mapdef *map, int x, int y);
>   void fix_walls(struct mapdef *map, int x, int y);
>   void apply_builder_floor(object *pl, object *material, short x, short y);
> --- 70,81 ----
>   /* ban.c */
>   int checkbanned(const char *login, const char *host);
>   /* build_map.c */
> + object* get_connection_rune( object* pl, short x, short y );
> + object* get_msg_book( object* pl, short x, short y );
> + int adjust_sign_msg( object* pl, short x, short y, object* tmp );
>   void remove_marking_runes(struct mapdef *map, short x, short y);
>   int find_unused_connected_value(struct mapdef *map);
> ! int find_or_create_connection_for_map(object* pl, short x, short y, object* 
> rune);
>   object *get_wall(struct mapdef *map, int x, int y);
>   void fix_walls(struct mapdef *map, int x, int y);
>   void apply_builder_floor(object *pl, object *material, short x, short y);

This patch makes the functions get_connection_rune(), get_msg_book(),
and adjust_sign_msg() global by removing the "static" modifier. What was
the reason for this change? (Grepping through the source did show that
these functions are both defined and called from build_map.c only.)

_______________________________________________
crossfire mailing list
crossfire@metalforge.org
http://mailman.metalforge.org/mailman/listinfo/crossfire

Reply via email to