LibTMJ  1.0.0
A library for loading JSON Tiled maps
Functions
map.h File Reference
#include <jansson.h>
#include "tmj.h"
Include dependency graph for map.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Propertyunpack_properties (json_t *properties)
 
Objectunpack_objects (json_t *objects)
 
void free_objects (Object *objects, size_t object_count)
 Helper function to free Objects. More...
 

Function Documentation

◆ unpack_properties()

Property* unpack_properties ( json_t *  properties)

Definition at line 13 of file map.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpack_objects()

Object* unpack_objects ( json_t *  objects)

Definition at line 257 of file map.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ free_objects()

void free_objects ( Object objects,
size_t  object_count 
)

Helper function to free Objects.

May cause undefined behavior if the objects were modified by the caller of map_load().

Definition at line 423 of file map.c.

Here is the caller graph for this function: