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

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

#include <tmj.h>

Data Fields

int height
 
int width
 
int x
 
int y
 
bool data_is_str
 
size_t data_count
 
union {
   char *   data_str
 
   unsigned int *   data_uint
 
}; 
 

Detailed Description

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

Definition at line 43 of file tmj.h.

Field Documentation

◆ height

int Chunk::height

Definition at line 44 of file tmj.h.

◆ width

int Chunk::width

Definition at line 45 of file tmj.h.

◆ x

int Chunk::x

Definition at line 46 of file tmj.h.

◆ y

int Chunk::y

Definition at line 47 of file tmj.h.

◆ data_is_str

bool Chunk::data_is_str

Definition at line 49 of file tmj.h.

◆ data_count

size_t Chunk::data_count

Definition at line 50 of file tmj.h.

◆ data_str

char* Chunk::data_str

Definition at line 53 of file tmj.h.

◆ data_uint

unsigned int* Chunk::data_uint

Definition at line 54 of file tmj.h.

◆ 

union { ... }

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