summaryrefslogtreecommitdiffstats
path: root/mufhd0/water/water.h
diff options
context:
space:
mode:
Diffstat (limited to 'mufhd0/water/water.h')
-rw-r--r--mufhd0/water/water.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/mufhd0/water/water.h b/mufhd0/water/water.h
new file mode 100644
index 0000000..5af003a
--- /dev/null
+++ b/mufhd0/water/water.h
@@ -0,0 +1,25 @@
+#ifndef WATER_H
+#define WATER_H
+
+#include "fixsin.h"
+
+#define WATERWID 768
+#define WATERHGT 768
+
+/* water physics */
+#define WATER 1
+#define JELLY 2
+#define SLUDGE 3
+#define SUPER_SLUDGE 4
+
+SDL_Surface *water_init(char *imagefile, SDL_Surface *screen);
+void water_clear();
+void water_distort();
+void water_setphysics(int physics);
+void water_update();
+void water_drop(int x, int y);
+void water_bigsplash(int x, int y);
+void water_surfer();
+void water_swirl();
+
+#endif