Tileson 1.4.0
A helpful json parser for Tiled maps
Loading...
Searching...
No Matches
Namespaces | Enumerations
Enums.hpp File Reference
#include <cstdint>
#include "EnumBitflags.hpp"

Go to the source code of this file.

Namespaces

namespace  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 , tson::Class = 7 ,
  tson::Enum = 8 , tson::Object = 9
}
 
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
}
 
enum class  tson::TextAlignment : uint8_t {
  tson::Unresolved = 0 , tson::Left = 1 , tson::Center = 2 , tson::Right = 3 ,
  tson::Justify = 4 , tson::Top = 5 , tson::Bottom = 6
}
 
enum class  tson::TileRenderSize : uint8_t { tson::Undefined = 0 , tson::Tile = 1 , tson::Grid = 2 }
 
enum class  tson::FillMode : uint8_t { tson::Undefined = 0 , tson::Stretch = 1 , tson::PreserveAspectFit = 2 }
 
enum class  tson::EnumStorageType : uint8_t { tson::Unspecified = 0 , tson::Int = 1 , tson::String = 2 }