31 lines
863 B
C
31 lines
863 B
C
#include <ncurses.h>
|
|
#include "defs.h"
|
|
|
|
void anim(cell_t *src, cell_t *dst, char ch);
|
|
object_t *askobject(obpile_t *op, char *title, int *count);
|
|
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 dopickup(lifeform_t *lf, obpile_t *op);
|
|
void dothrow(obpile_t *op);
|
|
void drawcell(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, ... );
|
|
void dblog(char *format, ... );
|
|
void redraw(void);
|
|
int savequit(void);
|
|
void tombstone(lifeform_t *lf);
|
|
void updateviewfor(cell_t *cell);
|