Advanced Rogue 7: convert to ANSI-style function declarations.
Almost 1500 lines of compiler warnings remain, and the GCC developers are already working on a new version with even more warnings turned on by default.
This commit is contained in:
parent
f38b2223c8
commit
e8e6e604c3
39 changed files with 1181 additions and 889 deletions
|
|
@ -21,11 +21,9 @@
|
|||
* Check for effects of one thing hitting another thing. Return
|
||||
* 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