Microsoft-3D-Movie-Maker/BREN/INC/FMTPROTO.H
2022-05-03 16:31:19 -07:00

61 lines
1.3 KiB
C

/*
* Copyright (c) 1993-1995 by Argonaut Technologies Limited. All rights reserved.
*
* $Id: fmtproto.h 1.8 1995/05/30 16:57:38 sam Exp $
* $Locker: $
*
* Function prototypes for foreign file format support
*/
#ifndef _FMTPROTO_H_
#define _FMTPROTO_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Eric Haines' NFF format
*/
br_model * BR_PUBLIC_ENTRY BrFmtNFFLoad(char *name);
/*
* 3D Studio .ASC files
*/
br_uint_32 BR_PUBLIC_ENTRY BrFmtASCLoad(char *name, br_model **mtable, br_uint_16 max_models);
/*
* Script files
*/
br_uint_32 BR_PUBLIC_ENTRY BrFmtScriptMaterialLoadMany(char *filename,br_material **materials,br_uint_16 num);
br_material * BR_PUBLIC_ENTRY BrFmtScriptMaterialLoad(char *filename);
br_uint_32 BR_PUBLIC_ENTRY BrFmtScriptMaterialSaveMany(char *filename,br_material **materials,br_uint_16 num);
br_uint_32 BR_PUBLIC_ENTRY BrFmtScriptMaterialSave(char *filename, br_material *ptr);
/*
* Windows .BMP files
*/
br_pixelmap * BR_PUBLIC_ENTRY BrFmtBMPLoad(char *name,br_uint_32 flags);
/*
* .TGA files
*/
br_pixelmap * BR_PUBLIC_ENTRY BrFmtTGALoad(char *name,br_uint_32 flags);
/*
* .GIF files
*/
br_pixelmap * BR_PUBLIC_ENTRY BrFmtGIFLoad(char *name,br_uint_32 flags);
/*
* .IFF/.LBM files
*/
br_pixelmap * BR_PUBLIC_ENTRY BrFmtIFFLoad(char *name,br_uint_32 flags);
#ifdef __cplusplus
};
#endif
#endif