mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 19:24:09 +02:00
Add DevIL 1.7.8.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// ImageLib Sources
|
||||
// Copyright (C) 2000-2002 by Denton Woods
|
||||
// Last modified: 05/25/2001 <--Y2K Compliant! =]
|
||||
//
|
||||
// Filename: src-IL/include/il_register.h
|
||||
//
|
||||
// Description: Allows the caller to specify user-defined callback functions
|
||||
// to open files DevIL does not support, to parse files
|
||||
// differently, or anything else a person can think up.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#ifndef REGISTER_H
|
||||
#define REGISTER_H
|
||||
|
||||
#include "il_internal.h"
|
||||
|
||||
typedef struct iFormatL
|
||||
{
|
||||
ILstring Ext;
|
||||
IL_LOADPROC Load;
|
||||
struct iFormatL *Next;
|
||||
} iFormatL;
|
||||
|
||||
typedef struct iFormatS
|
||||
{
|
||||
ILstring Ext;
|
||||
IL_SAVEPROC Save;
|
||||
struct iFormatS *Next;
|
||||
} iFormatS;
|
||||
|
||||
#define I_LOAD_FUNC 0
|
||||
#define I_SAVE_FUNC 1
|
||||
|
||||
ILboolean iRegisterLoad(ILconst_string FileName);
|
||||
ILboolean iRegisterSave(ILconst_string FileName);
|
||||
|
||||
#endif//REGISTER_H
|
||||
Reference in New Issue
Block a user