~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/editor/editorbigmap.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <sigc++/trackable.h>
25
25
#include <sigc++/connection.h>
26
26
 
27
 
#include "../vector.h"
28
 
#include "../input-events.h"
29
 
#include "../bigmap.h"
30
 
#include "../Tile.h"
 
27
#include "vector.h"
 
28
#include "input-events.h"
 
29
#include "bigmap.h"
 
30
#include "Tile.h"
31
31
 
32
32
class Stack;
33
33
class MapRenderer;
58
58
    void mouse_motion_event(MouseMotionEvent e);
59
59
    void mouse_leave_event();
60
60
 
 
61
    void toggleViewStylesOrTypes() { show_tile_types_instead_of_tile_styles = 
 
62
      !show_tile_types_instead_of_tile_styles;};
61
63
    // something was selected
62
64
    typedef std::vector<UniquelyIdentified *> map_selection_seq;
63
65
    sigc::signal<void, map_selection_seq> objects_selected;
87
89
    int tile_to_bridge_type(Vector<int> tile);
88
90
    void change_map_under_cursor();
89
91
    std::vector<Vector<int> > get_cursor_tiles();
90
 
    int calculateRoadType (Vector<int> t);
 
92
    std::vector<Vector<int> > get_screen_tiles();
 
93
    bool show_tile_types_instead_of_tile_styles;
91
94
};
92
95
 
93
96
#endif