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
|
|
@ -26,11 +26,9 @@
|
|||
* the reason code if the defender is killed. Otherwise return 0.
|
||||
*/
|
||||
|
||||
effect(att, def, weap, thrown, see_att, see_def)
|
||||
register struct thing *att, *def;
|
||||
struct object *weap;
|
||||
bool thrown;
|
||||
register bool see_att, see_def;
|
||||
int
|
||||
effect(struct thing *att, struct thing *def, struct object *weap, bool thrown,
|
||||
bool see_att, bool see_def)
|
||||
{
|
||||
register bool att_player, def_player;
|
||||
char attname[LINELEN+1], defname[LINELEN+1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue