Niotso
git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
|
Macros | |
#define | read_uint32(x) (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1)) | ((x)[2]<<(8*2)) | ((x)[3]<<(8*3))) |
#define | read_uint16(x) (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1))) |
Functions | |
int | tga_read_header (tgaheader_t *TGAHeader, const uint8_t *Buffer, size_t FileSize) |
#define read_uint16 | ( | x) | (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1))) |
#define read_uint32 | ( | x) | (unsigned)(((x)[0]<<(8*0)) | ((x)[1]<<(8*1)) | ((x)[2]<<(8*2)) | ((x)[3]<<(8*3))) |
int tga_read_header | ( | tgaheader_t * | TGAHeader, |
const uint8_t * | Buffer, | ||
size_t | FileSize | ||
) |