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