22#ifndef HOLLYWOOD_RUNAWAY_SCENE_DATA_H
23#define HOLLYWOOD_RUNAWAY_SCENE_DATA_H
25#include "common/rect.h"
30 kHospitalBedroom = 2020,
31 kHospitalStoreroom = 2060,
32 kHospitalBathroom = 2080,
34 kMuseumLaboratory = 4050,
37 kMuseumExhibition = 4090,
38 kMuseumSecurity = 4100,
43 constexpr RunawayHotspot() : x(0), y(0), facing(0), action{0, 0}, approach{0, 0}, actionCursor(0), preferLook(
false) {}
44 constexpr RunawayHotspot(int16 xPos, int16 yPos,
byte direction,
const uint16 (&actions)[2],
45 const int8 (&approaches)[2],
Common::Point lookAt,
byte cursor = 0,
bool lookFirst =
false) :
46 x(xPos), y(yPos), facing(direction), action{actions[0], actions[1]},
47 approach{approaches[0], approaches[1]}, lookPosition(lookAt), actionCursor(cursor), preferLook(lookFirst) {}
58 constexpr RunawayItemAction(uint16 roomId,
byte itemId,
byte hotspotId, uint16 actionId, int8 walk = 1) :
59 room(roomId), item(itemId), hotspot(hotspotId), action(actionId), approach(walk) {}
67 uint16 room, action, cue;
72 uint16 room, action, destination;
79 uint16 number, width, height;
Definition: scene_data.h:71
Definition: scene_data.h:42
Definition: scene_data.h:57
Definition: scene_data.h:66
Definition: scene_data.h:78