yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_limits.h File Reference
#include <cstddef>
#include <limits>
#include <map>
#include <vector>
Include dependency graph for dungeon_limits.h:

Go to the source code of this file.

Classes

struct  yaze::zelda3::DungeonLimitInfo
 

Namespaces

namespace  yaze
 
namespace  yaze::zelda3
 Zelda 3 specific classes and functions.
 

Enumerations

enum class  yaze::zelda3::DungeonLimit {
  yaze::zelda3::kTileObjects , yaze::zelda3::kSprites , yaze::zelda3::kDoors , yaze::zelda3::kChests ,
  yaze::zelda3::kBg3Objects , yaze::zelda3::Overlords , yaze::zelda3::SpecialDoors , yaze::zelda3::StairsTransition ,
  yaze::zelda3::Blocks , yaze::zelda3::Torches , yaze::zelda3::StarTiles , yaze::zelda3::SomariaLine ,
  yaze::zelda3::StairsNorth , yaze::zelda3::StairsSouth , yaze::zelda3::GeneralManipulable
}
 

Functions

constexpr const char * yaze::zelda3::GetDungeonLimitLabel (DungeonLimit limit)
 
constexpr int yaze::zelda3::GetDungeonLimitMax (DungeonLimit limit)
 
std::map< DungeonLimit, int > yaze::zelda3::CreateLimitCounter ()
 
bool yaze::zelda3::HasExceededLimits (const std::map< DungeonLimit, int > &counts)
 
std::vector< DungeonLimitInfoyaze::zelda3::GetExceededLimits (const std::map< DungeonLimit, int > &counts)
 

Variables

constexpr size_t yaze::zelda3::kMaxActiveSprites = 16
 
constexpr size_t yaze::zelda3::kMaxTotalSprites = 64
 
constexpr size_t yaze::zelda3::kMaxChests = 6
 
constexpr size_t yaze::zelda3::kMaxDoors = 16
 
constexpr size_t yaze::zelda3::kMaxTileObjects = 400
 
constexpr size_t yaze::zelda3::kMaxBg3Objects = 128
 
constexpr int yaze::zelda3::kNoHardLimit = std::numeric_limits<int>::max()