aboutsummaryrefslogtreecommitdiff
path: root/rat.h
diff options
context:
space:
mode:
authordavid <[email protected]>2026-04-30 15:02:42 -0300
committerdavid <[email protected]>2026-04-30 15:05:13 -0300
commitbe9c7f9280a2e9b50c9386c72a020b115e24a927 (patch)
tree39b01fe632844ad88f89e38f26f5ca9d1ee04cca /rat.h
parent2d61b43a7250401674bc44c7960851ec33dbcf33 (diff)
downloadpetratc-be9c7f9280a2e9b50c9386c72a020b115e24a927.tar.gz
petratc-be9c7f9280a2e9b50c9386c72a020b115e24a927.zip
moved files around
Diffstat (limited to 'rat.h')
-rw-r--r--rat.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/rat.h b/rat.h
index a3fe10f..b826e74 100644
--- a/rat.h
+++ b/rat.h
@@ -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