22#ifndef ULTIMA1_DATA_MAP_DUNGEON_H
23#define ULTIMA1_DATA_MAP_DUNGEON_H
25#include "common/serializer.h"
31constexpr int DUNGEON_WIDTH = 11;
32constexpr int DUNGEON_HEIGHT = 11;
33constexpr int DUNGEON_FLOORS = 10;
35constexpr int DUNGEON_MONSTER_SLOTS = 5;
40constexpr int16 DUNGEON_NO_MONSTER = -1;
46constexpr int UMONS_GELATINOUS_CUBE = 9;
47constexpr int UMONS_MIMIC = 11;
48constexpr int UMONS_INVISIBLE_SEEKER = 20;
52constexpr int UMONS_THIEF = 2;
53constexpr int UMONS_GREMLIN = 16;
54constexpr int UMONS_MIND_WHIPPER = 21;
57constexpr int DUNGEON_MONSTER_COUNT = 25;
58extern const char *UNDERWORLD_MONSTERS[];
63 DTILE_SECRET_DOOR = 2,
67 DTILE_LADDER_DOWN = 6,
76 DITEM_CHEST = DTILE_CHEST,
77 DITEM_COFFIN = DTILE_COFFIN
81 DungeonTileId _tileNum;
89 uint16 _randomSeed = 0;
92 bool _monsterSlotUsed[DUNGEON_MONSTER_SLOTS] = {};
102 void setRandomSeed();
109 byte getRandomNumber(
int minVal,
int maxVal);
116 void dungeonSpawnMonster();
Definition: serializer.h:80
Definition: map_dungeon.h:80
Definition: map_dungeon.h:87
void killMonster(int x, int y)
void spawnMonsterAt(int x, int y)
void generateDungeonLevel()