Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PieceCamera.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace monopoly::pieces
6{
7 // Source/monopoly/UDBoard.h::VIEWS_2D. Values are zero-based indices
8 // into TextureCatalog::twoDimensionalBoardTextureNames().
52
53 enum class BoardViewSelectionType : std::uint8_t
54 {
57 };
58
62 std::int32_t currentSquare,
63 std::int32_t variable = 1) noexcept;
64
69 std::int32_t square, std::int32_t distance) noexcept;
70}
unsigned index
BoardCameraView pickGoodCamera(std::int32_t square, std::int32_t distance) noexcept
BoardCameraView pickCameraFor3Squares(std::int32_t square) noexcept
BoardCameraView pickCameraFor5Squares(std::int32_t square) noexcept
BoardCameraView selectAppropriateView(BoardViewSelectionType type, BoardCameraView desired, std::int32_t currentSquare, std::int32_t variable) noexcept
BoardCameraView pickCameraFor15Squares(std::int32_t square) noexcept