Cleanup

Cleanup functions should only ever be called immediately before the project stops running.

void CRClose()

Calls the following functions in sequence

void CRUnloadFonts()

Iterates through the list of fonts and unloads them.

void CRUnloadTilemaps()

Frees all the tilemaps memory.

void CRUnloadCharIndexAssoc()

Frees all the memory providing associations between characters and arrays.

void CRUnloadLayers()

Frees all the memory associated with layers.

void CRUnloadMasks()

Frees the memory associated with masks.