1 /**
2  * Header for FreeDink-specific code (not FreeDinkedit)
3 
4  * Copyright (C) 2005, 2007, 2008, 2009, 2010, 2012  Sylvain Beucler
5 
6  * This file is part of GNU FreeDink
7 
8  * GNU FreeDink is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 3 of the
11  * License, or (at your option) any later version.
12 
13  * GNU FreeDink is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17 
18  * You should have received a copy of the GNU General Public License
19  * along with this program.  If not, see
20  * <http://www.gnu.org/licenses/>.
21  */
22 
23 /**
24  * I made this header because I though update_frame had to be compiled
25  * separately - actually it was also included in dink.cpp. Might still
26  * come in handy.
27  */
28 
29 #ifndef _FREEDINK_H
30 #define _FREEDINK_H
31 
32 #include "SDL.h"
33 
34 extern void CyclePalette();
35 extern void Scrawl_OnMouseInput(void);
36 extern void button_brain(int h );
37 extern void bounce_brain(int h);
38 extern int check_if_move_is_legal(int u);
39 extern void check_joystick(void);
40 extern void did_player_cross_screen(/*bool*/int real, int h);
41 extern void dragon_brain(int h);
42 extern void drawscreenlock( void );
43 extern void flip_it(void);
44 extern void get_last_sprite(void);
45 extern void human_brain(int h);
46 extern /*bool*/int in_this_base(int seq, int base);
47 extern int initFail(char mess[200]);
48 extern void missile_brain( int h, /*bool*/int repeat);
49 extern void missile_brain_expire(int h);
50 extern void mouse_brain(int h);
51 extern void process_item( void );
52 extern void process_show_bmp( void );
53 extern void process_talk();
54 extern void process_warp_man(void);
55 extern void no_brain(int h);
56 extern void one_time_brain(int h);
57 extern void one_time_brain_for_real(int h);
58 extern void people_brain(int h);
59 extern void pig_brain(int h);
60 extern void pill_brain(int h);
61 extern void repeat_brain(int h);
62 extern void run_through_tag_list(int h, int strength);
63 extern /*bool*/int run_through_tag_list_talk(int h);
64 extern void run_through_touch_damage_list(int h);
65 extern void scale_brain(int h);
66 extern void shadow_brain(int h);
67 extern int special_block(int block);
68 extern void text_brain(int h);
69 /* extern void text_draw(int h, HDC hdc); */
70 extern void text_draw(int h);
71 extern /*bool*/int transition(void);
72 extern void up_cycle(void);
73 
74 #endif
75