And finally, fight.c
gcc fight.c -Wall -O -ggdb -DNOCRYPT -c -o obj/fight.o
fight.c: In function `one_hit':
fight.c:592: warning: suggest explicit braces to avoid ambiguous `else'
fight.c: In function `damage':
fight.c:776: warning: suggest parentheses around && within ||
fight.c:881: parse error before '(' token
fight.c: At top level:
fight.c:1009: parse error before "if"
fight.c:1046: warning: type defaults to `int' in declaration of `tail_chain'
fight.c:1046: conflicting types for `tail_chain'
merc.h:2556: previous declaration of `tail_chain'
fight.c:1046: warning: data definition has no type or storage class
fight.c:1047: parse error before "return"
fight.c: In function `dam_message':
fight.c:2104: warning: `attack' might be used uninitialized in this function
make: [obj/fight.o] Error 1 (ignored)
Thank you for any feedback on this. I really want to get this to work.
Lupercus
gcc fight.c -Wall -O -ggdb -DNOCRYPT -c -o obj/fight.o
fight.c: In function `one_hit':
fight.c:592: warning: suggest explicit braces to avoid ambiguous `else'
fight.c: In function `damage':
fight.c:776: warning: suggest parentheses around && within ||
fight.c:881: parse error before '(' token
fight.c: At top level:
fight.c:1009: parse error before "if"
fight.c:1046: warning: type defaults to `int' in declaration of `tail_chain'
fight.c:1046: conflicting types for `tail_chain'
merc.h:2556: previous declaration of `tail_chain'
fight.c:1046: warning: data definition has no type or storage class
fight.c:1047: parse error before "return"
fight.c: In function `dam_message':
fight.c:2104: warning: `attack' might be used uninitialized in this function
make: [obj/fight.o] Error 1 (ignored)
Thank you for any feedback on this. I really want to get this to work.
Lupercus