added dependencies and build files (loosely inspired by Sebastian Dorda's love-native-android)

This commit is contained in:
Martin Felis
2013-12-05 17:58:37 +01:00
parent 9604528a96
commit 95a086a47f
3700 changed files with 1691119 additions and 0 deletions
@@ -0,0 +1,39 @@
//---------------------------------------------------------------------------
#include <vcl.h>
#include "Main.h"
#include "libmng.h"
#pragma hdrstop
#ifndef CallbackH
#define CallbackH
//---------------------------------------------------------------------------
extern mng_ptr __stdcall myalloc( mng_size_t iSize );
//---------------------------------------------------------------------------
extern void __stdcall myfree( mng_ptr pPtr, mng_size_t iSize );
//---------------------------------------------------------------------------
extern mng_bool __stdcall myreaddata( mng_handle hMNG,
mng_ptr pBuf,
mng_uint32 iSize,
mng_uint32 *iRead );
//---------------------------------------------------------------------------
extern mng_bool __stdcall ProcessHeader( mng_handle hHandle,
mng_uint32 iWidth,
mng_uint32 iHeight );
//---------------------------------------------------------------------------
extern mng_bool __stdcall myopenstream( mng_handle hMNG );
//---------------------------------------------------------------------------
extern mng_bool __stdcall myclosestream( mng_handle hMNG );
//---------------------------------------------------------------------------
extern mng_bool __stdcall myiterchunk ( mng_handle hMNG,
mng_handle hChunk,
mng_chunkid iChunktype,
mng_uint32 iChunkseq );
//---------------------------------------------------------------------------
extern mng_bool __stdcall mytraceproc( mng_handle hHandle,
mng_int32 iFuncnr,
mng_int32 iFuncseq,
mng_pchar zFuncname );
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#endif