source: golgotha/src/golg/map_image.hh

Last change on this file was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 1.0 KB
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9// creates an image of the projected map closest to the dimentions specified
10// the aspect ratio of the map is 1x1
11
12class i4_image_class;
13class i4_rect_list_class;
14class g1_path_object_class;
15
16void g1_calc_map_area(int max_width, int max_height, int &x1, int &y1, int &x2, int &y2);
17i4_image_class *g1_create_map_image(int max_width, int max_height, i4_bool interlace=i4_F);
18void g1_draw_takeover_spots(i4_image_class *im);
19void g1_draw_paths(i4_image_class *im, i4_rect_list_class *list);
20void g1_draw_strategy_border(i4_image_class *im);
Note: See TracBrowser for help on using the repository browser.