2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef TGA_P_H
|
|
|
|
#define TGA_P_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
void img_read_tga_info(const wchar_t *filename, int *w, int *h);
|
|
|
|
void *img_read_tga(const wchar_t *filename, int *w, int *h);
|
|
|
|
int img_write_tga(const wchar_t *fname, void *buffer, int w, int h);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|