22 #ifndef AGS_ENGINE_AC_OVERLAY_H 23 #define AGS_ENGINE_AC_OVERLAY_H 25 #include "common/std/vector.h" 26 #include "ags/shared/util/geometry.h" 27 #include "ags/engine/ac/screen_overlay.h" 28 #include "ags/engine/ac/dynobj/script_overlay.h" 40 void Overlay_Remove(ScriptOverlay *sco);
41 void Overlay_SetText(ScriptOverlay *scover,
int width,
int fontid,
int text_color,
const char *text);
42 void Overlay_SetText(ScreenOverlay &over,
int x,
int y,
int width,
int fontid,
int text_color,
const char *text);
43 int Overlay_GetX(ScriptOverlay *scover);
44 void Overlay_SetX(ScriptOverlay *scover,
int newx);
45 int Overlay_GetY(ScriptOverlay *scover);
46 void Overlay_SetY(ScriptOverlay *scover,
int newy);
47 int Overlay_GetValid(ScriptOverlay *scover);
48 ScriptOverlay *Overlay_CreateGraphical(
int x,
int y,
int slot,
bool transparent =
true,
bool clone =
false);
49 ScriptOverlay *Overlay_CreateTextual(
int x,
int y,
int width,
int font,
int colour,
const char *text);
50 ScreenOverlay *Overlay_CreateGraphicCore(
bool room_layer,
int x,
int y,
int slot,
bool transparent =
true,
bool clone =
false);
51 ScreenOverlay *Overlay_CreateTextCore(
bool room_layer,
int x,
int y,
int width,
int font,
int text_color,
52 const char *text,
int disp_type,
int allow_shrink);
54 ScreenOverlay *get_overlay(
int type);
56 Point get_overlay_position(
const ScreenOverlay &over);
57 size_t add_screen_overlay(
bool roomlayer,
int x,
int y,
int type,
int sprnum);
58 size_t add_screen_overlay(
bool roomlayer,
int x,
int y,
int type, Shared::Bitmap *piccy,
bool has_alpha);
59 size_t add_screen_overlay(
bool roomlayer,
int x,
int y,
int type, Shared::Bitmap *piccy,
int pic_offx,
int pic_offy,
bool has_alpha);
60 void remove_screen_overlay(
int type);
61 void remove_all_overlays();
64 ScriptOverlay *create_scriptoverlay(ScreenOverlay &over,
bool internal_ref =
false);
66 void restore_overlays();
Definition: achievements_tables.h:27
Definition: display_client.h:58