mirror of
https://git.squeakyrat.moe/petratc/
synced 2026-11-04 18:35:43 +01:00
added a box to everyone and cleaned up things a bit
This commit is contained in:
1 parent
fa3d08f0a6
commit
9765de97f1
8 files changed
+213
-241
No files matched your search
@@ -1,6 +1,8 @@
|
||||
#ifndef rat_h
|
||||
#define rat_h
|
||||
|
||||
#include <ncurses.h>
|
||||
|
||||
typedef struct {
|
||||
float hunger;
|
||||
float love;
|
||||
@@ -11,10 +13,18 @@ typedef struct {
|
||||
} Rat;
|
||||
|
||||
extern char *ratart[];
|
||||
extern char *funfact[];
|
||||
extern char *messages[];
|
||||
|
||||
extern Rat rat;
|
||||
|
||||
void load(void);
|
||||
void save(void);
|
||||
void setstat(void);
|
||||
void addstat(float *guy);
|
||||
|
||||
WINDOW *ratdrawbox(void);
|
||||
int wrapprint(WINDOW *win, int row, int col, int maxwidth, const char *msg);
|
||||
|
||||
void gameguess(void);
|
||||
void gamecatch(void);
|
||||
|
||||
Reference in new issue
Block a user