LibTMJ 2.0.0
A library for loading JSON Tiled maps
Loading...
Searching...
No Matches
Map Struct Reference

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

#include <tmj.h>

Collaboration diagram for Map:

Data Fields

json_t * root
 The root object returned by jansson after parsing.
bool infinite
char * backgroundcolor
char * class_
char * orientation
char * renderorder
char * staggeraxis
char * staggerindex
char * tiledversion
char * type
char * version
int compressionlevel
int height
int hexsidelength
int nextlayerid
int nextobjectid
int tileheight
int tilewidth
int width
double parallaxoriginx
double parallaxoriginy
size_t layer_count
Layer * layers
size_t property_count
Property * properties
size_t tileset_count
Tileset * tilesets

Detailed Description

Field Documentation

◆ root

json_t* Map::root

The root object returned by jansson after parsing.

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

Definition at line 362 of file tmj.h.

◆ infinite

bool Map::infinite

Definition at line 364 of file tmj.h.

◆ backgroundcolor

char* Map::backgroundcolor

Definition at line 366 of file tmj.h.

◆ class_

char* Map::class_

Definition at line 367 of file tmj.h.

◆ orientation

char* Map::orientation

Definition at line 368 of file tmj.h.

◆ renderorder

char* Map::renderorder

Definition at line 369 of file tmj.h.

◆ staggeraxis

char* Map::staggeraxis

Definition at line 370 of file tmj.h.

◆ staggerindex

char* Map::staggerindex

Definition at line 371 of file tmj.h.

◆ tiledversion

char* Map::tiledversion

Definition at line 372 of file tmj.h.

◆ type

char* Map::type

Definition at line 373 of file tmj.h.

◆ version

char* Map::version

Definition at line 374 of file tmj.h.

◆ compressionlevel

int Map::compressionlevel

Definition at line 376 of file tmj.h.

◆ height

int Map::height

Definition at line 377 of file tmj.h.

◆ hexsidelength

int Map::hexsidelength

Definition at line 378 of file tmj.h.

◆ nextlayerid

int Map::nextlayerid

Definition at line 379 of file tmj.h.

◆ nextobjectid

int Map::nextobjectid

Definition at line 380 of file tmj.h.

◆ tileheight

int Map::tileheight

Definition at line 381 of file tmj.h.

◆ tilewidth

int Map::tilewidth

Definition at line 382 of file tmj.h.

◆ width

int Map::width

Definition at line 383 of file tmj.h.

◆ parallaxoriginx

double Map::parallaxoriginx

Definition at line 385 of file tmj.h.

◆ parallaxoriginy

double Map::parallaxoriginy

Definition at line 386 of file tmj.h.

◆ layer_count

size_t Map::layer_count

Definition at line 389 of file tmj.h.

◆ layers

Layer* Map::layers

Definition at line 390 of file tmj.h.

◆ property_count

size_t Map::property_count

Definition at line 392 of file tmj.h.

◆ properties

Property* Map::properties

Definition at line 393 of file tmj.h.

◆ tileset_count

size_t Map::tileset_count

Definition at line 395 of file tmj.h.

◆ tilesets

Tileset* Map::tilesets

Definition at line 396 of file tmj.h.


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