32#define STANDARD_3D_ZOOM 40.0f
34#define EARTH_RADIUS 8192.0f
35#define MOON_RADIUS 1024.0f
36#define SUN_RADIUS 1024.0f
38void R_Draw3DGlobe(
const vec2_t pos,
const vec2_t size,
int day,
int second,
const vec3_t rotate,
float zoom,
const char* map,
bool disableSolarRender,
float ambient,
bool overlayNation,
bool overlayXVI,
bool overlayRadar,
image_t*
r_xviTexture,
image_t*
r_radarTexture,
bool renderNationGlow);
41void R_DrawFlatGeoscape(
const vec2_t nodePos,
const vec2_t nodeSize,
float p,
float cx,
float cy,
float iz,
const char* map,
bool overlayNation,
bool overlayXVI,
bool overlayRadar,
image_t*
r_dayandnightTexture,
image_t*
r_xviTexture,
image_t*
r_radarTexture);
void R_DrawFlatGeoscape(const vec2_t nodePos, const vec2_t nodeSize, float p, float cx, float cy, float iz, const char *map, bool overlayNation, bool overlayXVI, bool overlayRadar, image_t *r_dayandnightTexture, image_t *r_xviTexture, image_t *r_radarTexture)
Draw the day and night images of a flat geoscape multitexture feature is used to blend the images.
void R_Draw3DMapMarkers(const vec2_t nodePos, const vec2_t nodeSize, const vec3_t rotate, const vec2_t pos, float direction, float earthRadius, const char *model, int skin)
Draw 3D Marker on the 3D geoscape.
void R_Draw2DMapMarkers(const vec2_t screenPos, float direction, const char *model, int skin)
Draw 3D Marker on the 2D geoscape.
void R_DrawBloom(void)
handle post-processing bloom
void R_Draw3DGlobe(const vec2_t pos, const vec2_t size, int day, int second, const vec3_t rotate, float zoom, const char *map, bool disableSolarRender, float ambient, bool overlayNation, bool overlayXVI, bool overlayRadar, image_t *r_xviTexture, image_t *r_radarTexture, bool renderNationGlow)
responsible for drawing the 3d globe on geoscape param[in] rotate the rotate angle of the globe param...
image_t * r_dayandnightTexture