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,38 @@
/*
fbmngplay - fb console MNG player.
(c) 2001 by Stefan Reinauer, <stepan :at: suse.de>
This program is based on mngplay, part of libmng, written and (C) by
Ralph Giles <giles :at: ashlu.bc.ca>
This program my be redistributed under the terms of the
GNU General Public Licence, version 2, or at your preference,
any later version.
*/
#ifndef __HOOKS_H
#define __HOOKS_H
#include "fbmngplay.h"
extern mngstuff *mng;
extern inline void mdelay(unsigned long msec);
extern mng_ptr mngalloc(mng_uint32 size);
extern void mngfree(mng_ptr p, mng_uint32 size);
extern mng_bool mngopenstream(mng_handle mng);
extern mng_bool mngclosestream(mng_handle mng);
extern mng_bool mngreadstream( mng_handle mng, mng_ptr buffer, mng_uint32 size, mng_uint32 * bytesread);
extern mng_bool mngprocessheader( mng_handle mng, mng_uint32 width, mng_uint32 height);
extern mng_ptr mnggetcanvasline(mng_handle mng, mng_uint32 line);
extern mng_uint32 mnggetticks(mng_handle mng);
extern mng_bool mngrefresh(mng_handle mng, mng_uint32 x, mng_uint32 y, mng_uint32 w, mng_uint32 h);
extern mng_bool mngsettimer(mng_handle mng, mng_uint32 msecs);
extern mng_bool mngerror(mng_handle mng, mng_int32 code, mng_int8 severity,
mng_chunkid chunktype, mng_uint32 chunkseq,
mng_int32 extra1, mng_int32 extra2, mng_pchar text);
extern int mngquit(mng_handle mng);
extern void cleanup(void);
extern void restore_area(void);
#endif