#include <sewerlevel.h>
|
| enum | Feeling { NONE
, CHASM
, WATER
, GRASS
} |
| |
| static int | distance (int a, int b) |
| |
| static bool | adjacent (int a, int b) |
| |
| static void | set (int cell, int terrain) |
| |
| int | secretDoors |
| |
| std::vector< int > | map |
| |
| std::vector< bool > | visited |
| |
| std::vector< bool > | mapped |
| |
| int | viewDistance |
| |
| Feeling | feeling |
| |
| int | entrance |
| |
| int | exit |
| |
| HashSet< Mob * > | mobs |
| |
| HashMap< std::string, Blob * > | blobs |
| |
| HashMap< int, Heap * > | heaps |
| |
| HashMap< int, Plant * > | plants |
| |
| int | color1 |
| |
| int | color2 |
| |
| static const int | WIDTH = 32 |
| |
| static const int | HEIGHT = 32 |
| |
| static const int | LENGTH = WIDTH * HEIGHT |
| |
| static const int | NEIGHBOURS4 [] = { -Level::WIDTH, +1, +Level::WIDTH, -1 } |
| |
| static const int | NEIGHBOURS8 [] = { +1, -1, +Level::WIDTH, -Level::WIDTH, +1 + Level::WIDTH, +1 - Level::WIDTH, -1 + Level::WIDTH, -1 - Level::WIDTH } |
| |
| static const int | NEIGHBOURS9 [] = { 0, +1, -1, +Level::WIDTH, -Level::WIDTH, +1 + Level::WIDTH, +1 - Level::WIDTH, -1 + Level::WIDTH, -1 - Level::WIDTH } |
| |
| static bool | resizingNeeded |
| |
| static int | loadedMapSize |
| |
| static std::vector< bool > | fieldOfView |
| |
| static std::vector< bool > | passable |
| |
| static std::vector< bool > | losBlocking |
| |
| static std::vector< bool > | flamable |
| |
| static std::vector< bool > | secret |
| |
| static std::vector< bool > | solid |
| |
| static std::vector< bool > | avoid |
| |
| static std::vector< bool > | water |
| |
| static std::vector< bool > | pit |
| |
| static std::vector< bool > | discoverable |
| |
| std::list< Room::Type > | specials |
| |
| std::set< Room * > | rooms |
| |
| int | minRoomSize |
| |
| int | maxRoomSize |
| |
| Room * | roomEntrance |
| |
| Room * | roomExit |
| |
| static const float | TIME_TO_RESPAWN = 50 |
| |
| static bool | pitRoomNeeded = false |
| |
| static bool | weakFloorCreated = false |
| |
◆ createItems()
| void SewerLevel::createItems |
( |
| ) |
|
|
protectedvirtual |
◆ createMobs()
| void SewerLevel::createMobs |
( |
| ) |
|
|
protectedvirtual |
◆ decorate()
| void SewerLevel::decorate |
( |
| ) |
|
|
protectedvirtual |
◆ getClassName()
| virtual std::string SewerLevel::getClassName |
( |
| ) |
|
|
inlinevirtual |
◆ grass()
| std::vector< bool > SewerLevel::grass |
( |
| ) |
|
|
protectedvirtual |
◆ tilesTex()
| std::string SewerLevel::tilesTex |
( |
| ) |
|
|
virtual |
Reimplemented from Level.
◆ water()
| std::vector< bool > SewerLevel::water |
( |
| ) |
|
|
protectedvirtual |
◆ waterTex()
| std::string SewerLevel::waterTex |
( |
| ) |
|
|
virtual |
Reimplemented from Level.
The documentation for this class was generated from the following files: