Skip to content
Snippets Groups Projects
chunk_info.h 386 B
#ifndef _CHUNK_INFO_H_
#define _CHUNK_INFO_H_

typedef struct chunk_info {
    void *data;
    int dimensions[2];
    int count;
    int y;
    int x;
} chunk_info_t;

extern void chunk_info_init(chunk_info_t *ci, int type, const int dimensions[2], int y, int x);

extern void chunk_info_print(chunk_info_t *ci);

extern void chunk_info_free(chunk_info_t *ci);

#endif //_CHUNK_INFO_H_