2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
typedef std::map<std::string, int> StringToIntegerDictionary;
|
|
|
|
typedef std::pair<std::string, int> StringToIntegerPair;
|
|
|
|
struct sImageTGA;
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
class CCTileMapAtlas : public CCAtlasNode
|
|
|
|
{
|
|
|
|
struct sImageTGA* getTGAInfo();
|
|
|
|
void setTGAInfo(struct sImageTGA* val);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
void setTile(ccColor3B tile, ccGridSize position);
|
|
|
|
void releaseMap();
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2011-11-09 23:23:47 +08:00
|
|
|
static CCTileMapAtlas * tileMapAtlasWithTileFile(const char *tile, const char *mapFile, int tileWidth, int tileHeight);
|
|
|
|
};
|