1 //=============================================================================
2 //
3 // Adventure Game Studio (AGS)
4 //
5 // Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
6 // The full list of copyright holders can be found in the Copyright.txt
7 // file, which is part of this source code distribution.
8 //
9 // The AGS source code is provided under the Artistic License 2.0.
10 // A copy of this license can be found in the file License.txt and at
11 // http://www.opensource.org/licenses/artistic-license-2.0.php
12 //
13 //=============================================================================
14 //
15 //
16 //
17 //=============================================================================
18 #ifndef __AGS_EE_AC__WALKABLEAREA_H
19 #define __AGS_EE_AC__WALKABLEAREA_H
20 
21 void  redo_walkable_areas();
22 int   get_walkable_area_pixel(int x, int y);
23 int   get_area_scaling (int onarea, int xx, int yy);
24 void  scale_sprite_size(int sppic, int zoom_level, int *newwidth, int *newheight);
25 void  remove_walkable_areas_from_temp(int fromx, int cwidth, int starty, int endy);
26 int   is_point_in_rect(int x, int y, int left, int top, int right, int bottom);
27 Common::Bitmap *prepare_walkable_areas (int sourceChar);
28 int   get_walkable_area_at_location(int xx, int yy);
29 int   get_walkable_area_at_character (int charnum);
30 
31 #endif // __AGS_EE_AC__WALKABLEAREA_H
32