Add to structs.h. They have come in pretty handy for formatting things!
Code:
#define HE_SHE(ch) ((GET_SEX(ch) == SEX_MALE ) ? "he" : \
( (GET_SEX(ch) == SEX_FEMALE) ? "she" : "it" ) )
#define HIS_HER(ch) ((GET_SEX(ch) == SEX_MALE ) ? "his" : \
( (GET_SEX(ch) == SEX_FEMALE) ? "her" : "its" ) )
#define HIM_HER(ch) ((GET_SEX(ch) == SEX_MALE ) ? "him" : \
( (GET_SEX(ch) == SEX_FEMALE) ? "her" : "it" ) )
#define MAL_FEM(ch) ((GET_SEX(ch) == SEX_MALE ) ? "male" : \
( (GET_SEX(ch) == SEX_FEMALE) ? "female" : "something
Code:
#define IS_VOWEL(c) (c == 'A' || c == 'a' || \
c == 'E' || c == 'e' || \
c == 'I' || c == 'i' || \
c == 'O' || c == 'o' || \
c == 'U' || c == 'u' )