Mercurial > hg > early-roguelike
diff xrogue/bolt.c @ 225:4f6e056438eb
Merge the GCC5 and build fix branches.
author | John "Elwin" Edwards |
---|---|
date | Wed, 02 Mar 2016 21:28:34 -0500 |
parents | f54901b9c39b |
children | 7c1cb43f346e |
line wrap: on
line diff
--- a/xrogue/bolt.c Fri Feb 26 17:30:30 2016 -0500 +++ b/xrogue/bolt.c Wed Mar 02 21:28:34 2016 -0500 @@ -18,6 +18,7 @@ #include <curses.h> #include <ctype.h> +#include <string.h> #include "rogue.h" /* @@ -25,13 +26,9 @@ * given direction */ -shoot_bolt(shooter, start, dir, get_points, reason, name, damage) -struct thing *shooter; -coord start, dir; -bool get_points; -short reason; -char *name; -int damage; +void +shoot_bolt(struct thing *shooter, coord start, coord dir, bool get_points, + short reason, char *name, int damage) { unsigned char dirch = 0, ch; bool used, change, see_him;