source: golgotha/src/golg/map_image.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 14 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
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href=""> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6 (Subject should have "GOLG" in it)
9// creates an image of the projected map closest to the dimentions specified
10// the aspect ratio of the map is 1x1
12class i4_image_class;
13class i4_rect_list_class;
14class g1_path_object_class;
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.