#include <tileset.h>
Collaboration diagram for hoa_editor::Tileset:

Public Member Functions | |
| void | Save () |
| Tileset (QWidget *parent, const QString &name) | |
| Tileset constructor. Name needs to be the name of the tileset, not the filename. | |
| ~Tileset () | |
| Tileset destructor. | |
Public Attributes | |
| Q3Table * | table |
| Reference to the table implementation of this tileset in the bottom of the editor. | |
| std::vector< hoa_video::StillImage > | tiles |
| Contains the StillImage tiles of the tileset, used in grid.cpp. | |
| QString | tileset_name |
| The name of the tileset this table is representing. | |
| std::map< int, std::vector< int32 > > | walkability |
| Contains walkability information for each tile. | |
Private Attributes | |
| std::vector< std::vector< AnimatedTileData > > | _animated_tiles |
****************************************************************************
Definition at line 48 of file tileset.h.
| Tileset::Tileset | ( | QWidget * | parent, | |
| const QString & | name | |||
| ) |
Tileset constructor. Name needs to be the name of the tileset, not the filename.
Definition at line 24 of file tileset.cpp.
References _animated_tiles, hoa_script::ReadScriptDescriptor::CloseTable(), hoa_script::ReadScriptDescriptor::GetTableSize(), hoa_script::ScriptDescriptor::IsErrorDetected(), hoa_video::GameVideo::LoadMultiImageFromNumberElements(), hoa_script::ReadScriptDescriptor::OpenFile(), hoa_script::ReadScriptDescriptor::OpenTable(), hoa_script::ReadScriptDescriptor::ReadIntVector(), hoa_script::ReadScriptDescriptor::ReadUInt(), table, hoa_editor::TILE_HEIGHT, hoa_editor::AnimatedTileData::tile_id, hoa_editor::TILE_WIDTH, tiles, tileset_name, hoa_editor::AnimatedTileData::time, hoa_video::VideoManager, and walkability.
Here is the call graph for this function:

| Tileset::~Tileset | ( | ) |
| void Tileset::Save | ( | ) |
std::vector<std::vector<AnimatedTileData> > hoa_editor::Tileset::_animated_tiles [private] |
| Q3Table* hoa_editor::Tileset::table |
Reference to the table implementation of this tileset in the bottom of the editor.
Definition at line 65 of file tileset.h.
Referenced by Save(), Tileset(), and ~Tileset().
| std::vector<hoa_video::StillImage> hoa_editor::Tileset::tiles |
| std::map<int, std::vector<int32> > hoa_editor::Tileset::walkability |
1.5.1