From: Christian Heller Date: Sun, 8 Feb 2015 05:12:54 +0000 (+0100) Subject: Minor code re-styling. X-Git-Tag: tce~539 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=52baa310d361f5736c675d8222b0479470d9c3c8;p=plomrogue Minor code re-styling. --- diff --git a/src/server/field_of_view.c b/src/server/field_of_view.c index 8a162d8..dc60442 100644 --- a/src/server/field_of_view.c +++ b/src/server/field_of_view.c @@ -65,6 +65,12 @@ static uint8_t shade_hex(uint32_t left_angle, uint32_t right_angle, uint32_t middle_angle, struct shadow_angle ** shadows, uint16_t pos_in_map, char * fov_map); +/* To "shadows", add shadow defined by "left_angle" and "right_angle", either as + * new entry or as part of an existing shadow (swallowed whole or extending it). + */ +static void set_shadow(uint32_t left_angle, uint32_t right_angle, + struct shadow_angle ** shadows); + /* Free shadow angles list "angles". */ static void free_angles(struct shadow_angle * angles); @@ -195,9 +201,6 @@ static uint8_t shade_hex(uint32_t left_angle, uint32_t right_angle, -/* To "shadows", add shadow defined by "left_angle" and "right_angle", either as - * new entry or as part of an existing shadow (swallowed whole or extending it). - */ static void set_shadow(uint32_t left_angle, uint32_t right_angle, struct shadow_angle ** shadows) {