#include "app/editor/dungeon/dungeon_proposal_overlay.h"
#include <algorithm>
#include <cmath>
#include <set>
#include <string>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "nlohmann/json.hpp"
Go to the source code of this file.
|
| absl::Status | yaze::editor::anonymous_namespace{dungeon_proposal_overlay.cc}::Invalid (const std::string &where, const std::string &what) |
| |
| absl::StatusOr< int > | yaze::editor::anonymous_namespace{dungeon_proposal_overlay.cc}::ParseRoomId (const json &value, const std::string &where, int max_room_id) |
| |
| absl::StatusOr< ProposalTile > | yaze::editor::anonymous_namespace{dungeon_proposal_overlay.cc}::ParseTile (const json &value, const std::string &where) |
| |
| std::string | yaze::editor::anonymous_namespace{dungeon_proposal_overlay.cc}::OptionalString (const json &object, const char *key) |
| |
| absl::StatusOr< ProposalShape > | yaze::editor::anonymous_namespace{dungeon_proposal_overlay.cc}::ParseShape (const json &value, const std::string &where, const std::set< int > &rooms, int max_room_id) |
| |
| absl::StatusOr< uint32_t > | yaze::editor::ParseProposalColor (std::string_view text) |
| |
| absl::StatusOr< DungeonProposalOverlay > | yaze::editor::ParseDungeonProposalOverlay (std::string_view json_text, int max_room_id) |
| |
| ProposalPixelRect | yaze::editor::ProposalTileRectToPixels (ProposalTile a, ProposalTile b) |
| |
| void | yaze::editor::ProposalTileCenter (ProposalTile tile, float *x, float *y) |
| |
| float | yaze::editor::ProposalRoomOriginX (int index, float gap_pixels) |
| |
| float | yaze::editor::ProposalDistanceToSegment (float px, float py, float ax, float ay, float bx, float by) |
| |
| bool | yaze::editor::ProposalShapeHitTest (const ProposalShape &shape, float px, float py, float tolerance) |
| |