#include <spritelib/sprite.h>
#include "screen.h"
Include dependency graph for bouncy.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Bouncy |
| Slightly modified Sprite. More... | |
Defines | |
| #define | BOUNCY_VELOCITY 300 |
| Velocity in thousandths-of-pixel per millisecond. | |
Functions | |
| Sfxp | v1_final (int m1, int m2, Sfxp v1, Sfxp v2) |
| The famous elastic-collision equation, pt 1. | |
| Sfxp | v2_final (int m1, int m2, Sfxp v1, Sfxp v2) |
| The famous elastic-collision equation, pt 2. | |
| void | ElasticCollide2 (Sprite *spr1, Sprite *spr2) |
| Calculates true elastic collisions between two sprites. | |
| void | MoveApart (Sprite *spr1, Sprite *spr2) |
| Moves two sprites apart from each other, if they're colliding. | |
Definition in file bouncy.h.
1.3.4