mirror of
https://github.com/id-Software/Wolf3D-iOS.git
synced 2026-03-20 00:49:35 +01:00
Source release of Wolfenstein 3D Classic Platinum for iOS, 2.1
This commit is contained in:
55
wolf3d/wolfextractor/loaders/tga.h
Normal file
55
wolf3d/wolfextractor/loaders/tga.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
|
||||
Copyright (C) 2004 Michael Liebscher
|
||||
Copyright (C) 1997-2001 Id Software, Inc.
|
||||
Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
* tga.h: Handle Targa file format.
|
||||
*
|
||||
* Author: Michael Liebscher <johnnycanuck@users.sourceforge.net>
|
||||
* Date: 2004
|
||||
*
|
||||
* Acknowledgement:
|
||||
* Portion of this code was derived from Quake II, and was
|
||||
* originally written by id Software, Inc.
|
||||
*
|
||||
* Portion of this code was derived from The GIMP -- an image manipulation
|
||||
* program, and was originally written by Spencer Kimball and Peter Mattis.
|
||||
*/
|
||||
|
||||
/*
|
||||
Notes:
|
||||
|
||||
This module is implimented by tga.c
|
||||
*/
|
||||
|
||||
#ifndef __TGA_H__
|
||||
#define __TGA_H__
|
||||
|
||||
#include "../../../common/arch.h"
|
||||
|
||||
|
||||
extern W8 WriteTGA( const char *filename, W16 depth, W16 width, W16 height,
|
||||
void *Data, W8 upsideDown, W8 rle );
|
||||
|
||||
int LoadTGA( const char *name, W8 **pic, int *width, int *height );
|
||||
|
||||
#endif /* __TGA_H__ */
|
||||
|
||||
Reference in New Issue
Block a user