equal
deleted
inserted
replaced
6 ClientId, RoomId, TeamInfo, GameCfg, GameCfg::*, Voting, |
6 ClientId, RoomId, TeamInfo, GameCfg, GameCfg::*, Voting, |
7 MAX_HEDGEHOGS_PER_TEAM |
7 MAX_HEDGEHOGS_PER_TEAM |
8 }, |
8 }, |
9 client::{HWClient} |
9 client::{HWClient} |
10 }; |
10 }; |
|
11 use bitflags::*; |
11 use serde::{Serialize, Deserialize}; |
12 use serde::{Serialize, Deserialize}; |
|
13 use serde_derive::{Serialize, Deserialize}; |
12 use serde_yaml; |
14 use serde_yaml; |
13 |
15 |
14 const MAX_TEAMS_IN_ROOM: u8 = 8; |
16 const MAX_TEAMS_IN_ROOM: u8 = 8; |
15 const MAX_HEDGEHOGS_IN_ROOM: u8 = |
17 const MAX_HEDGEHOGS_IN_ROOM: u8 = |
16 MAX_HEDGEHOGS_PER_TEAM * MAX_HEDGEHOGS_PER_TEAM; |
18 MAX_HEDGEHOGS_PER_TEAM * MAX_HEDGEHOGS_PER_TEAM; |