added a box to everyone and cleaned up things a bit

This commit is contained in:
david committed 2026-07-22 04:38:12 -03:00
1 parent fa3d08f0a6
commit 9765de97f1
8 files changed
+213 -241

No files matched your search

+10
View File
@@ -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);