home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d5a9e9
)
Minor code re-styling.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Feb 2015 05:12:54 +0000
(06:12 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 8 Feb 2015 05:12:54 +0000
(06:12 +0100)
src/server/field_of_view.c
patch
|
blob
|
history
diff --git
a/src/server/field_of_view.c
b/src/server/field_of_view.c
index 8a162d8020c45579e250c9a6c58a14cc64204fff..dc60442e3ff28a835d462f5e3ca877b5c938fa2c 100644
(file)
--- 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);
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);
/* 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)
{
static void set_shadow(uint32_t left_angle, uint32_t right_angle,
struct shadow_angle ** shadows)
{