4 // Copyright (C) 2000 Bill Kendrick <bill@newbreedsoftware.com>
5 // Copyright (C) 2004 Tobias Glaesser <tobi.web@gmx.de>
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 #ifndef SUPERTUX_GAMEOBJS_H
23 #define SUPERTUX_GAMEOBJS_H
30 /* Bounciness of distros: */
39 void init(float x, float y);
40 void action(double frame_ratio);
44 extern Surface* img_distro[4];
46 #define BOUNCY_BRICK_MAX_OFFSET 8
47 #define BOUNCY_BRICK_SPEED 0.9
58 void init(Tile* tile, float x, float y, float xm, float ym);
59 void action(double frame_ratio);
71 void init(float x, float y);
72 void action(double frame_ratio);
83 void init(float x, float y, int s);
84 void action(double frame_ratio);
90 /* Local Variables: */