22#ifndef GRAPHICS_HOTSPOT_RENDERER_H
23#define GRAPHICS_HOTSPOT_RENDERER_H
25#include "common/array.h"
26#include "common/rect.h"
27#include "common/ustr.h"
91 int gameWidth,
int gameHeight,
92 int overlayWidth,
int overlayHeight,
100 kBasePointRadius = 3,
101 kBaseLineThickness = 1
110 void drawCrosshairMarker(
Surface *surface,
int x,
int y,
int width,
int height,
const PixelFormat &format);
111 void drawSquareMarker(
Surface *surface,
int x,
int y,
int width,
int height,
const PixelFormat &format);
112 void drawPointMarker(
Surface *surface,
int x,
int y,
int width,
int height,
const PixelFormat &format);
114 int overlayWidth,
int overlayHeight,
const PixelFormat &format,
const Font *font);
116 int overlayWidth,
int overlayHeight,
const PixelFormat &format);
118 int overlayWidth,
int overlayHeight,
const PixelFormat &format);
120 void drawLine(
Surface *surface,
int x1,
int y1,
int x2,
int y2,
121 int width,
int height,
const PixelFormat &format,
int lineThickness);
124 int distance,
int solidSize);
Definition: hotspot_renderer.h:71
void render(Surface *surface, const Common::Array< HotspotInfo > &hotspots, int gameWidth, int gameHeight, int overlayWidth, int overlayHeight, const PixelFormat &format, MarkerShape markerShape, bool showText)
Definition: formatinfo.h:28
MarkerShape
Definition: hotspot_renderer.h:62
HotspotType
Definition: hotspot_renderer.h:38
@ kHotspotExit
Exit or door leading to another area.
Definition: hotspot_renderer.h:41
@ kHotspotObject
Interactable object.
Definition: hotspot_renderer.h:40
@ kHotspotNPC
Non-player character.
Definition: hotspot_renderer.h:42
@ kHotspotDefault
No specific type (generic / unclassified)
Definition: hotspot_renderer.h:39
Definition: hotspot_renderer.h:48
Common::U32String name
Display name.
Definition: hotspot_renderer.h:50
Common::Point position
Position in game coordinates.
Definition: hotspot_renderer.h:49
HotspotType type
Classification of the hotspot.
Definition: hotspot_renderer.h:51