map_editor::map_editor::buffer_item Struct Reference

An item in the buffer. More...

Collaboration diagram for map_editor::map_editor::buffer_item:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 buffer_item (const gamemap::location &o, t_translation::t_terrain t, int start_side)

Public Attributes

gamemap::location offset
t_translation::t_terrain terrain
int starting_side


Detailed Description

An item in the buffer.

Consists of the copied terrain and an offset. When pasting stuff, the offset is used to calculate where to put the pasted hex

Definition at line 283 of file editor.hpp.


Constructor & Destructor Documentation

map_editor::map_editor::buffer_item::buffer_item ( const gamemap::location o,
t_translation::t_terrain  t,
int  start_side 
) [inline]

Definition at line 284 of file editor.hpp.


Member Data Documentation

Definition at line 286 of file editor.hpp.

Definition at line 287 of file editor.hpp.

Definition at line 288 of file editor.hpp.


The documentation for this struct was generated from the following file:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs