yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
atlas_defaults.h
Go to the documentation of this file.
1#ifndef YAZE_ZELDA3_ATLAS_ATLAS_DEFAULTS_H_
2#define YAZE_ZELDA3_ATLAS_ATLAS_DEFAULTS_H_
3
4// Built-in vanilla Atlas defaults. Style and vanilla ALTTP facts only;
5// project data (names, codes, colors of a hack) comes from annotations.
6
7#include <string>
8#include <vector>
9
11
12namespace yaze::zelda3::atlas {
13
15 int dungeon_id = 0; // Entrance dungeon ID byte (0xFF = interiors).
16 const char* code = "";
17 const char* name = "";
19};
20
21// Sewers (0x00) ... Ganon's Tower (0x1A), then interiors (0xFF).
22const std::vector<VanillaDungeonDefault>& VanillaDungeonDefaults();
23
24// Fill colors for owners and areas without an annotated color, in order.
25const std::vector<AtlasColor>& AtlasAreaPalette();
26
27inline constexpr AtlasColor kAtlasOtherColor{120, 120, 132};
28inline constexpr AtlasColor kAtlasNoOwnerColor{30, 33, 40};
29inline constexpr AtlasColor kAtlasInteriorColor{86, 90, 102};
30
31} // namespace yaze::zelda3::atlas
32
33#endif // YAZE_ZELDA3_ATLAS_ATLAS_DEFAULTS_H_
constexpr AtlasColor kAtlasNoOwnerColor
const std::vector< VanillaDungeonDefault > & VanillaDungeonDefaults()
const std::vector< AtlasColor > & AtlasAreaPalette()
constexpr AtlasColor kAtlasInteriorColor
constexpr AtlasColor kAtlasOtherColor