2010-12-02 12:17:54 +11:00
|
|
|
#include "defs.h"
|
|
|
|
|
|
|
|
char *capitalise(char *text);
|
2011-02-16 05:21:33 +11:00
|
|
|
char *capitaliseall(char *text);
|
2011-04-01 10:54:44 +11:00
|
|
|
char *dicetotext(int ndice, int nsides, int bonus, int *min, int *max, char *dicebuf, char *minmaxbuf);
|
2011-02-01 06:16:13 +11:00
|
|
|
char *getattrname(enum ATTRIB att);
|
|
|
|
char *getpossessive(char *text);
|
|
|
|
char *getsizetext(enum LFSIZE sz);
|
|
|
|
char *gettimetext(char *retbuf);
|
|
|
|
char *gettimetextfuzzy(char *retbuf, int wantpm);
|
|
|
|
char *getweighttext(float weight, char *buf);
|
2010-12-02 12:17:54 +11:00
|
|
|
int isvowel(char c);
|
|
|
|
char *makeplural(char *text);
|
2011-03-24 16:09:31 +11:00
|
|
|
int needses(char *text);
|
2011-02-01 06:16:13 +11:00
|
|
|
char *noprefix(char *obname);
|
2011-03-16 15:45:46 +11:00
|
|
|
char *numtotext(int num, char *buf);
|
|
|
|
char *roman(int num);
|
2011-02-01 06:16:13 +11:00
|
|
|
void splittime(int *hours, int *mins, int *secs);
|
|
|
|
char *strrep(char *text, char *oldtok, char *newtok, int *rv);
|
|
|
|
char *dostrrep(char* in, char** out, char* oldtok, char* newtok, int *rv);
|
|
|
|
int strpixmatch(char *haystack, char *needle);
|
2011-03-10 16:47:18 +11:00
|
|
|
int texttodice(char *text, int *ndice, int *nsides, int *bonus);
|
2011-03-22 18:06:28 +11:00
|
|
|
void texttospellopts(char *text, int *power, char *damstr, int *needgrab);
|
2011-02-01 06:16:13 +11:00
|
|
|
char *you(lifeform_t *lf);
|
|
|
|
char *you_l(lifeform_t *lf);
|
|
|
|
char *your(lifeform_t *lf);
|
|
|
|
char *your_l(lifeform_t *lf);
|