22 #ifndef AGS_ENGINE_AC_HOTSPOT_H 23 #define AGS_ENGINE_AC_HOTSPOT_H 25 #include "ags/engine/ac/dynobj/script_hotspot.h" 31 bool AssertHotspot(
const char *apiname,
int hot_id);
32 void Hotspot_SetEnabled(ScriptHotspot *hss,
int newval);
33 int Hotspot_GetEnabled(ScriptHotspot *hss);
34 int Hotspot_GetID(ScriptHotspot *hss);
35 ScriptHotspot *GetHotspotAtRoom(
int x,
int y);
36 ScriptHotspot *GetHotspotAtScreen(
int xx,
int yy);
37 int Hotspot_GetWalkToX(ScriptHotspot *hss);
38 int Hotspot_GetWalkToY(ScriptHotspot *hss);
39 void Hotspot_GetName(ScriptHotspot *hss,
char *buffer);
40 const char *Hotspot_GetName_New(ScriptHotspot *hss);
41 bool Hotspot_IsInteractionAvailable(ScriptHotspot *hhot,
int mood);
42 void Hotspot_RunInteraction(ScriptHotspot *hss,
int mood);
44 int Hotspot_GetProperty(ScriptHotspot *hss,
const char *property);
45 void Hotspot_GetPropertyText(ScriptHotspot *hss,
const char *property,
char *bufer);
46 const char *Hotspot_GetTextProperty(ScriptHotspot *hss,
const char *property);
47 bool Hotspot_SetProperty(ScriptHotspot *hss,
const char *property,
int value);
48 bool Hotspot_SetTextProperty(ScriptHotspot *hss,
const char *property,
const char *value);
52 int get_hotspot_at(
int xpp,
int ypp);