better serializer tests

This commit is contained in:
2024-10-24 22:59:44 +02:00
parent 8ad5dad046
commit c0473e5a65
4 changed files with 68 additions and 22 deletions

View File

@@ -5,6 +5,8 @@
namespace td {
using FpFloat = fpm::fixed_16_16;
enum class Team : std::uint8_t {
Blue = 0,
Red,
@@ -59,8 +61,8 @@ struct TowerCoords {
};
struct EntityCoords {
fpm::fixed_16_16 x;
fpm::fixed_16_16 y;
FpFloat x;
FpFloat y;
};
using PeerID = std::uint16_t;