~ubuntu-branches/ubuntu/maverick/lordsawar/maverick

« back to all changes in this revision

Viewing changes to src/historymap.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2010-04-10 09:29:33 UTC
  • mfrom: (1.1.9 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100410092933-23uq4dxig30kmtcw
Tags: 0.1.8-1
* New upstream release.
* Add misc:Depends for -data package.
* Bump Standards Version to 3.8.4. (No changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "LocationList.h"
27
27
 
28
28
class City;
29
 
//! Draw the given cities on the map.
 
29
class Ruin;
 
30
//! Draw the given cities and ruins on the map.
30
31
/** 
31
 
 * Draw a set of cities onto the miniature map graphic.
 
32
 * Draw a set of cities and ruins onto the miniature map graphic.
32
33
 *
33
34
 * @note This is called HistoryMap because it is used for the HistoryDialog.
34
35
 *
40
41
     /**
41
42
      * @param clist  The list of the City objects to draw on the miniature map.
42
43
      */
43
 
     HistoryMap(LocationList<City*> *clist);
 
44
     HistoryMap(LocationList<City*> *clist, LocationList<Ruin*> *rlist);
44
45
 
45
46
     //! Emitted when the cities are finished being drawn on the map surface.
46
47
     /**
55
56
      *
56
57
      * @param clist  The new list of City objects to draw onto the miniature
57
58
      *               map graphic.
 
59
      * @param rlist  The new list of Ruin objects to draw onto the miniature
 
60
      *               map graphic.
58
61
      */
59
 
     void updateCities (LocationList<City*> *clist);
 
62
     void updateCities (LocationList<City*> *clist, LocationList<Ruin*> *rlist);
60
63
 
61
64
 private:
62
65
 
63
66
     //! The set of city objects to show on the miniature map graphic.
64
67
     LocationList<City*> *d_clist;
65
68
 
 
69
     //! The set of ruin objects to show on the miniature map graphic.
 
70
     LocationList<Ruin*> *d_rlist;
 
71
 
66
72
     //! Draw the City objects onto the miniature map graphic.
67
73
     /**
68
74
      * This method is automatically called by the HistoryMap::draw method.
78
84
      * City objects of Citylist, and not the set of cities defined here.
79
85
      */
80
86
     void drawCities ();
 
87
 
 
88
     //! Draw the ruins.
 
89
     void drawRuins();
81
90
};
82
91
 
83
92
#endif