hoa_editor Namespace Reference

All calls to the editor are wrapped in this namespace. More...


Classes

struct  AnimatedTileData
class  Editor
class  EditorScrollView
class  Grid
class  MusicDialog
class  NewMapDialog
class  Tileset
 Manages individual tiles in a tileset and everything related with them, such as walkability, animations, and so on. More...

Enumerations

enum  LAYER_TYPE {
  INVALID_LAYER = -1, LOWER_LAYER = 0, MIDDLE_LAYER = 1, UPPER_LAYER = 2,
  TOTAL_LAYER = 3
}
 Different tile layers in the map. More...
enum  TILE_MODE_TYPE {
  INVALID_TILE = -1, PAINT_TILE = 0, MOVE_TILE = 1, DELETE_TILE = 2,
  TOTAL_TILE = 3
}
 Different tile editing modes follow. More...

Functions

LAYER_TYPEoperator++ (LAYER_TYPE &value, int dummy)

Variables

const int TILE_HEIGHT = 32
const int TILE_WIDTH = 32
 Width and height of a tile in pixels.


Detailed Description

All calls to the editor are wrapped in this namespace.

Enumeration Type Documentation

enum hoa_editor::LAYER_TYPE

Different tile layers in the map.

Enumerator:
INVALID_LAYER 
LOWER_LAYER 
MIDDLE_LAYER 
UPPER_LAYER 
TOTAL_LAYER 

Definition at line 35 of file grid.h.

enum hoa_editor::TILE_MODE_TYPE

Different tile editing modes follow.

Enumerator:
INVALID_TILE 
PAINT_TILE 
MOVE_TILE 
DELETE_TILE 
TOTAL_TILE 

Definition at line 58 of file editor.h.


Function Documentation

LAYER_TYPE & hoa_editor::operator++ ( LAYER_TYPE value,
int  dummy 
)

Definition at line 27 of file grid.cpp.


Variable Documentation

const int hoa_editor::TILE_HEIGHT = 32

Definition at line 42 of file tileset.h.

Referenced by hoa_editor::Editor::_FileNew(), hoa_editor::Editor::_FileResize(), hoa_editor::EditorScrollView::contentsMouseMoveEvent(), hoa_editor::EditorScrollView::contentsMousePressEvent(), hoa_editor::EditorScrollView::contentsMouseReleaseEvent(), hoa_editor::Grid::Grid(), hoa_editor::Grid::LoadMap(), hoa_editor::Grid::paintGL(), hoa_editor::EditorScrollView::Resize(), and hoa_editor::Tileset::Tileset().

const int hoa_editor::TILE_WIDTH = 32

Width and height of a tile in pixels.

Definition at line 41 of file tileset.h.

Referenced by hoa_editor::Editor::_FileNew(), hoa_editor::Editor::_FileResize(), hoa_editor::EditorScrollView::contentsMouseMoveEvent(), hoa_editor::EditorScrollView::contentsMousePressEvent(), hoa_editor::EditorScrollView::contentsMouseReleaseEvent(), hoa_editor::Grid::Grid(), hoa_editor::Grid::LoadMap(), hoa_editor::Grid::paintGL(), hoa_editor::EditorScrollView::Resize(), and hoa_editor::Tileset::Tileset().


Generated on Fri Jul 6 23:13:48 2007 for Hero of Allacrost by  doxygen 1.5.1