XRogue: convert to ANSI-style function declarations.
This commit is contained in:
parent
e8e6e604c3
commit
2853120387
41 changed files with 1281 additions and 908 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue