summaryrefslogtreecommitdiffstats
path: root/mufhd0/water.h
blob: 5af003aae93a85e8bb5c5b2f794a97a0cbccf7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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