X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fworld.h;h=5acc38936b556e6a1ce3e2d159684395aeb526c3;hb=f8854c02b888c8c0eff05f8fd4bfe9ec59022faa;hp=e85ccdaaaf0cfd8306648d0857f701f2c207f20b;hpb=8761e2ea313a12d7de3a1a8d2d5d7a1fcec32158;p=supertux.git diff --git a/src/world.h b/src/world.h index e85ccdaaa..5acc38936 100644 --- a/src/world.h +++ b/src/world.h @@ -16,13 +16,18 @@ #include #include "type.h" +/* Bounciness of distros: */ + +#define NO_BOUNCE 0 +#define BOUNCE 1 + typedef struct bouncy_distro_type /*It is easier to read the sources IMHO, if we don't write something like int a,b,c; */ { base_type base; } bouncy_distro_type; -texture_type img_distro[4]; +extern texture_type img_distro[4]; void bouncy_distro_init(bouncy_distro_type* pbouncy_distro, float x, float y); void bouncy_distro_action(bouncy_distro_type* pbouncy_distro);