LibTMJ  1.0.0
A library for loading JSON Tiled maps
Data Fields
Tileset Struct Reference

https://doc.mapeditor.org/en/stable/reference/json-map-format/#tileset More...

#include <tmj.h>

Collaboration diagram for Tileset:
Collaboration graph
[legend]

Data Fields

json_t * root
 The root object returned by jansson after parsing. More...
 
char * backgroundcolor
 
char * class
 
char * fillmode
 
char * image
 
char * name
 
char * objectalignment
 
char * source
 
char * tiledversion
 
char * tilerendersize
 
char * transparentcolor
 
char * type
 
char * version
 
int columns
 
int firstgid
 
int imageheight
 
int imagewidth
 
int margin
 
int spacing
 
int tilecount
 
int tileheight
 
int tilewidth
 
size_t property_count
 
Propertyproperties
 
size_t terrain_count
 
Terrainterrains
 
size_t tile_count
 
Tiletiles
 
size_t wang_set_count
 
WangSetwangsets
 
Gridgrid
 
TileOffsettileoffset
 
Transformationstransformations
 

Detailed Description

https://doc.mapeditor.org/en/stable/reference/json-map-format/#tileset

Note that for sheets, tiles are numbered left-to-right, top-to-bottom

Definition at line 303 of file tmj.h.

Field Documentation

◆ root

json_t* Tileset::root

The root object returned by jansson after parsing.

This field is internal state and should not be tampered with.

Definition at line 308 of file tmj.h.

◆ backgroundcolor

char* Tileset::backgroundcolor

Definition at line 310 of file tmj.h.

◆ class

char* Tileset::class

Definition at line 311 of file tmj.h.

◆ fillmode

char* Tileset::fillmode

Definition at line 312 of file tmj.h.

◆ image

char* Tileset::image

Definition at line 313 of file tmj.h.

◆ name

char* Tileset::name

Definition at line 314 of file tmj.h.

◆ objectalignment

char* Tileset::objectalignment

Definition at line 315 of file tmj.h.

◆ source

char* Tileset::source

Definition at line 316 of file tmj.h.

◆ tiledversion

char* Tileset::tiledversion

Definition at line 317 of file tmj.h.

◆ tilerendersize

char* Tileset::tilerendersize

Definition at line 318 of file tmj.h.

◆ transparentcolor

char* Tileset::transparentcolor

Definition at line 319 of file tmj.h.

◆ type

char* Tileset::type

Definition at line 320 of file tmj.h.

◆ version

char* Tileset::version

Definition at line 321 of file tmj.h.

◆ columns

int Tileset::columns

Definition at line 323 of file tmj.h.

◆ firstgid

int Tileset::firstgid

Definition at line 324 of file tmj.h.

◆ imageheight

int Tileset::imageheight

Definition at line 325 of file tmj.h.

◆ imagewidth

int Tileset::imagewidth

Definition at line 326 of file tmj.h.

◆ margin

int Tileset::margin

Definition at line 327 of file tmj.h.

◆ spacing

int Tileset::spacing

Definition at line 328 of file tmj.h.

◆ tilecount

int Tileset::tilecount

Definition at line 329 of file tmj.h.

◆ tileheight

int Tileset::tileheight

Definition at line 330 of file tmj.h.

◆ tilewidth

int Tileset::tilewidth

Definition at line 331 of file tmj.h.

◆ property_count

size_t Tileset::property_count

Definition at line 333 of file tmj.h.

◆ properties

Property* Tileset::properties

Definition at line 334 of file tmj.h.

◆ terrain_count

size_t Tileset::terrain_count

Definition at line 336 of file tmj.h.

◆ terrains

Terrain* Tileset::terrains

Definition at line 337 of file tmj.h.

◆ tile_count

size_t Tileset::tile_count

Definition at line 339 of file tmj.h.

◆ tiles

Tile* Tileset::tiles

Definition at line 340 of file tmj.h.

◆ wang_set_count

size_t Tileset::wang_set_count

Definition at line 342 of file tmj.h.

◆ wangsets

WangSet* Tileset::wangsets

Definition at line 343 of file tmj.h.

◆ grid

Grid* Tileset::grid

Definition at line 345 of file tmj.h.

◆ tileoffset

TileOffset* Tileset::tileoffset

Definition at line 347 of file tmj.h.

◆ transformations

Transformations* Tileset::transformations

Definition at line 349 of file tmj.h.


The documentation for this struct was generated from the following file: