Store user data in $HOME
[kball.git] / include / sphermap.h
blobea58b751c0b3bbabd5442b4e18bc349e26ba8150
1 // -----------------------------------------------------------------------
2 // sphermap.h
3 // -----------------------------------------------------------------------
4 // Code to render a sphere
5 // From Pixelate #11, article written by Martijn 'amarillion' van Iersel
6 // -----------------------------------------------------------------------
7 // Modified by Kronoman to suit the needs of the game.
8 // -----------------------------------------------------------------------
10 #ifndef SPHERMAP_H
12 #include <allegro.h>
14 // awful hack to use fixed, seems that my compiler don't like fixed type data :P
15 #ifndef fixed
16 #warning Awful hack in sphermap.h - please remember to check it =)
17 #define fixed long int
18 #endif
20 void get_planet_rotation_matrix (MATRIX *, fixed , fixed , fixed );
21 void mapped_sphere_ex (BITMAP *target, int cx, int cy, int r, BITMAP *map, MATRIX *rotmat);
23 #endif