diff options
| author | david <[email protected]> | 2026-04-30 15:02:42 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-04-30 15:05:13 -0300 |
| commit | be9c7f9280a2e9b50c9386c72a020b115e24a927 (patch) | |
| tree | 39b01fe632844ad88f89e38f26f5ca9d1ee04cca /rat.h | |
| parent | 2d61b43a7250401674bc44c7960851ec33dbcf33 (diff) | |
| download | petratc-be9c7f9280a2e9b50c9386c72a020b115e24a927.tar.gz petratc-be9c7f9280a2e9b50c9386c72a020b115e24a927.zip | |
moved files around
Diffstat (limited to 'rat.h')
| -rw-r--r-- | rat.h | 34 |
1 files changed, 15 insertions, 19 deletions
@@ -1,22 +1,18 @@ - char ratart[] = - " .---.\n (\\./) \\.......-\n >' '< (__.'\"\"\"\"\"\"\n \" ` \" \"_"; +#ifndef rat_h +#define rat_h - char *messages[] = { - "squeak!", - "squeak! !", - "squeak", - "squeak...", - "SQUEAK", - "SQUEAK!!", - "SQUEAAAKKKKK", - }; +typedef struct { + float hunger; + float love; + float fun; + float clean; + float health; + int age; +} Rat; - struct{ - float hunger; - float love; - float fun; - float clean; - float health; - int age; +extern char ratart[]; +extern char *messages[]; +extern Rat rat; +void addstat(float *guy); - }rat; +#endif |
