| 1 |
/** |
| 2 |
* Dink.ini - loading graphics |
| 3 |
|
| 4 |
* Copyright (C) 1997, 1998, 1999, 2002, 2003 Seth A. Robinson |
| 5 |
* Copyright (C) 2008, 2009, 2010, 2015 Sylvain Beucler |
| 6 |
|
| 7 |
* This file is part of GNU FreeDink |
| 8 |
|
| 9 |
* GNU FreeDink is free software; you can redistribute it and/or |
| 10 |
* modify it under the terms of the GNU General Public License as |
| 11 |
* published by the Free Software Foundation; either version 3 of the |
| 12 |
* License, or (at your option) any later version. |
| 13 |
|
| 14 |
* GNU FreeDink is distributed in the hope that it will be useful, but |
| 15 |
* WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
* General Public License for more details. |
| 18 |
|
| 19 |
* You should have received a copy of the GNU General Public License |
| 20 |
* along with this program. If not, see |
| 21 |
* <http://www.gnu.org/licenses/>. |
| 22 |
*/ |
| 23 |
|
| 24 |
#ifndef _DINKINI_H |
| 25 |
#define _DINKINI_H |
| 26 |
|
| 27 |
#include "rect.h" |
| 28 |
|
| 29 |
enum idata_type { IDATA_EMPTY=0, IDATA_SPRITE_INFO, IDATA_FRAME_SPECIAL, |
| 30 |
IDATA_FRAME_DELAY, IDATA_FRAME_FRAME }; |
| 31 |
|
| 32 |
/* Graphics load flags */ |
| 33 |
#define DINKINI_BLACK 0x00000001 |
| 34 |
#define DINKINI_LEFTALIGN 0x00000002 |
| 35 |
#define DINKINI_NOTANIM 0x00000004 |
| 36 |
#define DINKINI_COMPAT_DIRFF 0x00000008 |
| 37 |
|
| 38 |
extern void dinkini_init(int nb_idata); |
| 39 |
extern void dinkini_quit(void); |
| 40 |
extern void load_batch(bool playmidi); |
| 41 |
|
| 42 |
extern void figure_out(char* line); |
| 43 |
|
| 44 |
extern void check_base(int base); |
| 45 |
extern void check_seq_status(int h); |
| 46 |
extern void check_frame_status(int h, int frame); |
| 47 |
|
| 48 |
#endif |