map_image.hh 1.0 KB

123456789101112131415161718192021
  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. // creates an image of the projected map closest to the dimentions specified
  9. // the aspect ratio of the map is 1x1
  10. class i4_image_class;
  11. class i4_rect_list_class;
  12. class g1_path_object_class;
  13. void g1_calc_map_area(int max_width, int max_height, int &x1, int &y1, int &x2, int &y2);
  14. i4_image_class *g1_create_map_image(int max_width, int max_height, i4_bool interlace=i4_F);
  15. void g1_draw_takeover_spots(i4_image_class *im);
  16. void g1_draw_paths(i4_image_class *im, i4_rect_list_class *list);
  17. void g1_draw_strategy_border(i4_image_class *im);