This commit is contained in:
2025-07-16 00:32:40 +02:00
parent d1690192db
commit aaf76a3ff0
41 changed files with 2963 additions and 599 deletions

View File

@@ -7,8 +7,9 @@ namespace td {
using FpFloat = fpm::fixed_16_16;
enum class Team : std::uint8_t {
Blue = 0,
enum class TeamColor : std::int8_t {
None = -1,
Blue,
Red,
};
@@ -67,4 +68,11 @@ struct EntityCoords {
using PeerID = std::uint16_t;
enum class Direction : std::uint8_t {
PositiveX = 1 << 0,
NegativeX = 1 << 1,
PositiveY = 1 << 2,
NegativeY = 1 << 3,
};
} // namespace td