nexus/god.h

37 lines
1.6 KiB
C
Executable File

#include "defs.h"
void angergod(enum RACE rid, int amt, enum GODANGERREASON why);
int angergodmaybe(enum RACE rid, int amt, enum GODANGERREASON why);
void askforworship(enum RACE rid);
void checkgodbonus(enum RACE rid, enum PIETYLEV newlev, enum PIETYLEV oldlev);
void dooffer(void);
lifeform_t *findgod(enum RACE rid);
char *getgodname(enum RACE rid, char *buf);
enum RACE getopposinggod(enum RACE rid);
enum OBTYPE getopposinggodstone(enum RACE rid);
int getpiety(enum RACE rid);
int getpietycutoff(enum PIETYLEV pl);
enum PIETYLEV getpietylev(enum RACE rid, enum COLOUR *col, char *happiness);
int getprayedgods(lifeform_t **retgod, int *nretgods);
lifeform_t *getrandomgod(void);
lifeform_t *getrandomprayedgod(void);
enum OBTYPE getrelatedgodstone(enum RACE rid);
void givegodbonus(enum RACE rid, flag_t *bf, int announce);
lifeform_t *godappears(enum RACE rid, cell_t *where);
void god_usepoison_response(void);
int godblocked(enum RACE rid);
int godgiftmaybe(enum RACE rid, int fromtemple, int announce);
int godisangry(enum RACE rid);
int godprayedto(enum RACE rid);
void godsay(enum RACE rid, int says, char *format, ...);
void godstone_pickup_effects(lifeform_t *god, lifeform_t *opposegod, object_t *o);
void modpiety(enum RACE rid, int amt);
void parsegodbonusargs(flag_t *bf, enum PIETYLEV *bonuslev, enum GODBONUS *bonusid, int *arg, int *targ);
void pleasegod(enum RACE rid, int amt);
void pleasegodmaybe(enum RACE rid, int amt);
int prayto(lifeform_t *lf, lifeform_t *god);
int prayedtoany(void);
void removegodbonus(enum RACE rid, flag_t *bf, int announce);
void setpiety(enum RACE rid, int amt);
int uncurse_one_equipped(lifeform_t *lf, char *text);