Mercurial > mplayer.hg
view Gui/bitmap/tga/tga.h @ 6356:b54d7fd6471a
This script has no bash specific stuff, it's all standard bourne shell, so execute with sh.
Also see mail from Michaela.
author | atmos4 |
---|---|
date | Sun, 09 Jun 2002 14:48:16 +0000 |
parents | dee4b2ea5e5b |
children |
line wrap: on
line source
#ifndef _MYTGA #define _MYTGA #include "../bitmap.h" typedef struct { char tmp[12]; unsigned short sx; unsigned short sy; unsigned char depth; unsigned char ctmp; } tgaHeadert; extern int tgaRead( char * filename,txSample * bf ); extern void tgaWriteBuffer( char * fname,unsigned char * Buffer,int sx,int sy,int BPP ); extern void tgaWriteTexture( char * filename,txSample * bf ); #endif