view Level/Decoration.h @ 1504:ff1867836af5

Cleanup of VectorTypes.
author yoctozepto
date Mon, 02 Sep 2013 12:46:32 +0200
parents ee5c98a437d9
children af57b3b76fe4
line wrap: on
line source

#pragma once

#include "../mm7_data.h"

enum LEVEL_DECORATION_FLAGS: uint16
{
  LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01,
  LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02,
  LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04,
  LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08,
  LEVEL_DECORATION_CHEST = 0x10,
  LEVEL_DECORATION_INVISIBLE = 0x20,
  LEVEL_DECORATION_OBELISK_CHEST = 0x40,
};

/*   74 */
#pragma pack(push, 1)
struct LevelDecoration
{
  LevelDecoration();
  int GetGlobalEvent();
  bool IsInteractive();
  bool IsObeliskChestActive();

  uint16 uDecorationDescID;
  uint16 uFlags;
  Vec3_int_ vPosition;
  int32 field_10_y_rot;
  uint16 uCog;
  int16 field_16_event_id;
  int16 field_18;
  int16 field_1A;
  int16 _idx_in_stru123;
  int16 field_1E;
};
#pragma pack(pop)