1 /*
2     XorGramana Copyright 2009 James W. Morris, james@jwm-art.net
3 
4     This file is part of XorGramana.
5 
6     XorGramana is free software: you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
10 
11     XorGramana is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with XorGramana.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef _TELEPORT_H
20 #define _TELEPORT_H
21 
22 #include "types.h"
23 #include "actions.h"
24 #include "map.h"
25 
26 enum TP_ANIM
27 {
28     TP_IN,
29     TP_OUT
30 };
31 
32 bool player_teleport(struct xor_move* pmv);
33 void player_teleport_animate(struct xor_move* pmv, enum TP_ANIM dir);
34 
35 
36 
37 #endif
38