Tileson  1.3.0
A helpful json parser for Tiled maps
Namespaces | Enumerations
Enums.hpp File Reference
#include <cstdint>
#include "EnumBitflags.hpp"

Go to the source code of this file.

Namespaces

 tson
 

Enumerations

enum class  tson::Type : uint8_t {
  tson::Undefined = 0 , tson::Color = 1 , tson::File = 2 , tson::Int = 3 ,
  tson::Boolean = 4 , tson::Float = 5 , tson::String = 6
}
 
enum class  tson::LayerType : uint8_t {
  tson::Undefined = 0 , tson::TileLayer = 1 , tson::ObjectGroup = 2 , tson::ImageLayer = 3 ,
  tson::Group = 4
}
 
enum class  tson::ParseStatus : uint8_t {
  tson::OK = 0 , tson::FileNotFound = 1 , tson::ParseError = 2 , tson::MissingData = 3 ,
  tson::DecompressionError = 4
}
 
enum class  tson::ObjectType : uint8_t {
  tson::Undefined = 0 , tson::Object = 1 , tson::Ellipse = 2 , tson::Rectangle = 3 ,
  tson::Point = 4 , tson::Polygon = 5 , tson::Polyline = 6 , tson::Text = 7 ,
  tson::Template = 8
}
 
enum class  tson::TileFlipFlags : uint32_t { tson::None = 0 , tson::Diagonally = FLIPPED_DIAGONALLY_FLAG , tson::Vertically = FLIPPED_VERTICALLY_FLAG , tson::Horizontally = FLIPPED_HORIZONTALLY_FLAG }
 
enum class  tson::ObjectAlignment : uint8_t {
  tson::Unspecified = 0 , tson::TopLeft = 1 , tson::Top = 2 , tson::TopRight = 3 ,
  tson::Left = 4 , tson::Center = 5 , tson::Right = 6 , tson::BottomLeft = 7 ,
  tson::Bottom = 8 , tson::BottomRight = 9
}