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__HOTSPOT_H
19 #define __AGS_EE_AC__HOTSPOT_H
20 
21 #include "ac/dynobj/scripthotspot.h"
22 
23 void    Hotspot_SetEnabled(ScriptHotspot *hss, int newval);
24 int     Hotspot_GetEnabled(ScriptHotspot *hss);
25 int     Hotspot_GetID(ScriptHotspot *hss);
26 ScriptHotspot *GetHotspotAtLocation(int xx, int yy);
27 int     Hotspot_GetWalkToX(ScriptHotspot *hss);;
28 int     Hotspot_GetWalkToY(ScriptHotspot *hss);
29 void    Hotspot_GetName(ScriptHotspot *hss, char *buffer);
30 const char* Hotspot_GetName_New(ScriptHotspot *hss);
31 bool    Hotspot_IsInteractionAvailable(ScriptHotspot *hhot, int mood);
32 void    Hotspot_RunInteraction (ScriptHotspot *hss, int mood);
33 
34 int     Hotspot_GetProperty (ScriptHotspot *hss, const char *property);
35 void    Hotspot_GetPropertyText (ScriptHotspot *hss, const char *property, char *bufer);
36 const char* Hotspot_GetTextProperty(ScriptHotspot *hss, const char *property);
37 
38 int     get_hotspot_at(int xpp,int ypp);
39 
40 #endif // __AGS_EE_AC__HOTSPOT_H
41