yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
dungeon_validator.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_ZELDA3_DUNGEON_DUNGEON_VALIDATOR_H
2
#define YAZE_APP_ZELDA3_DUNGEON_DUNGEON_VALIDATOR_H
3
4
#include <string>
5
#include <vector>
6
7
#include "
zelda3/dungeon/dungeon_limits.h
"
8
#include "
zelda3/dungeon/room.h
"
9
10
namespace
yaze
{
11
namespace
zelda3 {
12
13
struct
ValidationResult
{
14
bool
is_valid
=
true
;
15
std::vector<std::string>
warnings
;
16
std::vector<std::string>
errors
;
17
};
18
19
class
DungeonValidator
{
20
public
:
21
ValidationResult
ValidateRoom
(
const
Room
& room);
22
};
23
24
}
// namespace zelda3
25
}
// namespace yaze
26
27
#endif
// YAZE_APP_ZELDA3_DUNGEON_DUNGEON_VALIDATOR_H
yaze::zelda3::DungeonValidator
Definition
dungeon_validator.h:19
yaze::zelda3::DungeonValidator::ValidateRoom
ValidationResult ValidateRoom(const Room &room)
Definition
dungeon_validator.cc:9
yaze::zelda3::Room
Definition
room.h:184
dungeon_limits.h
yaze
Definition
patch_export_usage.cc:8
room.h
yaze::zelda3::ValidationResult
Definition
dungeon_validator.h:13
yaze::zelda3::ValidationResult::errors
std::vector< std::string > errors
Definition
dungeon_validator.h:16
yaze::zelda3::ValidationResult::is_valid
bool is_valid
Definition
dungeon_validator.h:14
yaze::zelda3::ValidationResult::warnings
std::vector< std::string > warnings
Definition
dungeon_validator.h:15
src
zelda3
dungeon
dungeon_validator.h
Generated by
1.10.0