gameServer2/src/server/coretypes.rs
author nemo
Sun, 29 Apr 2018 09:24:14 -0400
changeset 13347 e7b89e87a1b3
parent 13119 1e39b8749072
child 13419 81e0ed105f5d
permissions -rw-r--r--
Airmines should have been set for 45° bounce - the only reason they weren't I guess is they were a clone of some mine values - and mines use traditional behaviour.

#[derive(PartialEq, Eq, Clone, Debug)]
pub enum ServerVar {
    MOTDNew(String),
    MOTDOld(String),
    LatestProto(u32),
}

#[derive(PartialEq, Eq, Clone, Debug)]
pub enum GameCfg {

}

#[derive(PartialEq, Eq, Clone, Debug)]
pub struct TeamInfo {
    name: String,
    color: u8,
    grave: String,
    fort: String,
    voice_pack: String,
    flag: String,
    difficulty: u8,
    hedgehogs_number: u8,
    hedgehogs: [HedgehogInfo; 8],
}

#[derive(PartialEq, Eq, Clone, Debug)]
pub struct HedgehogInfo {
    name: String,
    hat: String,
}