-struct voxscape *vox_create(int xsz, int ysz, uint8_t *himg, uint8_t *cimg);
-void vox_free(struct voxscape *vox);
-
-/* data argument can be null */
-uint8_t *vox_texture(struct voxscape *vox, uint8_t *data);
-uint8_t *vox_heightmap(struct voxscape *vox, uint8_t *data);
-
-void vox_fog(struct voxscape *vox, int zstart, uint8_t color);
-int vox_height(struct voxscape *vox, int32_t x, int32_t y);
-
-void vox_filter(struct voxscape *vox, int hfilt, int cfilt);
+int vox_init(int xsz, int ysz, uint8_t *himg, uint8_t *cimg);
+void vox_destroy(void);