1 // -----------------------------------------------------------------------
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 // -----------------------------------------------------------------------
14 // awful hack to use fixed, seems that my compiler don't like fixed type data :P
16 #warning Awful hack in sphermap.h - please remember to check it =)
17 #define fixed long int
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
);