#include #include "defs.h" void anim(cell_t *src, cell_t *dst, char ch); object_t *askobject(obpile_t *op, char *title, int *count, int opts); object_t *askobjectofclass(obpile_t *op, char *title, int *count, int opts, enum OBCLASS obclass); object_t *doaskobject(obpile_t *op, char *title, int *count, int opts, enum OBCLASS obclass); cell_t *askcoords(char *prompt); void centre(WINDOW *win, int y, char *format, ... ); int chartodir(char ch); void clearmsg(void); void describeob(object_t *o); void dodrop(obpile_t *op); void doinventory(obpile_t *op); void doknowledgelist(void); int dopickup(obpile_t *op); void doquaff(obpile_t *op); void doread(obpile_t *op); int dotakeoff(obpile_t *op); void dothrow(obpile_t *op); int dowear(obpile_t *op); int doweild(obpile_t *op); void drawunviscell(cell_t *cell, int x, int y); void drawcellwithcontents(cell_t *cell, int x, int y); void drawcursor(void); void drawlevelfor(lifeform_t *lf); void drawmsg(void); void drawscreen(void); void drawstatus(void); int getkey(void); void handleinput(void); int keycodetokey(int keycode); void more(void); void msg(char *format, ... ); int pickup(lifeform_t *lf, object_t *what, int howmany); void dblog(char *format, ... ); void redraw(void); int savequit(void); int takeoff(lifeform_t *lf, object_t *o); void tombstone(lifeform_t *lf); void updateviewfor(cell_t *cell); int wear(lifeform_t *lf, object_t *o); int weild(lifeform_t *lf, object_t *o);